Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C# で記述されたWindows フォームアプリケーションのボタンの背景画像をクリアするにはどうすればよいですか? 私は何をすべきか?
多分これを試してください:
myButton.BackgroundImage = null;
これが機能するかどうかは確信が持てませんがButton.BackgroundImage = null、オンクリックリスナーの最後の行として配置してみます。
Button.BackgroundImage = null