private void ShowEditFrm()
        {
            if (dgv.CurrentRow == null)
            {
                return;
            }

            AddEditRegistrationFrm frm = new AddEditRegistrationFrm();
            frm.Parent = this.MdiParent;
            frm.EditMode = true;
            frm.RegID = (string)dgv.CurrentRow.Cells[0].Value.ToString();
            frm.ShowDialog();
            LoadRegisterToDGV(_sqlShowAll);
        }
 private void ShowAddFrm()
 {
     AddEditRegistrationFrm frm = new AddEditRegistrationFrm();
     frm.Parent = this.MdiParent;
     frm.ShowDialog();
     LoadRegisterToDGV(_sqlShowAll);
 }