「Xamarin.Mac/ボタンに画像を貼り付ける」の版間の差分

imported>Monobook
編集の要約なし
imported>Monobook
編集の要約なし
25行目: 25行目:
             // 画像を読み込む
             // 画像を読み込む
             var path = Path.Combine(NSBundle.MainBundle.BundlePath, "Contents", "Resources");
             var path = Path.Combine(NSBundle.MainBundle.BundlePath, "Contents", "Resources");
var image = new NSImage(Path.Combine(path, "button.jpg"));
            var image = new NSImage(Path.Combine(path, "button.jpg"));


             // ボタンに画像を貼り付ける
             // ボタンに画像を貼り付ける