private void dgvCountry_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int id = 0; int.TryParse(dgvCountry.CurrentRow.Cells["Id"].Value.ToString(), out id); frmCountryRequest frm = new frmCountryRequest(id); frm.Show(); }
private void btnCountryAdd_Click(object sender, EventArgs e) { frmCountryRequest frm = new frmCountryRequest(); frm.Show(); }