public ucLevyMatch(HMConnection.HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr) { this.Connection = Connection; this.DevXMgr = DevXMgr; Popup = new WS_Popups.frmPopup(DevXMgr); InitializeComponent(); RunSetups(); }
private void frmLoadWorkClasses_Load(object sender, EventArgs e) { frmMessageBox = new WS_Popups.frmPopup(dxStyle); dsWorkClass1.work_class.SelectedColumn.ReadOnly = false; dsWorkClassSelection1.work_class.SelectedColumn.ReadOnly = false; dxStyle.FormInit(this); }
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); }
public ucCommPurDocMerge(HMConnection.HMCon pConn, TUC_HMDevXManager.TUC_HMDevXManager pDevMgr, int pAlertPointID) { InitializeComponent(); hmConn = pConn; hmDevMgr = pDevMgr; AlertPointID = pAlertPointID; sqlConnTR.ConnectionString = hmConn.TRConnection; Popups = new WS_Popups.frmPopup(this.hmDevMgr); }
public frmDocHotLink(HMConnection.HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr, string RelType, int RelType_ID, int Supplier_ID) { this.Connection = Connection; this.DevXMgr = DevXMgr; _RelType_ID = RelType_ID; _RelType = RelType; _Supplier_ID = Supplier_ID; Popup = new WS_Popups.frmPopup(DevXMgr); InitializeComponent(); RunSetups(); }
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; }
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); }
// Popups #endregion private void frmSecurity_Load(object sender, System.EventArgs e) { this.webDB = this.hmConn.WebDB; this.webServer = this.hmConn.WebServer; this.LoginName = this.hmConn.MLUser; this.gvSelected = (GridView)this.gcSelected.MainView; this.sqlConnWeb.ConnectionString = this.hmConn.WebConnection; this.OriginalParent = this.gcSelected.Parent; this.Popups = new WS_Popups.frmPopup(this.HMDevXManager1); this.Popups.PopupSize = new Size(this.iMsgScreen_Width, this.iMsgScreen_Height); ActivateSecInstance(); }
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; }
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; }
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); }
public frmLevySelect(HMConnection.HMCon Connection, TUC_HMDevXManager.TUC_HMDevXManager DevXMgr, int AP_INV_HEADER_ID) { this.Connection = Connection; this.DevXMgr = DevXMgr; this.AP_INV_HEADER_ID = AP_INV_HEADER_ID; CBOUtil = new ComboSearch.Util(DevXMgr); Popup = new WS_Popups.frmPopup(DevXMgr); string sSQL = @"select supplier_id from AP_INV_HEADER a join SUPPLIER_MASTER s on s.SUPPLIER=a.SUPPLIER where a.AP_INV_HEADER_ID=" + AP_INV_HEADER_ID; object oSupplier_ID = Connection.SQLExecutor.ExecuteScalar(sSQL, Connection.TRConnection); if (oSupplier_ID == null || oSupplier_ID == DBNull.Value) { oSupplier_ID = -1; } Supplier_ID = Convert.ToInt32(oSupplier_ID); sSQL = @"select count(*) from supplier_master where isnull(one_check,'F')='T' and supplier_id=" + Supplier_ID; object oCNT = Connection.SQLExecutor.ExecuteScalar(sSQL, Connection.TRConnection); if (oCNT == null || oCNT == DBNull.Value) { oCNT = 0; } if (Convert.ToInt32(oCNT) == 1) { MiscSupplier = true; } InitializeComponent(); daLevySearch.SelectCommand.Parameters["@username"].Value = Connection.MLUser; RunSetups(); }