Ejemplo n.º 1
0
 private void SetupGridG()
 {
     gGrid = new TUC_GridG.GridG(hmConn.CompanyServer, hmConn.TRDB, gvTolerance, daPaymentTolerance, dsPaymentTolerance1);
     gGrid.AskBeforeDelete         = false;
     gGrid.AllowTabCreateNewRecord = true;
     gGrid.AllowDelete            += new TUC_GridG.GridG.AllowDeleteDelegate(gGrid_AllowDelete);
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 public frmLoadBurdens(HMConnection.HMCon pReflexCon, TUC_HMDevXManager.TUC_HMDevXManager pStyle, int piPri_ID)
 {
     InitializeComponent();
     ReflexCon = pReflexCon;
     dxStyle   = pStyle;
     iPri_ID   = piPri_ID;
     sqlConnTR.ConnectionString = ReflexCon.TRConnection;
     GGBurden             = new TUC_GridG.GridG(ReflexCon.CompanyServer, ReflexCon.TRDB, gvSelectableBurdens, daBurdenSelection, dsBurdenSelection1);
     Popups               = new WS_Popups.frmPopup(dxStyle);
     tcMain.ShowTabHeader = DevExpress.Utils.DefaultBoolean.False;
 }
Ejemplo n.º 4
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);
 }
Ejemplo n.º 5
0
        private void LoadUserControls()
        {
            fGGEqiClass = new TUC_GridG.GridG(hmConn.CompanyServer, hmConn.TRDB, gvEqiClass, daCostingEqiClass, dsCostingEqiClass1);
            fGGEqiClass.AskBeforeDelete         = false;
            fGGEqiClass.AllowTabCreateNewRecord = true;
            fGGEqiClass.AllowDelete            += new TUC_GridG.GridG.AllowDeleteDelegate(fGGEqiClass_AllowDelete);

            fGGEqiClass.AfterUpdate += FGGEqiClass_AfterUpdate;
            Popups = new WS_Popups.frmPopup(hmDevMgr);

            eqiClassRateSchedule = new FAPayRateSchedule.ucRateSchedule_EquipClass(hmConn, hmDevMgr);
            eqiClassRateSchedule.Reload_EqiClass_Schedul += EqiClassRateSchedule_Reload_EqiClass_Schedul;
            eqiClassRateSchedule.Dock   = DockStyle.Fill;
            eqiClassRateSchedule.Parent = gcRateSchedule;
        }
Ejemplo n.º 6
0
        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;
        }
Ejemplo n.º 7
0
        private void ucStakeholderType_Load(object sender, EventArgs e)
        {
            Popup = new WS_Popups.frmPopup(DevXMgr);

            try
            {
                dsPC_StakeholderType_Lookup1.Clear();
                daPC_StakeholderType_Lookup.Fill(dsPC_StakeholderType_Lookup1);
                dsAlert_PC_Stakeholder1.Clear();
                daAlert_PC_Stakeholder.Fill(dsAlert_PC_Stakeholder1);
            }
            catch (Exception ex)
            {
                Popup.ShowPopup("Error loading lookup's : " + ex.Message);
            }
            gGrid = new TUC_GridG.GridG(Connection.CompanyServer, Connection.TRDB, gvStakeholderType, daAlert_PC_Stakeholder, dsAlert_PC_Stakeholder1);
            gGrid.AskBeforeDelete         = false;
            gGrid.AllowTabCreateNewRecord = true;
            gGrid.AllowDelete            += new TUC_GridG.GridG.AllowDeleteDelegate(gGrid_AllowDelete);

            DevXMgr.FormInit(this);
        }