private void getLibraryInstance(string libName ="BATCHMAS")
 {
     if (libName.ToUpper() == "BATCHMAS")
     {
         if (libBatchMaster == null)
             libBatchMaster = new BatchMaster();
     }
     else if (libName.ToUpper() == "UTILITY")
     {
         if (uti == null)
             uti = new Utility();
     }
 }
 public frmBatchMaster()
 {
     InitializeComponent();
     uti = new Utility();
 }
 public frmEntityTypeMas()
 {
     InitializeComponent();
     _clsUtility = new Utility();
     _dtGridFields = new DataTable();
 }
 private void getLibraryInstance(string libName = "RESULT")
 {
     if (libName.ToUpper() == "RESULT")
     {
         if (libResultMas == null)
             libResultMas = new ResultMaster();
     }
     else if (libName.ToUpper() == "UTILITY")
     {
         if (uti == null)
             uti = new Utility();
     }
 }
Example #5
0
 private void getLibraryInstance(string libName = "EXAM")
 {
     if (libName.ToUpper() == "EXAM")
     {
         if (libExamMas == null)
             libExamMas = new ExamMaster();
     }
     else if (libName.ToUpper() == "UTILITY")
     {
         if (uti == null)
             uti = new Utility();
     }
 }
 private void getLibraryInstance(string libName = "ATTENDANCE")
 {
     if (libName.ToUpper() == "ATTENDANCE")
     {
         if (_libAttendanceMas == null)
             _libAttendanceMas = new AttendanceMas();
     }
     else if (libName.ToUpper() == "UTILITY")
     {
         if (uti == null)
             uti = new Utility();
     }
 }
Example #7
0
 private void getLibraryInstance(string libName)
 {
     if (libName.ToUpper() == "EMP")
     {
         if (libEmpMas == null)
             libEmpMas = new EmpMas();
     }
     else if (libName.ToUpper() == "UTILITY")
     {
         if (uti == null)
             uti = new Utility();
     }
 }
 private void getLibraryInstance(string libName)
 {
     if (libName.ToUpper() == "GRIDMAS")
     {
         if (libGridMaster == null)
             libGridMaster = new GridFields();
     }
     else if (libName.ToUpper() == "UTILITY")
     {
         if (uti == null)
             uti = new Utility();
     }
 }
 private void getLibraryInstance(string objName= "SUBJECT")
 {
     if (objName.ToUpper() == "SUBJECT")
     {
         if (_libSubjectMas == null)
             _libSubjectMas = new SubjectMas();
     }
     else if (objName.ToUpper() == "CHAPTER")
     {
         if (_libChpMas == null)
             _libChpMas = new ChapterMas();
     }
     else if (objName.ToUpper() == "UTILITY")
     {
         if (uti == null)
         {
             uti = new Utility();
         }
     }
 }
 private void getLibraryInstance(string libName = "TRN")
 {
     if (libName.ToUpper() == "TRN")
     {
         if (libTranSetting == null)
             libTranSetting = new TransactionSetting();
     }
     else if (libName.ToUpper() == "UTILITY")
     {
         if (uti == null)
             uti = new Utility();
     }
 }
 public frmStudyLevelMas()
 {
     InitializeComponent();
     uti = new Utility();
 }
 private void getLibraryInstance(string libName= "STUDY_LEVEL")
 {
     if (libName.ToUpper() == "STUDY_LEVEL")
     {
         if (_libStudyLevelMas == null)
             _libStudyLevelMas = new StudyLevelMas();
     }
     else if (libName.ToUpper() == "UTILITY")
     {
         if (uti == null)
             uti = new Utility();
     }
 }
 private void getLibraryInstance(string libName = "PAYMENT")
 {
     if (libName.ToUpper() == "PAYMENT")
     {
         if (libPaymentMas == null)
             libPaymentMas = new PaymentMas();
     }
     else if (libName.ToUpper() == "UTILITY")
     {
         if (uti == null)
             uti = new Utility();
     }
 }