bt = new Bitmap(panel1.Width, panel1.Height);
this.panel1.BackgroundImage = bt;
Graphics g = Graphics.FromImage(bt);
this.panel1.BackgroundImage = bt;
Graphics g = Graphics.FromImage(bt);
g.Clear(Color.White);
//在bt上画图
g.Clear(Color.White);
//在bt上画图