示例#1
0
 private void obrasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms["Obras"] != null)
     {
         Application.OpenForms["Obras"].Activate();
     }
     else
     {
         Obras frm = new Obras();
         frm.MdiParent = this;
         frm.Show();
     }
 }
示例#2
0
 private void obrasToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms["Obras"] != null)
     {
         Application.OpenForms["Obras"].Activate();
     }
     else
     {
         Obras frm = new Obras();
         frm.MdiParent = this;
         frm.Show();
     }
 }