teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

整理

2018/11/16 16:12

投稿

退会済みユーザー
answer CHANGED
@@ -69,12 +69,18 @@
69
69
  ![img2](3dc89d000c2fae7a64fa99d9d16e1c23.png)
70
70
 
71
71
  動かし方:
72
- 1.「ツールバーデバッグXXXXのプロパティリソースに赤い画像と青い画像をドラッグ&ドロップ
72
+ ツールバー デバッグ XXXXのプロパティ リソース に赤い画像と青い画像を
73
- 2.ソリューションエクスプロー「Resources」フォルダが追加されるので、中ある画像ファイルクリック
73
+ ッグ&ドロップ(画像保存時赤い画像img1, 青い画像にimg2と名前つける)
74
- 3.「ビルドアクション」に「コンテンツ」、「出力ディレクトリ」に「常にコピーする」を設定してコンパイル
75
- 4.マウスオーバーで赤い画像と青い画像が切り替わるはず
76
74
 
75
+ ソリューションエクスプローラーに Resources フォルダが追加されるので、中にある画像ファイルをクリック
77
76
 
77
+ ビルドアクション に コンテンツ 、 出力ディレクトリ に 常にコピーする を設定してコンパイル
78
+
79
+ マウスオーバーで赤い画像と青い画像が切り替わるはず
80
+
78
81
  参考:
79
- [Toggle button with conditional mouse over effect](https://stackoverflow.com/questions/45505982/toggle-button-with-conditional-mouse-over-effect)
80
- [how to make a image button that change the image when mouse over button WPF?](https://stackoverflow.com/questions/17657048/how-to-make-a-image-button-that-change-the-image-when-mouse-over-button-wpf)
82
+ ToggleButtonに画像を設定したときの参考
83
+ [how to make a image button that change the image when mouse over button WPF?](https://stackoverflow.com/questions/17657048/how-to-make-a-image-button-that-change-the-image-when-mouse-over-button-wpf)
84
+
85
+ マウスオーバー時に画像を切り替えたときの参考
86
+ [Toggle button with conditional mouse over effect](https://stackoverflow.com/questions/45505982/toggle-button-with-conditional-mouse-over-effect)