Example #1
0
 private void Edit()
 {
     // idAddress
     if (idAddress > 0)
     {
         frmContact frm = new frmContact();
         frm.idAddress = this.idAddress;
         OpenForm(frm);
     }
 }
Example #2
0
        private void Edit()
        {
            // idAddress
            int id = Utilities.FormOperations.GetId(dgvData);

            if (id > 0)
            {
                frmContact frm = new frmContact();
                frm.idAddress = id;
                OpenForm(frm);
            }
        }
Example #3
0
 private void OpenForm(frmContact form)
 {
     this.Hide();
     form.ShowDialog();
     this.Show();
 }