Example #1
0
 /// <summary>
 /// Function to call from 'Select Company' form, To show Login form and close Select Company form
 /// </summary>
 /// <param name="frmSelectCompanyObj"></param>
 public void CallFromSelectCompany(frmSelectCompany frmSelectCompanyObj)
 {
     try
     {
         base.Show();
         this.frmSelectCompanyObj = frmSelectCompanyObj;
         frmSelectCompanyObj.Close();
     }
     catch (Exception ex)
     {
         formMDI.infoError.ErrorString = "LOGIN3:" + ex.Message;
     }
 }
Example #2
0
 /// <summary>
 /// Function to call from 'Select Company' form, To show Login form and close Select Company form
 /// </summary>
 /// <param name="frmSelectCompanyObj"></param>
 public void CallFromSelectCompany(frmSelectCompany frmSelectCompanyObj)
 {
     try
     {
         base.Show();
         this.frmSelectCompanyObj = frmSelectCompanyObj;
         frmSelectCompanyObj.Close();
     }
     catch (Exception ex)
     {
         MessageBox.Show("LOGIN04:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 /// <summary>
 /// Function to call from 'Select Company' form, To show Login form and close Select Company form
 /// </summary>
 /// <param name="frmSelectCompanyObj"></param>
 public void CallFromSelectCompany(frmSelectCompany frmSelectCompanyObj)
 {
     try
     {
         base.Show();
         this.frmSelectCompanyObj = frmSelectCompanyObj;
         frmSelectCompanyObj.Close();
     }
     catch (Exception ex)
     {
         MessageBox.Show("LOGIN04:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }