Esempio n. 1
0
 public static AdminProductsViewer GetInstance(Employee empl)
 {
     if (State == null)
     {
         State = new AdminProductsViewer(empl);
     }
     return(State);
 }
Esempio n. 2
0
 private void ViewProducts_Click(object sender, RoutedEventArgs e)
 {
     WorkingArea.Content = AdminProductsViewer.GetInstance(employee);
 }