我用如下方法画的背景图Bitmap BP = new Bitmap(this.Width, this.Height);
Bitmap sBP = new Bitmap("bg.png");
using (Graphics G = Graphics.FromImage(BP))
{
G.DrawImage(sBP, new Rectangle(0, 0, this.Width, this.Height), new Rectangle(0, 0, sBP.Width,sBP.Height), GraphicsUnit.Pixel);
}
this.panel1.BackgroundImage = BP;如何取消panel1的背景图呢?
谢谢
Bitmap sBP = new Bitmap("bg.png");
using (Graphics G = Graphics.FromImage(BP))
{
G.DrawImage(sBP, new Rectangle(0, 0, this.Width, this.Height), new Rectangle(0, 0, sBP.Width,sBP.Height), GraphicsUnit.Pixel);
}
this.panel1.BackgroundImage = BP;如何取消panel1的背景图呢?
谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货