Esempio n. 1
0
 private void openAutojxt()
 {
     if (dlg == null) {
         dlg = new frmAutojxt();
         dlg.OnLoactionXL += new EventHandler(dlg_OnLoactionXL);
         dlg.FormClosed += new System.Windows.Forms.FormClosedEventHandler(dlg_FormClosed);
         dlg.ShowIcon = false;
         dlg.Owner = this;
         dlg.Show();
     } else {
         dlg.WindowState = System.Windows.Forms.FormWindowState.Normal;
     }
 }
Esempio n. 2
0
 void dlg_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e)
 {
     dlg = null;
 }