コード例 #1
0
 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();
     }
 }
コード例 #2
0
 public frmBatchMaster()
 {
     InitializeComponent();
     uti = new Utility();
 }
コード例 #3
0
 public frmEntityTypeMas()
 {
     InitializeComponent();
     _clsUtility = new Utility();
     _dtGridFields = new DataTable();
 }
コード例 #4
0
 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();
     }
 }
コード例 #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();
     }
 }
コード例 #6
0
 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();
     }
 }
コード例 #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();
     }
 }
コード例 #8
0
 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();
     }
 }
コード例 #9
0
 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();
         }
     }
 }
コード例 #10
0
 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();
     }
 }
コード例 #11
0
 public frmStudyLevelMas()
 {
     InitializeComponent();
     uti = new Utility();
 }
コード例 #12
0
 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();
     }
 }
コード例 #13
0
 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();
     }
 }