コード例 #1
0
 private void radMenuNS_Click(object sender, EventArgs e)
 {
     if (NS == null)
     {
         NS             = new Mante_NuevoSegmento();
         NS.MdiParent   = this;
         NS.FormClosed += delegate { NS = null; };
         NS.Show();
     }
     else
     {
         MessageBox.Show("Ya esta Abierta la Ventana!!!");
     }
 }
コード例 #2
0
ファイル: RadForm1.cs プロジェクト: npvb/CRM-TOOLS---Project
 private void radMenuNS_Click(object sender, EventArgs e)
 {
     if (NS == null)
     {
         NS = new Mante_NuevoSegmento();
         NS.MdiParent = this;
         NS.FormClosed += delegate { NS = null; };
         NS.Show();
     }
     else
     {
         MessageBox.Show("Ya esta Abierta la Ventana!!!");
     }
 }