常用方法
常用方法
常用方法
常用方法
private void sellButton_Click(object sender, EventArgs e) { try { int status = (int)StatusEnum.Sale; _stockOutManager.StockOut(status); MessageBox.Show("You sale " + addItemDataGrid.Rows.Count + " item"); _stockOutManager.ClearItemTable(quantityBox.Text); addItemDataGrid.DataSource = _stockOutManager.GetItemTable(); } catch (Exception exc) { MessageBox.Show(exc.Message); } }