打印代码如下:
 Graphics  mygraphics = panel1.CreateGraphics();
           Bitmap bit = new Bitmap(panel1.Width, panel1.Height, mygraphics);
            
            this.DrawToBitmap(bit, new Rectangle(0, 0, panel1.Width, panel1.Height));
            e.Graphics.DrawImage(bit,100, 100);
            bit.Dispose(); 为什么不能打印整个panel,而是把标题一起打印出来了呢?