public InventoryEditController(InventoryEdit screen, ProductModel product, InventoryScreen inventoryScreen)
 {
     _dbc = DatabaseController.Instance;
     this._product = product;
     this._screen = screen;
     this._inventoryScreen = inventoryScreen;
     FillWithProductInfo();
 }
 public InventoryController(InventoryScreen inventoryScreen)
 {
     this._inventoryScreen = inventoryScreen;
 }
Exemple #3
0
 //makes sure the productnaam and amount are filled in correctly in the screen
 public InventoryEdit(ProductModel product, InventoryScreen screen)
 {
     InitializeComponent();
     controller = new InventoryEditController(this, product, screen);
 }