Пример #1
0
 public AddProduct()
 {
     InitializeComponent();
     access = new DataAccess();
     totalCategories = null;
     chosenCategories = new List<ProductCategory>();
     availableCategories = new List<ProductCategory>();
     categoryComparator = new CategoryComparator();
     GetAvailableCategories();
 }
Пример #2
0
 public AddProduct()
 {
     InitializeComponent();
     access              = new DataAccess();
     totalCategories     = null;
     chosenCategories    = new List <ProductCategory>();
     availableCategories = new List <ProductCategory>();
     categoryComparator  = new CategoryComparator();
     GetAvailableCategories();
 }