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);
 }