Example #1
0
 /// <summary>
 /// Function to fill the Controls for updation
 /// </summary>
 public void FillControls()
 {
     try
     {
         RoleInfo infoRole = new RoleInfo();
         RoleSP   spRole   = new RoleSP();
         infoRole          = spRole.RoleView(decRoleId);
         txtRole.Text      = infoRole.Role;
         txtNarration.Text = infoRole.Narration;
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "RL:6" + ex.Message;
     }
 }
Example #2
0
 /// <summary>
 /// Function to fill the Controls for updation
 /// </summary>
 public void FillControls()
 {
     try
     {
         RoleInfo infoRole = new RoleInfo();
         RoleSP   spRole   = new RoleSP();
         infoRole          = spRole.RoleView(decRoleId);
         txtRole.Text      = infoRole.Role;
         txtNarration.Text = infoRole.Narration;
     }
     catch (Exception ex)
     {
         MessageBox.Show("RL:6" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
Example #3
0
 /// <summary>
 /// Function to fill the Controls for updation
 /// </summary>
 public void FillControls()
 {
     try
     {
         RoleInfo infoRole = new RoleInfo();
         RoleSP spRole = new RoleSP();
         infoRole = spRole.RoleView(decRoleId);
         txtRole.Text = infoRole.Role;
         txtNarration.Text = infoRole.Narration;
     }
     catch (Exception ex)
     {
         MessageBox.Show("RL:6" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }