Beispiel #1
0
 /// <summary>
 ///This fucntion will create a single instance of type AdvanceSerach_UC.
 /// </summary>
 /// <returns>Rerurns a user defined variable of type AdvanceSerach_UC</returns>
 public static AdvanceSerach_UC getInstance()
 {
     if (createModifyPatient_UC == null)
     {
         createModifyPatient_UC = new AdvanceSerach_UC();
     }
     return(createModifyPatient_UC);
 }
Beispiel #2
0
        public void Advanceserach_details()
        {
            try
            {
                this.Text            = IVLVariables.LangResourceManager.GetString("AdvanceSearch_linklabel_Text", IVLVariables.LangResourceCultureInfo);
                this.Width           = 450;//This has been changed from 385 to 390 since the year was not clear.
                this.Height          = 228;
                this.FormBorderStyle = FormBorderStyle.FixedSingle;
                AdvanceSerach_UC advanceUC = AdvanceSerach_UC.getInstance();
                advanceUC.Advserach_reset();
                advanceUC.Dock = DockStyle.Fill;
                this.Controls.Add(advanceUC);
            }
            catch (Exception ex)
            {
                Common.ExceptionLogWriter.WriteLog(ex, ExceptionLog);
//                ExceptionLog.Debug(IVLVariables.ExceptionLog.ConvertException2String(ex));
            }
        }