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 フォームの使用。
パネルの backgroundImage を使用して描画しています。パネルからすべての図面を削除したい。
どうすればこれを簡単に行うことができますか?
これらの両方のコードは正常に機能します。
this.myPanel.BackgroundImage = null;
また
this.myPanel.BackgroundImage = base.BackgroundImage;