public string printOrder(warehouse wh) { WarehouseControl wc = new WarehouseControl(); string status = wc.printOrder(wh); return(status); }
private void mtWerehouse_Click(object sender, EventArgs e) { WarehouseControl warehouseControl = new WarehouseControl { Dock = DockStyle.Fill }; MainContainer.Controls.Clear(); MainContainer.Controls.Add(warehouseControl); }
public MainForm() { InitializeComponent(); orderList = new ArticleList("order.csv"); inventoryList = new ArticleList("inventory.csv"); storeList = new ArticleList("store.csv"); cartList = new ArticleList("cart.csv"); //orderList.LoadXMLFile(); warehouse = new WarehouseControl(orderList, inventoryList, storeList); store = new StoreControl(storeList, cartList, inventoryList); warehouse.updateOrderListBox(); warehouse.updateInventoryGridView(); store.updateStoreGridView(); store.updateCartGridView(); }