Exemplo n.º 1
0
 private void gDI2ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (gdi2 == null)
     {
         gdi2             = new GDI2();
         gdi2.MdiParent   = this;
         gdi2.FormClosed += new FormClosedEventHandler(gdi2_Close);
         gdi2.Show();
     }
     else
     {
         gdi2.Activate();
     }
     gdi2.WindowState = FormWindowState.Maximized;
 }
Exemplo n.º 2
0
 private void gdi2_Close(object sender, FormClosedEventArgs e)
 {
     gdi2 = null;
 }