private void mnuBrowse_Click(object sender, EventArgs e)
        {
            FrmSchoolInfor ChildForm = new FrmSchoolInfor("Browse", ReturnCode);

            ChildForm.ShowDialog();
            LoadLvList(strQryMain);
        }
        private void mnuNew_Click(object sender, EventArgs e)
        {
            FrmSchoolInfor ChildForm = new FrmSchoolInfor("New", 0);

            ChildForm.ShowDialog();
            LoadLvList(strQryMain);
        }
 private void dGrid_DoubleClick(object sender, EventArgs e)
 {
     if (mnuEdit.Enabled == true)
     {
         FrmSchoolInfor ChildForm = new FrmSchoolInfor("Edit", ReturnCode);
         ChildForm.ShowDialog();
         LoadLvList(strQryMain);
     }
 }
        private void lnkSchool_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (MyModules.GetUserAccessDetails("School Information") == false)
            {
                return;
            }
            FrmSchoolInfor ChildForm = new FrmSchoolInfor("New", 0);

            ChildForm.ShowDialog();
        }