private void btnEdit_Click(object sender, EventArgs e) { CreateEditStock EditStockForm = new CreateEditStock(1, grdStock.Rows[grdStock.CurrentCell.RowIndex].Cells[0].Value.ToString()); EditStockForm.ShowDialog(); stocksGridLoad(); }
private void btnNew_Click(object sender, EventArgs e) { CreateEditStock CreateStockForm = new CreateEditStock(0); CreateStockForm.ShowDialog(); stocksGridLoad(); }