public static NewEquipment getInstance()
 {
     if (instance == null)
     {
         instance = new NewEquipment();
     }
     return(instance);
 }
 private void newEquipmentWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     instance = null;
 }
Пример #3
0
 private void newEquipmentMenuItem_Click(object sender, RoutedEventArgs e)
 {
     NewEquipment.getInstance().Show();
 }