我正在使用 Windows 8,VS 2012。我在按钮上添加了一个圆形图标:
this.btn.Image = Properties.Resources.icon;
this.btn.Size = Properties.Resources.icon.Size;
Run Code Online (Sandbox Code Playgroud)
我的表格也有背景图片:
this.BackgroundImage = Properties.Resources.sunset;
Run Code Online (Sandbox Code Playgroud)
但是我的形状很丑,我的图标按钮是方形的:中间的圆形图像和角落的灰色。
问题是如何显示表单背景而不是灰色?
感谢您的关注