Пример #1
0
        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();
        }
Пример #2
0
        private void btnCountryAdd_Click(object sender, EventArgs e)
        {
            frmCountryRequest frm = new frmCountryRequest();

            frm.Show();
        }