private void btn_edit_Click(object sender, EventArgs e) { _connection.DecrementStock(new StockRecord(_items[cmb_name.SelectedIndex].StockID, cmb_name.Text, 0, 0, int.Parse(txt_qty.Text))); this.Close(); }
private void btn_edit_Click(object sender, EventArgs e) { _connection.DecrementStock(new StockRecord(_items[cmb_name.SelectedIndex].StockID, cmb_name.Text, 0, 0, int.Parse(txt_qty.Text))); this.Close(); }