Пример #1
0
 private void Form4_Paint(object sender, PaintEventArgs e)
 {
     myBitmap = new Bitmap(pictureBox1.Width, pictureBox1.Height);
     g        = Graphics.FromImage(myBitmap);
     if (FirstSystem != null)
     {
         FirstSystem.DrawSystem(g);
     }
     pictureBox1.Image = myBitmap;
 }