예제 #1
0
 private void AddBtn_Click(object sender, EventArgs e)
 {
     ApplicationManager.addItem(ItemID.Text, ItemName.Text, Cost.Text, CompanyID.Text, DateTime.Now.ToString());
     ApplicationManager.updateStock(ItemID.Text, Quantity.Text);
     ApplicationManager.setItemPriceManagement(ItemID.Text, RetailerProfitPrice.Text, WholeSallerProfitPrice.Text);
     ApplicationManager.showStock(ApplicationManager.getDataGridViewFromInventoryStoreForm());
     ItemID.Text                 = "ItemID";
     ItemName.Text               = "ItemName";
     Cost.Text                   = "Cost";
     CompanyID.Text              = "CompanyID";
     Quantity.Text               = "Quantity";
     RetailerProfitPrice.Text    = "RetailerProfitPrice";
     WholeSallerProfitPrice.Text = "WholeSallerProfitPrice";
 }