private void LoadUserControls()
 {
     fGGWorkClass = new TUC_GridG.GridG(hmConn.CompanyServer, hmConn.TRDB, gvWorkClasses, daCostingWorkClass, dsCostingWorkClass1);
     fGGWorkClass.AskBeforeDelete         = false;
     fGGWorkClass.AllowTabCreateNewRecord = true;
     fGGWorkClass.AllowDelete            += new TUC_GridG.GridG.AllowDeleteDelegate(fGGWorkClass_AllowDelete);
     utilsWO = new WorkOrder_Utilities.woUtils(hmConn, hmDevMgr);
     Popups  = new WS_Popups.frmPopup(hmDevMgr);
 }
Exemple #2
0
 private void LoadUserControls()
 {
     fGGOvertimeLimits = new TUC_GridG.GridG(hmConn.CompanyServer, hmConn.TRDB, gvOvertimeLimits, daOvertimeLimits, dsOvertimeLimits1);
     fGGOvertimeLimits.AskBeforeDelete         = false;
     fGGOvertimeLimits.AllowTabCreateNewRecord = true;
     fGGOvertimeLimits.AllowDelete            += new TUC_GridG.GridG.AllowDeleteDelegate(fGGOvertimeLimits_AllowDelete);
     fGGBillThresholds = new TUC_GridG.GridG(hmConn.CompanyServer, hmConn.TRDB, gvBillingThreshold, daBillThresh, dsBillThresh1);
     fGGBillThresholds.AskBeforeDelete         = false;
     fGGBillThresholds.AllowTabCreateNewRecord = true;
     fGGBillThresholds.AllowDelete            += new TUC_GridG.GridG.AllowDeleteDelegate(fGGBillThresholds_AllowDelete);
     utilsWO = new WorkOrder_Utilities.woUtils(hmConn, hmDevMgr);
     Popups  = new WS_Popups.frmPopup(hmDevMgr);
 }
        private void LoadUserControls()
        {
            fGGBurdens = new TUC_GridG.GridG(hmConn.CompanyServer, hmConn.TRDB, gvBurden, daCostingBurden, dsCostingBurden1);
            fGGBurdens.AskBeforeDelete         = false;
            fGGBurdens.AllowTabCreateNewRecord = true;
            fGGBurdens.AllowDelete            += new TUC_GridG.GridG.AllowDeleteDelegate(fGGBurdens_AllowDelete);

            utilsWO       = new WorkOrder_Utilities.woUtils(hmConn, hmDevMgr);
            Popups        = new WS_Popups.frmPopup(hmDevMgr);
            GL_Repository = new GL_Account_Lookup_Rep.Repository_GL_Lookup();
            GL_Repository.OpeningBalance  = false;
            GL_Repository.HideVailidation = true;
            GL_Repository.HideSubCode     = true;
            GL_Repository.HMConnection    = this.hmConn;
            GL_Repository.DevXMgr         = this.hmDevMgr;
            colgl_account.ColumnEdit      = this.GL_Repository;
        }