private void dgwList2_CellContentClick(object sender, DataGridViewCellEventArgs e) { Guid selectedValue = Guid.Parse(dgwList2[0, e.RowIndex].Value.ToString()); CargoUpdate f = new CargoUpdate(); f.RECID = selectedValue; f.ShowDialog(); }
private void btnAddNew_Click(object sender, EventArgs e) { CargoUpdate f = new CargoUpdate(); f.ShowDialog(); }