Esempio n. 1
0
 private void splitContainer2_Panel1_Paint(object sender, PaintEventArgs e)
 {
     if (GraphTop != null)
     {
         GraphTop.Plot(e.Graphics);
     }
 }
Esempio n. 2
0
 private void splitContainer2_Panel2_Paint(object sender, PaintEventArgs e)
 {
     if (digitiserModeToolStripMenuItem.Checked)
     {
         if (BmpToDigitise != null)
         {
             e.Graphics.DrawImage(BmpToDigitise, 0, 0, splitContainer2.Panel2.Width, splitContainer2.Panel2.Height);
         }
     }
     else
     {
         if (GraphBot != null)
         {
             GraphBot.Plot(e.Graphics);
         }
     }
 }