Пример #1
0
 private void radMenuIS_Click(object sender, EventArgs e)
 {
     if (IS == null)
     {
         IS             = new frmImportSellout();
         IS.MdiParent   = this;
         IS.FormClosed += delegate { IS = null; };
         IS.Show();
     }
     else
     {
         MessageBox.Show("Ya esta Abierta la Ventana!!!");
     }
 }
Пример #2
0
        private void radMenuIS_Click(object sender, EventArgs e)
        {
            if(IS==null){
            IS = new frmImportSellout();
            IS.MdiParent = this;
            IS.FormClosed += delegate { IS = null; };
            IS.Show();

            }
            else
            {

                MessageBox.Show("Ya esta Abierta la Ventana!!!");
            }
        }