Пример #1
0
 public static AddProduct GetInstance(Employee employee)
 {
     if (State == null)
     {
         State = new AddProduct(employee);
     }
     return(State);
 }
Пример #2
0
 private void AddProd_Click(object sender, RoutedEventArgs e)
 {
     ProductsObserverWorkSpace.Content = AddProduct.GetInstance(employee);
 }