private void cmdSchool_Click(object sender, EventArgs e)
 {
     using (var form = new FrmList("ActiveSchoolList", "List of All Active School"))
     {
         var result = form.ShowDialog();
         if (result == DialogResult.OK)
         {
             tSchoolID.Text = form.ReturnValue.ToString();
             tSchName.Text  = form.ReturnValue1.ToString();
         }
     }
 }
Beispiel #2
0
 private void mnuBrowse_Click(object sender, EventArgs e)
 {
     Action = AppAction.Browse;
     InitialiseAction();
     using (var form = new FrmList("SystemUser", "List of System Users"))
     {
         var result = form.ShowDialog();
         if (result == DialogResult.OK)
         {
             LoadModules(form.ReturnValue.ToString());
         }
     }
 }