Beispiel #1
0
 public static AddWorker GetAddWorker()
 {
     if (add_worker == null)
     {
         add_worker = new AddWorker();
     }
     add_worker.Activate();
     return(add_worker);
 }
Beispiel #2
0
 //Працівники
 private void AddWorker_Click(object sender, RoutedEventArgs e)
 {
     add_worker = AddWorker.GetAddWorker();
     add_worker.Show();
 }
Beispiel #3
0
 private void Window_Closed(object sender, EventArgs e)
 {
     add_worker = null;
 }