Esempio n. 1
0
 public void NormalExecute()
 {
     if (MultipleInstanceAllow == false && w != null)
     {
         MessageBox.Show("Multiple instance not allowed.");
         return;
     }
     w = new wMain(AppObjects);
     w.Owner = AppObjects.wMain;
     w.Closed += new EventHandler(w_Closed);
    // w.Topmost = true;            
     w.Show();
  //   w.Activate();
     
     //var test=AppObjects.AppGrid.FindName("dkp");
     //MessageBox.Show(test.ToString());
 }
Esempio n. 2
0
 private void w_Closed(object sender, EventArgs e)
 {
     w = null;
 }