private void dgvUplate_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { var uplataId = int.Parse(dgvUplate.SelectedRows[0].Cells[0].Value.ToString()); frmUplateDetails frm = new frmUplateDetails(uplataId); frm.Show(); }
private void btnAdd_Click(object sender, EventArgs e) { frmUplateDetails frm = new frmUplateDetails(); frm.Show(); }