public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.txtMessage = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtMessage.Name = "txtMessage"; this.txtMessage.TabIndex = 0; this.OKButton = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // OKButton // this.OKButton.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.OKButton.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.OKButton.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.OKButton.Name = "OKButton"; this.OKButton.TabIndex = 2; this.OKButton.Text = "Submit"; this.CancelButton_Renamed = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // CancelButton_Renamed // this.CancelButton_Renamed.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.CancelButton_Renamed.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.CancelButton_Renamed.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.CancelButton_Renamed.Name = "CancelButton_Renamed"; this.CancelButton_Renamed.TabIndex = 1; this.CancelButton_Renamed.Text = "Cancel"; this.Text = "Tacoma Fire Department Affirmation"; this.Name = "PTSProject.dlgMessage"; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.txtNote = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtNote.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtNote.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtNote.Name = "txtNote"; this.txtNote.TabIndex = 0; this.lbLocked = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbLocked // this.lbLocked.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbLocked.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbLocked.ForeColor = UpgradeHelpers.Helpers.Color.Red; this.lbLocked.Name = "lbLocked"; this.lbLocked.TabIndex = 4; this.lbLocked.Text = "Schedule Locked"; this.lbLocked.Visible = false; this.lbTitle = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbTitle // this.lbTitle.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbTitle.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.lbTitle.Name = "lbTitle"; this.lbTitle.TabIndex = 2; this.lbTitle.Text = "Notes for 12/31/97"; this.Shape1 = ctx.Resolve <VB6Helpers.ViewModels.ShapeHelperViewModel>(); this.Shape1.Enabled = false; this.Shape1.Name = "Shape1"; this.Shape1.Visible = true; this.cmdCancel = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdCancel // this.cmdCancel.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdCancel.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7.8f, UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdCancel.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.TabIndex = 3; this.cmdCancel.Text = "&Cancel"; this.cmdOK = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdOK // this.cmdOK.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdOK.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7.8f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdOK.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdOK.Name = "cmdOK"; this.cmdOK.TabIndex = 1; this.cmdOK.Text = "&OK"; this.Text = "Battalion 182 Notes"; this.NoteID = 0; this.Name = "PTSProject.frmNote2"; IsMdiChild = true; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.mnuExit = ctx.Resolve <UpgradeHelpers.BasicViewModels.ToolStripMenuItemViewModel>(); // // mnuExit // this.mnuExit.Available = true; this.mnuExit.Enabled = true; this.mnuExit.Text = "E&xit"; this.mnuFile = ctx.Resolve <UpgradeHelpers.BasicViewModels.ToolStripMenuItemViewModel>(); // // mnuFile // this.mnuFile.Available = true; this.mnuFile.Enabled = true; this.mnuFile.Text = "&File"; this.Picture1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.PictureBoxViewModel>(); // // Picture1 // this.Picture1.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.Picture1.Enabled = true; this.Picture1.Name = "Picture1"; this.Picture1.Visible = true; this.Text = "TFD - Incident Reporting System"; this.Name = "TFDIncident.MDIIncident"; IsMdiParent = true; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.cboSpecificCodes = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboSpecificCodes // this.cboSpecificCodes.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboSpecificCodes.Enabled = true; this.cboSpecificCodes.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cboSpecificCodes.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboSpecificCodes.Name = "cboSpecificCodes"; this.cboSpecificCodes.TabIndex = 4; this.cboSpecificCodes.Text = "cboSpecificCodes"; this.cboSpecificCodes.Visible = true; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers .FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label1.Name = "Label1"; this.Label1.TabIndex = 2; this.Label1.Text = "Search for..."; this.cmdExpand = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdExpand // this.cmdExpand.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdExpand.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdExpand.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdExpand.Name = "cmdExpand"; this.cmdExpand.TabIndex = 3; this.cmdExpand.Tag = "1"; this.cmdExpand.Text = "Expand All"; this.cmdExit = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdExit // this.cmdExit.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdExit.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdExit.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdExit.Name = "cmdExit"; this.cmdExit.TabIndex = 0; this.cmdExit.Text = "Exit"; this.Text = "New Training Codes"; this.tvwTraining = ctx.Resolve <UpgradeHelpers.BasicViewModels.TreeViewViewModel>(); this.tvwTraining.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.tvwTraining.LabelEdit = true; this.tvwTraining.Name = "tvwTraining"; this.tvwTraining.TabIndex = 1; this.Name = "PTSProject.dlgTrainingCodes"; IsMdiChild = true; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.txtEdit = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtEdit.BackColor = UpgradeHelpers.Helpers.Color.White; this.txtEdit.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtEdit.Name = "txtEdit"; this.txtEdit.TabIndex = 0; this.txtNote = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtNote.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.txtNote.Enabled = false; this.txtNote.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtNote.Name = "txtNote"; this.txtNote.TabIndex = 3; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.Red; this.Label1.Name = "Label1"; this.Label1.TabIndex = 4; this.Label1.Text = "Add a new Individual Schedule Note:"; this.cmdOK = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdOK // this.cmdOK.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdOK.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdOK.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdOK.Name = "cmdOK"; this.cmdOK.TabIndex = 1; this.cmdOK.Text = "&OK"; this.cmdCancel = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdCancel // this.cmdCancel.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdCancel.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdCancel.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.TabIndex = 2; this.cmdCancel.Text = "&Cancel"; this.Text = "Schedule Note"; this.Name = "PTSProject.frmIndivSchedNote"; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.txtHelpText = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtHelpText.Name = "txtHelpText"; this.txtHelpText.TabIndex = 1; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 10.2f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Italic | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(64, 0, 0); this.Label1.Name = "Label1"; this.Label1.TabIndex = 5; this.Label1.Text = "Select Help Topic to View"; this.lbHelpTitle = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbHelpTitle // this.lbHelpTitle.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbHelpTitle.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 12f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbHelpTitle.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(192, 192, 0); this.lbHelpTitle.Name = "lbHelpTitle"; this.lbHelpTitle.TabIndex = 0; this.lbHelpTitle.Text = "lbHelpTitle"; this.tvHelpList = ctx.Resolve <UpgradeHelpers.BasicViewModels.TreeViewViewModel>(); this.tvHelpList.LabelEdit = true; this.tvHelpList.Name = "tvHelpList"; this.tvHelpList.TabIndex = 4; this.cmdCode = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); this.cmdCode.Name = "cmdCode"; this.cmdCode.TabIndex = 2; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 3; this.Text = "IRS Help System"; this.CurrentHelpID = 0; this.mNode = null; this.Name = "TFDIncident.frmHelp"; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 1; this.cmdClose.Text = "Close"; this.cmdRefresh = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdRefresh // this.cmdRefresh.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdRefresh.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdRefresh.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdRefresh.Name = "cmdRefresh"; this.cmdRefresh.TabIndex = 0; this.cmdRefresh.Text = "Refresh"; this.calYear = ctx.Resolve <UpgradeHelpers.BasicViewModels.MonthCalendarViewModel>(); // // calYear // this.calYear.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 6.75f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.calYear.Name = "calYear"; this.calYear.TabIndex = 2; this.calYear.Width = 809; this.Text = "Dispatch Vacation Scheduler"; this.CalendarLoading = false; this.MINWorking = 0; this.FirstTime = false; this.Name = "PTSProject.frmFCCVacationScheduler"; IsMdiChild = true; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 10.2f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label1.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.Label1.Name = "Label1"; this.Label1.TabIndex = 2; this.Label1.Text = "Please explain reasons for patient referral"; this.CancelButton_Renamed = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // CancelButton_Renamed // this.CancelButton_Renamed.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.CancelButton_Renamed.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.CancelButton_Renamed.Name = "CancelButton_Renamed"; this.CancelButton_Renamed.TabIndex = 3; this.CancelButton_Renamed.Text = "Cancel"; this.OKButton = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // OKButton // this.OKButton.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.OKButton.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.OKButton.Name = "OKButton"; this.OKButton.TabIndex = 1; this.OKButton.Text = "OK"; this.Text = "FDCares Referral"; this.txtReferComment = ctx.Resolve <Stubs._System.Windows.Forms.RichTextBox>(); this.txtReferComment.Enabled = true; this.txtReferComment.Name = "txtReferComment"; this.txtReferComment.TabIndex = 0; this.Name = "TFDIncident.dlgFDCares"; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.sprQuery = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprQuery.MaxRows = 1011; this.sprQuery.Protect = false; this.sprQuery.TabIndex = 2; this.sprQuery_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); // // sprQuery_Sheet1 // this.sprQuery_Sheet1.SheetName = "Sheet1"; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 10.2f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 1; this.cmdClose.Text = "&Close"; this.cmdPrint = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrint // this.cmdPrint.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrint.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 10.2f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdPrint.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.TabIndex = 0; this.cmdPrint.Text = "&Print"; this.Text = "TFD Incident Reporting System - Query Results"; this.PrintOry = UpgradeStubs.FPSpread_PrintOrientationConstants.getPrintOrientationDefault(); this.Name = "TFDIncident.frmQueryResults"; IsMdiChild = true; this.sprQuery.Sheets.Add(sprQuery_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var textCellType2 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.cboGroup = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboGroup // this.cboGroup.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboGroup.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboGroup.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboGroup.Name = "cboGroup"; this.cboGroup.TabIndex = 2; this.cboGroup.Text = "cboGroup"; this.lbCount = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbCount // this.lbCount.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbCount.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbCount.ForeColor = UpgradeHelpers.Helpers.Color.Lime; this.lbCount.Name = "lbCount"; this.lbCount.TabIndex = 5; this.lbCount.Text = "List Count: "; this.sprReport = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprReport.TabIndex = 6; this.sprReport.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.sprReport_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprReport_Sheet1.SheetName = "Sheet1"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 0].Value = "Rank"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 1].Value = "Emp Number"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 2].Value = "Name"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 3].Value = "Batt"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 4].Value = "Unit"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 5].Value = "Shift"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 6].Value = "Position"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 7].Value = "Group"; this.sprReport_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F; this.sprReport_Sheet1.Columns.Get(0).Label = "Rank"; //this.sprReport_Sheet1.Columns.Get(0).SortIndicator = FarPoint.ViewModels.SortIndicator.Descending; this.sprReport_Sheet1.Columns.Get(0).Width = 65F; this.sprReport_Sheet1.Columns.Get(1).Label = "Emp Number"; this.sprReport_Sheet1.Columns.Get(1).Width = 79F; this.sprReport_Sheet1.Columns.Get(2).Label = "Name"; this.sprReport_Sheet1.Columns.Get(2).Width = 174F; this.sprReport_Sheet1.Columns.Get(4).Label = "Unit"; this.sprReport_Sheet1.Columns.Get(4).Width = 45F; this.sprReport_Sheet1.Columns.Get(5).Label = "Shift"; this.sprReport_Sheet1.Columns.Get(5).Width = 47F; this.sprReport_Sheet1.Columns.Get(6).Label = "Position"; this.sprReport_Sheet1.Columns.Get(6).Width = 73F; this.sprReport_Sheet1.Columns.Get(7).Label = "Group"; this.sprReport_Sheet1.Columns.Get(7).Width = 54F; this.sprReport_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.cmdPrint = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrint // this.cmdPrint.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrint.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.TabIndex = 4; this.cmdPrint.Text = "Print List"; this.cmdExit = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdExit // this.cmdExit.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdExit.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdExit.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdExit.Name = "cmdExit"; this.cmdExit.TabIndex = 3; this.cmdExit.Text = "Exit"; this.chkSelectAll = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); // // chkSelectAll // this.chkSelectAll.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.chkSelectAll.CheckState = UpgradeHelpers.Helpers.CheckState.Checked; this.chkSelectAll.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.chkSelectAll.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.chkSelectAll.Name = "chkSelectAll"; this.chkSelectAll.TabIndex = 1; this.chkSelectAll.Text = " Or Select All (Clear Group Filter"; this.Text = "Ranked Operation Staff List"; this.CurrRow = 0; this.sGroup = ""; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color50636234762952601571", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text291636234762952621101", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1140636234762952679691"); namedStyle3.CellType = textCellType2; namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.Renderer = textCellType2; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; this.Name = "PTSProject.frmRankedOperationStaff"; IsMdiChild = true; this.sprReport.NamedStyles.Add(namedStyle1); this.sprReport.NamedStyles.Add(namedStyle2); this.sprReport.NamedStyles.Add(namedStyle3); this.sprReport.Sheets.Add(this.sprReport_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.cboResource = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboResource // this.cboResource.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboResource.Enabled = true; this.cboResource.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cboResource.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboResource.Name = "cboResource"; this.cboResource.TabIndex = 1; this.cboResource.Text = "cboResource"; this.cboResource.Visible = true; this.txtComment = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtComment.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtComment.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.txtComment.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtComment.Name = "txtComment"; this.txtComment.TabIndex = 5; this.txtComment.Visible = false; this.txtPhone = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtPhone.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtPhone.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.txtPhone.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtPhone.Name = "txtPhone"; this.txtPhone.TabIndex = 4; this.txtPhone.Visible = false; this.cboType = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboType // this.cboType.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboType.Enabled = true; this.cboType.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cboType.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboType.Name = "cboType"; this.cboType.TabIndex = 3; this.cboType.Text = "cboType"; this.cboType.Visible = false; this.lstPhone = ctx.Resolve <UpgradeHelpers.BasicViewModels.ListBoxViewModel>(); // // lstPhone // this.lstPhone.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.lstPhone.Enabled = true; this.lstPhone.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.lstPhone.Name = "lstPhone"; this.lstPhone.TabIndex = 2; this.lstPhone.Visible = true; this.lstPhone.SelectionMode = UpgradeHelpers.BasicViewModels.SelectionMode.Single; this.cboEmpList = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboEmpList // this.cboEmpList.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboEmpList.Enabled = true; this.cboEmpList.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cboEmpList.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboEmpList.Name = "cboEmpList"; this.cboEmpList.TabIndex = 0; this.cboEmpList.Text = "cboEmpList"; this.cboEmpList.Visible = true; this.lbResID = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbResID // this.lbResID.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.lbResID.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.lbResID.Name = "lbResID"; this.lbResID.TabIndex = 17; this.lbResID.Visible = false; this.lbOr = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbOr // this.lbOr.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbOr.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers .FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbOr.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.lbOr.Name = "lbOr"; this.lbOr.TabIndex = 16; this.lbOr.Text = "OR"; this.lbResource = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbResource // this.lbResource.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbResource.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbResource.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.lbResource.Name = "lbResource"; this.lbResource.TabIndex = 15; this.lbResource.Text = "Select Resource"; this.lbComment = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbComment // this.lbComment.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbComment.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbComment.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.lbComment.Name = "lbComment"; this.lbComment.TabIndex = 14; this.lbComment.Text = "Comment"; this.lbComment.Visible = false; this.lbNumber = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbNumber // this.lbNumber.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbNumber.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbNumber.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.lbNumber.Name = "lbNumber"; this.lbNumber.TabIndex = 13; this.lbNumber.Text = "Phone Number"; this.lbNumber.Visible = false; this.lbType = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbType // this.lbType.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbType.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers .FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbType.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.lbType.Name = "lbType"; this.lbType.TabIndex = 12; this.lbType.Text = "Phone Type"; this.lbType.Visible = false; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers .FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label1.Name = "Label1"; this.Label1.TabIndex = 11; this.Label1.Text = "Select Number to Edit"; this.lbEmpID = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbEmpID // this.lbEmpID.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.lbEmpID.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.lbEmpID.Name = "lbEmpID"; this.lbEmpID.TabIndex = 10; this.lbEmpID.Visible = false; this.Label2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label2 // this.Label2.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers .FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label2.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label2.Name = "Label2"; this.Label2.TabIndex = 18; this.Label2.Text = "Select Employee"; this.chkCallBack = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); this.chkCallBack.BackColor = UpgradeHelpers.Helpers.Color.Navy; this.chkCallBack.CheckState = UpgradeHelpers.Helpers.CheckState.Unchecked; this.chkCallBack.Enabled = true; this.chkCallBack.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.chkCallBack.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 192, 128); this.chkCallBack.Name = "chkCallBack"; this.chkCallBack.TabIndex = 19; this.chkCallBack.Text = "Use for Callback"; this.chkCallBack.Visible = false; this.cmdAdd = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdAdd // this.cmdAdd.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdAdd.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 9.6f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdAdd.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdAdd.Name = "cmdAdd"; this.cmdAdd.TabIndex = 6; this.cmdAdd.Tag = "Display"; this.cmdAdd.Text = "&Add New Number"; this.cmdDelete = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdDelete // this.cmdDelete.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdDelete.Enabled = false; this.cmdDelete.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 9.6f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdDelete.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdDelete.Name = "cmdDelete"; this.cmdDelete.TabIndex = 8; this.cmdDelete.Text = "&Delete"; this.cmdUpdate = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdUpdate // this.cmdUpdate.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdUpdate.Enabled = false; this.cmdUpdate.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 9.6f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdUpdate.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdUpdate.Name = "cmdUpdate"; this.cmdUpdate.TabIndex = 7; this.cmdUpdate.Text = "&Update"; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 9.6f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 9; this.cmdClose.Text = "&Close"; this.Text = "Phone Numbers - Entry/Update"; this.CallBackFlag = ""; this.CurrNumber = 0; this.Name = "PTSProject.frmPhone"; IsMdiChild = true; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var textCellType2 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle4; FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this._optList_1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this._optList_0 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this.cboFFacility = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboFFacility // this.cboFFacility.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboFFacility.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboFFacility.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboFFacility.Name = "cboFFacility"; this.cboFFacility.TabIndex = 10; this.cboFFacility.Text = "cboFFacility"; this.cboFType = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboFType // this.cboFType.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboFType.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboFType.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboFType.Name = "cboFType"; this.cboFType.TabIndex = 9; this.cboFType.Text = "cboFType"; this.sprResource = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprResource.TabIndex = 7; this.sprResource.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.lbFacilityCount = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbFacilityCount // this.lbFacilityCount.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbFacilityCount.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbFacilityCount.ForeColor = UpgradeHelpers.Helpers.Color.Lime; this.lbFacilityCount.Name = "lbFacilityCount"; this.lbFacilityCount.TabIndex = 25; this.lbFacilityCount.Text = "Total Rows"; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.Label1.Name = "Label1"; this.Label1.TabIndex = 12; this.Label1.Text = "Facility \\ Resource"; this.Label2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label2 // this.Label2.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label2.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.Label2.Name = "Label2"; this.Label2.TabIndex = 11; this.Label2.Text = "Phone Type"; this.cboGroup = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboGroup // this.cboGroup.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboGroup.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboGroup.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboGroup.Name = "cboGroup"; this.cboGroup.TabIndex = 22; this.cboGroup.Text = "cboGroup"; this.cboEFacility = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboEFacility // this.cboEFacility.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboEFacility.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboEFacility.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboEFacility.Name = "cboEFacility"; this.cboEFacility.TabIndex = 20; this.cboEFacility.Text = "cboEFacility"; this.cboUnit = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboUnit // this.cboUnit.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboUnit.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboUnit.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboUnit.Name = "cboUnit"; this.cboUnit.TabIndex = 18; this.cboUnit.Text = "cboUnit"; this.cboAssignType = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboAssignType // this.cboAssignType.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboAssignType.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboAssignType.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboAssignType.Name = "cboAssignType"; this.cboAssignType.TabIndex = 15; this.cboAssignType.Text = "cboAssignType"; this.cboEType = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboEType // this.cboEType.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboEType.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboEType.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboEType.Name = "cboEType"; this.cboEType.TabIndex = 14; this.cboEType.Text = "cboEType"; this.sprEmployeeList = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprEmployeeList.TabIndex = 1; this.sprEmployeeList.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.lbEmployeeCount = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbEmployeeCount // this.lbEmployeeCount.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbEmployeeCount.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbEmployeeCount.ForeColor = UpgradeHelpers.Helpers.Color.Lime; this.lbEmployeeCount.Name = "lbEmployeeCount"; this.lbEmployeeCount.TabIndex = 26; this.lbEmployeeCount.Text = "Total Rows"; this.Label7 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label7 // this.Label7.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label7.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label7.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.Label7.Name = "Label7"; this.Label7.TabIndex = 23; this.Label7.Text = "Group"; this.Label6 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label6 // this.Label6.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label6.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label6.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.Label6.Name = "Label6"; this.Label6.TabIndex = 21; this.Label6.Text = "Facility "; this.Label5 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label5 // this.Label5.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label5.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.Label5.Name = "Label5"; this.Label5.TabIndex = 19; this.Label5.Text = "Unit"; this.Label4 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label4 // this.Label4.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label4.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.Label4.Name = "Label4"; this.Label4.TabIndex = 17; this.Label4.Text = "Assign Type"; this.Label3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label3 // this.Label3.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label3.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.Label3.Name = "Label3"; this.Label3.TabIndex = 16; this.Label3.Text = "Phone Type"; this.sprEmployeeList_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprEmployeeList_Sheet1.SheetName = "Sheet1"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 0].Value = "Name"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 1].Value = "Facility"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 2].Value = "Unit"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 3].Value = "Position"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 4].Value = "Shift"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 5].Value = "Assign Type"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 6].Value = "Group Type"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 7].Value = "Phone Type"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 8].Value = "Phone Number"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 9].Value = "Comments"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 10].Value = "Call Back # ?"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 11].Value = "PhoneID"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 12].Value = "PerSysID"; this.sprEmployeeList_Sheet1.ColumnHeader.Rows.Get(0).Height = 41F; this.sprEmployeeList_Sheet1.Columns.Get(0).Label = "Name"; this.sprEmployeeList_Sheet1.Columns.Get(0).Width = 165F; this.sprEmployeeList_Sheet1.Columns.Get(1).Label = "Facility"; this.sprEmployeeList_Sheet1.Columns.Get(1).Width = 83F; this.sprEmployeeList_Sheet1.Columns.Get(2).Label = "Unit"; this.sprEmployeeList_Sheet1.Columns.Get(2).Width = 46F; this.sprEmployeeList_Sheet1.Columns.Get(3).Label = "Position"; this.sprEmployeeList_Sheet1.Columns.Get(3).Width = 66F; this.sprEmployeeList_Sheet1.Columns.Get(4).Label = "Shift"; this.sprEmployeeList_Sheet1.Columns.Get(4).Width = 40F; this.sprEmployeeList_Sheet1.Columns.Get(5).Label = "Assign Type"; //this.sprEmployeeList_Sheet1.Columns.Get(5).SortIndicator = FarPoint.ViewModels.SortIndicator.Ascending; this.sprEmployeeList_Sheet1.Columns.Get(5).Width = 77F; this.sprEmployeeList_Sheet1.Columns.Get(6).Label = "Group Type"; this.sprEmployeeList_Sheet1.Columns.Get(6).Width = 62F; this.sprEmployeeList_Sheet1.Columns.Get(7).Label = "Phone Type"; this.sprEmployeeList_Sheet1.Columns.Get(7).Width = 73F; this.sprEmployeeList_Sheet1.Columns.Get(8).Label = "Phone Number"; this.sprEmployeeList_Sheet1.Columns.Get(8).Width = 98F; this.sprEmployeeList_Sheet1.Columns.Get(9).Label = "Comments"; this.sprEmployeeList_Sheet1.Columns.Get(9).Width = 111F; this.sprEmployeeList_Sheet1.Columns.Get(10).Label = "Call Back # ?"; this.sprEmployeeList_Sheet1.Columns.Get(11).Label = "PhoneID"; this.sprEmployeeList_Sheet1.Columns.Get(11).Visible = false; this.sprEmployeeList_Sheet1.Columns.Get(11).Width = 0F; this.sprEmployeeList_Sheet1.Columns.Get(12).Label = "PerSysID"; this.sprEmployeeList_Sheet1.Columns.Get(12).Visible = false; this.sprEmployeeList_Sheet1.Columns.Get(12).Width = 0F; this.sprEmployeeList_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.sprResource_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprResource_Sheet1.SheetName = "Sheet1"; this.sprResource_Sheet1.ColumnHeader.Cells[0, 0].Value = "Facility \\ Resource Name"; this.sprResource_Sheet1.ColumnHeader.Cells[0, 1].Value = "Phone Type"; this.sprResource_Sheet1.ColumnHeader.Cells[0, 2].Value = "Phone Number"; this.sprResource_Sheet1.ColumnHeader.Cells[0, 3].Value = "Comments"; this.sprResource_Sheet1.ColumnHeader.Cells[0, 4].Value = "PhoneID"; this.sprResource_Sheet1.ColumnHeader.Cells[0, 5].Value = "FacilityID"; this.sprResource_Sheet1.ColumnHeader.Rows.Get(0).Height = 31F; this.sprResource_Sheet1.Columns.Get(0).Label = "Facility \\ Resource Name"; this.sprResource_Sheet1.Columns.Get(0).Width = 181F; this.sprResource_Sheet1.Columns.Get(1).Label = "Phone Type"; this.sprResource_Sheet1.Columns.Get(1).Width = 109F; this.sprResource_Sheet1.Columns.Get(2).Label = "Phone Number"; this.sprResource_Sheet1.Columns.Get(2).Width = 114F; this.sprResource_Sheet1.Columns.Get(3).Label = "Comments"; this.sprResource_Sheet1.Columns.Get(3).Width = 169F; this.sprResource_Sheet1.Columns.Get(4).Label = "PhoneID"; this.sprResource_Sheet1.Columns.Get(4).Visible = false; this.sprResource_Sheet1.Columns.Get(4).Width = 0F; this.sprResource_Sheet1.Columns.Get(5).Label = "FacilityID"; this.sprResource_Sheet1.Columns.Get(5).Visible = false; this.sprResource_Sheet1.Columns.Get(5).Width = 0F; this.sprResource_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 4; this.cmdClose.Text = "Close"; this.cmdPrintFacility = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrintFacility // this.cmdPrintFacility.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrintFacility.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrintFacility.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrintFacility.Name = "cmdPrintFacility"; this.cmdPrintFacility.TabIndex = 28; this.cmdPrintFacility.Text = "Print List"; this.cmdClearFacility = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClearFacility // this.cmdClearFacility.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClearFacility.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClearFacility.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClearFacility.Name = "cmdClearFacility"; this.cmdClearFacility.TabIndex = 8; this.cmdClearFacility.Text = "Clear Filters"; this.cmdPrintEmployee = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrintEmployee // this.cmdPrintEmployee.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrintEmployee.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrintEmployee.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrintEmployee.Name = "cmdPrintEmployee"; this.cmdPrintEmployee.TabIndex = 27; this.cmdPrintEmployee.Text = "Print List"; this.chkCBOnly = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); // // chkCBOnly // this.chkCBOnly.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.chkCBOnly.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.chkCBOnly.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.chkCBOnly.Name = "chkCBOnly"; this.chkCBOnly.TabIndex = 24; this.chkCBOnly.Text = "Call Back Only"; this.cmdClearEmployee = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClearEmployee // this.cmdClearEmployee.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClearEmployee.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClearEmployee.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClearEmployee.Name = "cmdClearEmployee"; this.cmdClearEmployee.TabIndex = 13; this.cmdClearEmployee.Text = "Clear Filters"; this.Text = "TFD Phone Lists"; this.frmEmployee = ctx.Resolve <UpgradeHelpers.BasicViewModels.GroupBoxViewModel>(); // // frmEmployee // this.frmEmployee.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.frmEmployee.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.frmEmployee.Name = "frmEmployee"; this.frmEmployee.TabIndex = 0; this.frmResource = ctx.Resolve <UpgradeHelpers.BasicViewModels.GroupBoxViewModel>(); // // frmResource // this.frmResource.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.frmResource.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.frmResource.Name = "frmResource"; this.frmResource.TabIndex = 6; optList = ctx.Resolve <System.Collections.Generic.IList <UpgradeHelpers.BasicViewModels.RadioButtonViewModel> >(2); optList[1] = _optList_1; optList[0] = _optList_0; optList[1].BackColor = UpgradeHelpers.Helpers.Color.Gray; optList[1].Checked = true; optList[1].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); optList[1].ForeColor = UpgradeHelpers.Helpers.Color.Aqua; optList[1].Name = "_optList_1"; optList[1].TabIndex = 5; optList[1].Text = "Employee Phone List"; optList[0].BackColor = UpgradeHelpers.Helpers.Color.Gray; optList[0].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); optList[0].ForeColor = UpgradeHelpers.Helpers.Color.Aqua; optList[0].Name = "_optList_0"; optList[0].TabIndex = 3; optList[0].Text = "Facility \\ Resource Phone List"; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color50636234731911512156", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text299636234731911521921", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color50636234732000959556", "DataAreaDefault"); namedStyle3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F); namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.Parent = "DataAreaDefault"; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle4 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text299636234732000979086", "DataAreaDefault"); namedStyle4.CellType = textCellType2; namedStyle4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F); namedStyle4.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle4.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle4.Parent = "DataAreaDefault"; namedStyle4.Renderer = textCellType2; namedStyle4.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; this.Name = "PTSProject.frmMasterPhoneLists"; IsMdiChild = true; this.sprResource.NamedStyles.Add(namedStyle1); this.sprResource.NamedStyles.Add(namedStyle2); this.sprResource.Sheets.Add(this.sprResource_Sheet1); this.sprEmployeeList.NamedStyles.Add(namedStyle3); this.sprEmployeeList.NamedStyles.Add(namedStyle4); this.sprEmployeeList.Sheets.Add(this.sprEmployeeList_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var textCellType2 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle6; var comboBoxCellType20 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); FarPoint.ViewModels.NamedStyle namedStyle5; var dateTimeCellType1 = ctx.Resolve <FarPoint.ViewModels.DateTimeCellType>(); FarPoint.ViewModels.NamedStyle namedStyle4; var comboBoxCellType19 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; var comboBoxCellType18 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType17 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType16 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType15 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType14 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType13 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType12 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType11 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType10 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType9 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType8 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType7 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType6 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType5 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType4 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType3 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType2 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); var comboBoxCellType1 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); this.sprPPEList = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprPPEList.MaxRows = 8; this.sprPPEList.TabIndex = 2; this.sprPPEList.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, ((UpgradeHelpers.Helpers .FontStyle)((UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Italic))), UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); this.Label1.Name = "Label1"; this.Label1.TabIndex = 9; this.Label1.Text = "*NOTE: If there is no information added for an item, then it will not be added"; this.Label3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label3 // this.Label3.BackColor = UpgradeHelpers.Helpers.Color.Navy; this.Label3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label3.ForeColor = UpgradeHelpers.Helpers.Color.Yellow; this.Label3.Name = "Label3"; this.Label3.TabIndex = 8; this.Label3.Text = "Name:"; this.Label4 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label4 // this.Label4.BackColor = UpgradeHelpers.Helpers.Color.Navy; this.Label4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label4.ForeColor = UpgradeHelpers.Helpers.Color.Yellow; this.Label4.Name = "Label4"; this.Label4.TabIndex = 7; this.Label4.Text = "Employee #:"; this.Label5 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label5 // this.Label5.BackColor = UpgradeHelpers.Helpers.Color.Navy; this.Label5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label5.ForeColor = UpgradeHelpers.Helpers.Color.Yellow; this.Label5.Name = "Label5"; this.Label5.TabIndex = 6; this.Label5.Text = "Assignment:"; this.lblName = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lblName // this.lblName.BackColor = UpgradeHelpers.Helpers.Color.Navy; this.lblName.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lblName.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.lblName.Name = "lblName"; this.lblName.TabIndex = 5; this.lblName.Text = "lblName"; this.lblEmpNum = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lblEmpNum // this.lblEmpNum.BackColor = UpgradeHelpers.Helpers.Color.Navy; this.lblEmpNum.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lblEmpNum.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.lblEmpNum.Name = "lblEmpNum"; this.lblEmpNum.TabIndex = 4; this.lblEmpNum.Text = "lblEmpNum"; this.lblAssignment = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lblAssignment // this.lblAssignment.BackColor = UpgradeHelpers.Helpers.Color.Navy; this.lblAssignment.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lblAssignment.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.lblAssignment.Name = "lblAssignment"; this.lblAssignment.TabIndex = 3; this.lblAssignment.Text = "lblAssignment"; this.sprPPEList_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprPPEList_Sheet1.SheetName = "Sheet1"; this.sprPPEList_Sheet1.Cells.Get(0, 1).CellType = comboBoxCellType1; this.sprPPEList_Sheet1.Cells.Get(0, 1).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(0, 1).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(0, 2).CellType = comboBoxCellType2; this.sprPPEList_Sheet1.Cells.Get(0, 2).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(0, 2).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(1, 1).CellType = comboBoxCellType3; this.sprPPEList_Sheet1.Cells.Get(1, 1).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(1, 1).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(1, 2).CellType = comboBoxCellType4; this.sprPPEList_Sheet1.Cells.Get(1, 2).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(1, 2).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(2, 1).CellType = comboBoxCellType5; this.sprPPEList_Sheet1.Cells.Get(2, 1).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(2, 1).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(2, 2).CellType = comboBoxCellType6; this.sprPPEList_Sheet1.Cells.Get(2, 2).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(2, 2).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(3, 1).CellType = comboBoxCellType7; this.sprPPEList_Sheet1.Cells.Get(3, 1).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(3, 1).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(3, 2).CellType = comboBoxCellType8; this.sprPPEList_Sheet1.Cells.Get(3, 2).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(3, 2).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(4, 1).CellType = comboBoxCellType9; this.sprPPEList_Sheet1.Cells.Get(4, 1).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(4, 1).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(4, 2).CellType = comboBoxCellType10; this.sprPPEList_Sheet1.Cells.Get(4, 2).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(4, 2).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(5, 1).CellType = comboBoxCellType11; this.sprPPEList_Sheet1.Cells.Get(5, 1).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(5, 1).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(5, 2).CellType = comboBoxCellType12; this.sprPPEList_Sheet1.Cells.Get(5, 2).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(5, 2).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(6, 1).CellType = comboBoxCellType13; this.sprPPEList_Sheet1.Cells.Get(6, 1).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(6, 1).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(6, 2).CellType = comboBoxCellType14; this.sprPPEList_Sheet1.Cells.Get(6, 2).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(6, 2).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(7, 1).CellType = comboBoxCellType15; this.sprPPEList_Sheet1.Cells.Get(7, 1).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(7, 1).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(7, 2).CellType = comboBoxCellType16; this.sprPPEList_Sheet1.Cells.Get(7, 2).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; this.sprPPEList_Sheet1.Cells.Get(7, 2).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 0].Value = "ISSUE DATE"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 1].Value = "BRAND NAME"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 2].Value = "SIZE or COLOR"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 3].Value = "TRACKING NUMBER"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 4].Value = "MANUFACTURED DATE"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 5].Value = "uniform_id"; this.sprPPEList_Sheet1.ColumnHeader.Rows.Get(0).Height = 48F; this.sprPPEList_Sheet1.Columns.Get(0).Label = "ISSUE DATE"; this.sprPPEList_Sheet1.Columns.Get(0).Width = 86F; this.sprPPEList_Sheet1.Columns.Get(1).CellType = comboBoxCellType17; this.sprPPEList_Sheet1.Columns.Get(1).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; this.sprPPEList_Sheet1.Columns.Get(1).Label = "BRAND NAME"; this.sprPPEList_Sheet1.Columns.Get(1).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; this.sprPPEList_Sheet1.Columns.Get(1).Width = 110F; this.sprPPEList_Sheet1.Columns.Get(2).CellType = comboBoxCellType18; this.sprPPEList_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; this.sprPPEList_Sheet1.Columns.Get(2).Label = "SIZE or COLOR"; this.sprPPEList_Sheet1.Columns.Get(2).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; this.sprPPEList_Sheet1.Columns.Get(2).Width = 89F; this.sprPPEList_Sheet1.Columns.Get(3).Label = "TRACKING NUMBER"; this.sprPPEList_Sheet1.Columns.Get(3).Width = 98F; this.sprPPEList_Sheet1.Columns.Get(4).Label = "MANUFACTURED DATE"; this.sprPPEList_Sheet1.Columns.Get(4).Width = 94F; this.sprPPEList_Sheet1.Columns.Get(5).Label = "uniform_id"; this.sprPPEList_Sheet1.Columns.Get(5).Visible = false; this.sprPPEList_Sheet1.Columns.Get(5).Width = 0F; this.sprPPEList_Sheet1.RowHeader.Cells[0, 0].Value = "COAT"; this.sprPPEList_Sheet1.RowHeader.Cells[1, 0].Value = "PANTS"; this.sprPPEList_Sheet1.RowHeader.Cells[2, 0].Value = "HELMET"; this.sprPPEList_Sheet1.RowHeader.Cells[3, 0].Value = "BOOTS"; this.sprPPEList_Sheet1.RowHeader.Cells[4, 0].Value = "EAR FLAPS"; this.sprPPEList_Sheet1.RowHeader.Cells[5, 0].Value = "FLASH HOOD"; this.sprPPEList_Sheet1.RowHeader.Cells[6, 0].Value = "GLOVES"; this.sprPPEList_Sheet1.RowHeader.Cells[7, 0].Value = "FIELD JACKET"; this.sprPPEList_Sheet1.RowHeader.Columns.Get(0).Width = 61F; this.sprPPEList_Sheet1.Rows.Get(0).Height = 22F; this.sprPPEList_Sheet1.Rows.Get(0).Label = "COAT"; this.sprPPEList_Sheet1.Rows.Get(1).Height = 22F; this.sprPPEList_Sheet1.Rows.Get(1).Label = "PANTS"; this.sprPPEList_Sheet1.Rows.Get(2).Height = 22F; this.sprPPEList_Sheet1.Rows.Get(2).Label = "HELMET"; this.sprPPEList_Sheet1.Rows.Get(3).Height = 22F; this.sprPPEList_Sheet1.Rows.Get(3).Label = "BOOTS"; this.sprPPEList_Sheet1.Rows.Get(4).Height = 31F; this.sprPPEList_Sheet1.Rows.Get(4).Label = "EAR FLAPS"; this.sprPPEList_Sheet1.Rows.Get(5).Height = 28F; this.sprPPEList_Sheet1.Rows.Get(5).Label = "FLASH HOOD"; this.sprPPEList_Sheet1.Rows.Get(6).Height = 22F; this.sprPPEList_Sheet1.Rows.Get(6).Label = "GLOVES"; this.sprPPEList_Sheet1.Rows.Get(7).Height = 29F; this.sprPPEList_Sheet1.Rows.Get(7).Label = "FIELD JACKET"; this.CancelButton_Renamed = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // CancelButton_Renamed // this.CancelButton_Renamed.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.CancelButton_Renamed.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.CancelButton_Renamed.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.CancelButton_Renamed.Name = "CancelButton_Renamed"; this.CancelButton_Renamed.TabIndex = 1; this.CancelButton_Renamed.Text = "Cancel"; this.OKButton = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // OKButton // this.OKButton.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.OKButton.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.OKButton.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.OKButton.Name = "OKButton"; this.OKButton.TabIndex = 0; this.OKButton.Text = "OK"; this.Text = "Issue PPE to Employee"; this.CurrRow = 0; this.EmployeeID = ""; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color65636234569260348641", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text342636234569260387701", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("ComboEx759636234569261071251"); namedStyle3.CellType = comboBoxCellType19; namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.Renderer = comboBoxCellType19; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; namedStyle4 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("DateTime1361636234569264713596"); namedStyle4.CellType = dateTimeCellType1; namedStyle4.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle4.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle4.Renderer = dateTimeCellType1; namedStyle4.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle5 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("ComboEx1385636234569264723361"); namedStyle5.CellType = comboBoxCellType20; namedStyle5.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle5.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle5.Renderer = comboBoxCellType20; namedStyle5.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle6 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text1465636234569264781951"); namedStyle6.CellType = textCellType2; namedStyle6.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle6.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle6.Renderer = textCellType2; namedStyle6.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.Name = "PTSProject.dlgAddPPE"; this.sprPPEList.NamedStyles.Add(namedStyle1); this.sprPPEList.NamedStyles.Add(namedStyle2); this.sprPPEList.NamedStyles.Add(namedStyle3); this.sprPPEList.NamedStyles.Add(namedStyle4); this.sprPPEList.NamedStyles.Add(namedStyle5); this.sprPPEList.NamedStyles.Add(namedStyle6); this.sprPPEList.Sheets.Add(this.sprPPEList_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var checkBoxCellType5 = ctx.Resolve <FarPoint.ViewModels.CheckBoxCellType>(); FarPoint.ViewModels.NamedStyle namedStyle11; var checkBoxCellType4 = ctx.Resolve <FarPoint.ViewModels.CheckBoxCellType>(); FarPoint.ViewModels.NamedStyle namedStyle10; var checkBoxCellType3 = ctx.Resolve <FarPoint.ViewModels.CheckBoxCellType>(); FarPoint.ViewModels.NamedStyle namedStyle9; var checkBoxCellType2 = ctx.Resolve <FarPoint.ViewModels.CheckBoxCellType>(); FarPoint.ViewModels.NamedStyle namedStyle8; var textCellType3 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle7; var checkBoxCellType1 = ctx.Resolve <FarPoint.ViewModels.CheckBoxCellType>(); FarPoint.ViewModels.NamedStyle namedStyle6; var textCellType2 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle5; var dateTimeCellType1 = ctx.Resolve <FarPoint.ViewModels.DateTimeCellType>(); FarPoint.ViewModels.NamedStyle namedStyle4; var comboBoxCellType2 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; var comboBoxCellType1 = ctx.Resolve <FarPoint.ViewModels.ComboBoxCellType>(); this.sprPPEList = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprPPEList.MaxRows = 100; this.sprPPEList.TabIndex = 0; this.sprPPEList.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.Label3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label3 // this.Label3.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.Label3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label3.ForeColor = UpgradeHelpers.Helpers.Color.Yellow; this.Label3.Name = "Label3"; this.Label3.TabIndex = 8; this.Label3.Text = "Name:"; this.Label4 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label4 // this.Label4.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.Label4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label4.ForeColor = UpgradeHelpers.Helpers.Color.Yellow; this.Label4.Name = "Label4"; this.Label4.TabIndex = 7; this.Label4.Text = "Employee #:"; this.Label5 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label5 // this.Label5.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.Label5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label5.ForeColor = UpgradeHelpers.Helpers.Color.Yellow; this.Label5.Name = "Label5"; this.Label5.TabIndex = 6; this.Label5.Text = "Assignment:"; this.lblName = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lblName // this.lblName.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.lblName.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lblName.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.lblName.Name = "lblName"; this.lblName.TabIndex = 5; this.lblName.Text = "lblName"; this.lblEmpNum = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lblEmpNum // this.lblEmpNum.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.lblEmpNum.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lblEmpNum.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.lblEmpNum.Name = "lblEmpNum"; this.lblEmpNum.TabIndex = 4; this.lblEmpNum.Text = "lblEmpNum"; this.lblAssignment = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lblAssignment // this.lblAssignment.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.lblAssignment.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lblAssignment.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.lblAssignment.Name = "lblAssignment"; this.lblAssignment.TabIndex = 3; this.lblAssignment.Text = "lblAssignment"; this.sprPPEList_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprPPEList_Sheet1.SheetName = "Sheet1"; this.sprPPEList_Sheet1.Cells.Get(0, 4).Value = "0"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 0].Value = "TurnOut Gear"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 1].Value = "Date Flagged"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 2].Value = "Date Approved"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 3].Value = "Laundry Instructions and Comments"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 4].Value = "Cleaned?"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 5].Value = "Launder_id"; this.sprPPEList_Sheet1.ColumnHeader.Cells[0, 6].Value = "UniformID"; this.sprPPEList_Sheet1.ColumnHeader.Rows.Get(0).Height = 34F; this.sprPPEList_Sheet1.Columns.Get(0).CellType = comboBoxCellType1; this.sprPPEList_Sheet1.Columns.Get(0).HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; this.sprPPEList_Sheet1.Columns.Get(0).Label = "TurnOut Gear"; this.sprPPEList_Sheet1.Columns.Get(0).VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; this.sprPPEList_Sheet1.Columns.Get(0).Width = 143F; this.sprPPEList_Sheet1.Columns.Get(1).Label = "Date Flagged"; this.sprPPEList_Sheet1.Columns.Get(1).StyleName = "DateTime741636234758102472546"; this.sprPPEList_Sheet1.Columns.Get(1).Width = 90F; this.sprPPEList_Sheet1.Columns.Get(2).Label = "Date Approved"; this.sprPPEList_Sheet1.Columns.Get(2).StyleName = "DateTime741636234758102472546"; this.sprPPEList_Sheet1.Columns.Get(2).Width = 83F; this.sprPPEList_Sheet1.Columns.Get(3).Label = "Laundry Instructions and Comments"; this.sprPPEList_Sheet1.Columns.Get(3).StyleName = "Text909636234758102501841"; this.sprPPEList_Sheet1.Columns.Get(3).Width = 253F; this.sprPPEList_Sheet1.Columns.Get(4).Label = "Cleaned?"; //this.sprPPEList_Sheet1.Columns.Get(4).SortIndicator = FarPoint.ViewModels.SortIndicator.Ascending; this.sprPPEList_Sheet1.Columns.Get(4).Width = 59F; this.sprPPEList_Sheet1.Columns.Get(5).Label = "Launder_id"; this.sprPPEList_Sheet1.Columns.Get(5).Visible = false; this.sprPPEList_Sheet1.Columns.Get(5).Width = 0F; this.sprPPEList_Sheet1.Columns.Get(6).Label = "UniformID"; this.sprPPEList_Sheet1.Columns.Get(6).Visible = false; this.sprPPEList_Sheet1.Columns.Get(6).Width = 0F; this.sprPPEList_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.CancelButton_Renamed = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // CancelButton_Renamed // this.CancelButton_Renamed.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.CancelButton_Renamed.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.CancelButton_Renamed.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.CancelButton_Renamed.Name = "CancelButton_Renamed"; this.CancelButton_Renamed.TabIndex = 2; this.CancelButton_Renamed.Text = "Cancel"; this.OKButton = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // OKButton // this.OKButton.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.OKButton.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.OKButton.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.OKButton.Name = "OKButton"; this.OKButton.TabIndex = 1; this.OKButton.Text = "OK"; this.Text = "Emloyee\'s PPE Launder Information"; this.iUniformID = 0; this.sDateFlagged = ""; this.sDateApproved = ""; this.sComment = ""; this.iLaunderID = 0; this.UniformDescription = ""; this.UniformTrackingNumber = ""; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color50636234758101701111", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text291636234758101710876", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("ComboEx636636234758101994061"); namedStyle3.CellType = comboBoxCellType2; namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.Renderer = comboBoxCellType2; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; namedStyle4 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("DateTime741636234758102472546"); namedStyle4.CellType = dateTimeCellType1; namedStyle4.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle4.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle4.Renderer = dateTimeCellType1; namedStyle4.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle5 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text909636234758102501841"); namedStyle5.CellType = textCellType2; namedStyle5.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle5.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle5.Renderer = textCellType2; namedStyle5.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; namedStyle6 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("CheckBox1457636234758102531136"); namedStyle6.CellType = checkBoxCellType1; namedStyle6.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle6.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle6.Renderer = checkBoxCellType1; namedStyle6.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; namedStyle7 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text1560636234758102531136"); namedStyle7.CellType = textCellType3; namedStyle7.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle7.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle7.Renderer = textCellType3; namedStyle7.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; namedStyle8 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("CheckBox1637636234758102824086"); namedStyle8.CellType = checkBoxCellType2; namedStyle8.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle8.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle8.Renderer = checkBoxCellType2; namedStyle8.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle9 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("CheckBox3437636234758102872911"); namedStyle9.CellType = checkBoxCellType3; namedStyle9.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle9.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle9.Renderer = checkBoxCellType3; namedStyle9.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; namedStyle10 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("CheckBox3437636234758102960796"); namedStyle10.CellType = checkBoxCellType4; namedStyle10.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle10.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle10.Renderer = checkBoxCellType4; namedStyle10.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle11 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("CheckBox2317636234758118008661"); namedStyle11.CellType = checkBoxCellType5; namedStyle11.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle11.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle11.Renderer = checkBoxCellType5; namedStyle11.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; this.Name = "PTSProject.frmPPELaunder"; this.sprPPEList.NamedStyles.Add(namedStyle1); this.sprPPEList.NamedStyles.Add(namedStyle2); this.sprPPEList.NamedStyles.Add(namedStyle3); this.sprPPEList.NamedStyles.Add(namedStyle4); this.sprPPEList.NamedStyles.Add(namedStyle5); this.sprPPEList.NamedStyles.Add(namedStyle6); this.sprPPEList.NamedStyles.Add(namedStyle7); this.sprPPEList.NamedStyles.Add(namedStyle8); this.sprPPEList.NamedStyles.Add(namedStyle9); this.sprPPEList.NamedStyles.Add(namedStyle10); this.sprPPEList.NamedStyles.Add(namedStyle11); this.sprPPEList.Sheets.Add(this.sprPPEList_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var textCellType8 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle16; var textCellType7 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle15; FarPoint.ViewModels.NamedStyle namedStyle14; var textCellType6 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle13; FarPoint.ViewModels.NamedStyle namedStyle12; var textCellType5 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle11; FarPoint.ViewModels.NamedStyle namedStyle10; var textCellType4 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle9; FarPoint.ViewModels.NamedStyle namedStyle8; var textCellType3 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle7; FarPoint.ViewModels.NamedStyle namedStyle6; FarPoint.ViewModels.NamedStyle namedStyle5; var textCellType2 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle4; FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.sprSenior = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprSenior.TabIndex = 4; this.sprSenior.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.calSrDate = ctx.Resolve <WNFRMS.Viewmodels.DateTimePickerViewModel>(); this.calSrDate.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.calSrDate.MaxDate = new System.DateTime(2999, 12, 31, 0, 0, 0, 0); this.calSrDate.MinDate = new System.DateTime(1997, 1, 1, 0, 0, 0, 0); this.calSrDate.Name = "calSrDate"; this.calSrDate.TabIndex = 5; this.cboSenior = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboSenior // this.cboSenior.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboSenior.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboSenior.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboSenior.Name = "cboSenior"; this.cboSenior.TabIndex = 0; this.Label2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label2 // this.Label2.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label2.ForeColor = UpgradeHelpers.Helpers.Color.Maroon; this.Label2.Name = "Label2"; this.Label2.TabIndex = 6; this.Label2.Text = "Select Calculation Date"; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.Maroon; this.Label1.Name = "Label1"; this.Label1.TabIndex = 1; this.Label1.Text = "Select Seniority List"; this.sprSenior_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprSenior_Sheet1.SheetName = "Sheet1"; this.sprSenior_Sheet1.Cells.Get(0, 0).Value = "Tacoma Fire Department"; this.sprSenior_Sheet1.Cells.Get(1, 0).Value = "Seniority Ranking List"; this.sprSenior_Sheet1.Cells.Get(2, 0).Value = "Ranking"; this.sprSenior_Sheet1.Cells.Get(2, 1).Value = "Employee"; this.sprSenior_Sheet1.Cells.Get(2, 2).Value = "Max. Vac."; this.sprSenior_Sheet1.Cells.Get(2, 3).Value = "TFD Hire Date"; this.sprSenior_Sheet1.Cells.Get(2, 4).Value = "COT Serv Date"; this.sprSenior_Sheet1.Cells.Get(2, 5).Value = "Years of Service"; this.sprSenior_Sheet1.ColumnHeader.Rows.Get(0).Height = 0F; this.sprSenior_Sheet1.Columns.Get(0).Width = 65F; this.sprSenior_Sheet1.Columns.Get(1).Width = 208F; this.sprSenior_Sheet1.Columns.Get(2).Width = 79F; this.sprSenior_Sheet1.Columns.Get(3).Width = 105F; this.sprSenior_Sheet1.Columns.Get(4).Width = 109F; this.sprSenior_Sheet1.Columns.Get(5).Width = 135F; this.sprSenior_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 12F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 3; this.cmdClose.Text = "&Close"; this.cmdPrint = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrint // this.cmdPrint.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrint.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 12F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.TabIndex = 2; this.cmdPrint.Text = "&Print"; this.Text = "Seniority Report"; this.MaxRows = 0; this.PageNo = 0; this.CurrRow = 0; this.ReportDate = ""; this.PageRow = 0; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color65636234770589729951", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text436636234770589749481", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font1036636234770589778776"); namedStyle3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle4 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1171636234770589837366"); namedStyle4.CellType = textCellType2; namedStyle4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle4.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Right; namedStyle4.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle4.Renderer = textCellType2; namedStyle4.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle5 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font1251636234770589856896"); namedStyle5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle5.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle5.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle5.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle6 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1364636234770589895956"); namedStyle6.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle6.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle6.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle6.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle7 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1398636234770589925251"); namedStyle7.CellType = textCellType3; namedStyle7.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle7.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle7.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle7.Renderer = textCellType3; namedStyle7.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle8 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1458636234770589935016"); namedStyle8.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle8.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle8.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle8.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle9 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1492636234770589954546"); namedStyle9.CellType = textCellType4; namedStyle9.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle9.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle9.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle9.Renderer = textCellType4; namedStyle9.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle10 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1553636234770590061961"); namedStyle10.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle10.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle10.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle11 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1587636234770590081491"); namedStyle11.CellType = textCellType5; namedStyle11.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle11.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle11.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle11.Renderer = textCellType5; namedStyle11.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle12 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1849636234770590198671"); namedStyle12.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle12.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle12.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle12.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle13 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1883636234770590227966"); namedStyle13.CellType = textCellType6; namedStyle13.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle13.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle13.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle13.Renderer = textCellType6; namedStyle13.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle14 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font1941636234770590247496"); namedStyle14.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle14.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle14.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle14.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle15 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1959636234770590257261"); namedStyle15.CellType = textCellType7; namedStyle15.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle15.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle15.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle15.Renderer = textCellType7; namedStyle15.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle16 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1993636234770590296321"); namedStyle16.CellType = textCellType8; namedStyle16.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle16.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle16.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle16.Renderer = textCellType8; namedStyle16.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.Name = "PTSProject.frmSrReport"; IsMdiChild = true; cboSenior.Items.Add("Operations"); cboSenior.Items.Add("Civilian"); cboSenior.Items.Add("Paramedic"); this.sprSenior.NamedStyles.Add(namedStyle1); this.sprSenior.NamedStyles.Add(namedStyle2); this.sprSenior.NamedStyles.Add(namedStyle3); this.sprSenior.NamedStyles.Add(namedStyle4); this.sprSenior.NamedStyles.Add(namedStyle5); this.sprSenior.NamedStyles.Add(namedStyle6); this.sprSenior.NamedStyles.Add(namedStyle7); this.sprSenior.NamedStyles.Add(namedStyle8); this.sprSenior.NamedStyles.Add(namedStyle9); this.sprSenior.NamedStyles.Add(namedStyle10); this.sprSenior.NamedStyles.Add(namedStyle11); this.sprSenior.NamedStyles.Add(namedStyle12); this.sprSenior.NamedStyles.Add(namedStyle13); this.sprSenior.NamedStyles.Add(namedStyle14); this.sprSenior.NamedStyles.Add(namedStyle15); this.sprSenior.NamedStyles.Add(namedStyle16); this.sprSenior.Sheets.Add(this.sprSenior_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var checkBoxCellType2 = ctx.Resolve <FarPoint.ViewModels.CheckBoxCellType>(); FarPoint.ViewModels.NamedStyle namedStyle4; var checkBoxCellType1 = ctx.Resolve <FarPoint.ViewModels.CheckBoxCellType>(); FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.dtReportDate = ctx.Resolve <WNFRMS.Viewmodels.DateTimePickerViewModel>(); this.dtReportDate.Name = "dtReportDate"; this.dtReportDate.TabIndex = 8; this.cboLocation = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboLocation // this.cboLocation.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboLocation.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboLocation.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboLocation.Name = "cboLocation"; this.cboLocation.TabIndex = 2; this.cboLocation.Text = "cboLocation"; this.Label2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label2 // this.Label2.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label2.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.Label2.Name = "Label2"; this.Label2.TabIndex = 9; this.Label2.Text = "Date"; this.lbCount = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbCount // this.lbCount.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbCount.ForeColor = UpgradeHelpers.Helpers.Color.Lime; this.lbCount.Name = "lbCount"; this.lbCount.TabIndex = 6; this.lbCount.Text = "List Count: "; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.Label1.Name = "Label1"; this.Label1.TabIndex = 5; this.Label1.Text = "Station"; this.sprReport = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprReport.TabIndex = 0; this.sprReport.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.sprReport_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprReport_Sheet1.SheetName = "Sheet1"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 0].Value = "Watch Duty"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 1].Value = "Name"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 2].Value = "Station / Facility"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 3].Value = "Unit"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 4].Value = "Position"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 5].Value = "EmpID"; this.sprReport_Sheet1.ColumnHeader.Cells[0, 6].Value = "DutyID"; this.sprReport_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F; this.sprReport_Sheet1.Columns.Get(0).Label = "Watch Duty"; //this.sprReport_Sheet1.Columns.Get(0).SortIndicator = FarPoint.ViewModels.SortIndicator.Ascending; this.sprReport_Sheet1.Columns.Get(0).Width = 63F; this.sprReport_Sheet1.Columns.Get(1).Label = "Name"; this.sprReport_Sheet1.Columns.Get(1).Width = 174F; this.sprReport_Sheet1.Columns.Get(2).Label = "Station / Facility"; this.sprReport_Sheet1.Columns.Get(2).Width = 110F; this.sprReport_Sheet1.Columns.Get(3).Label = "Unit"; this.sprReport_Sheet1.Columns.Get(3).Width = 45F; this.sprReport_Sheet1.Columns.Get(4).Label = "Position"; this.sprReport_Sheet1.Columns.Get(4).Width = 73F; this.sprReport_Sheet1.Columns.Get(5).Label = "EmpID"; this.sprReport_Sheet1.Columns.Get(5).Visible = false; this.sprReport_Sheet1.Columns.Get(5).Width = 0F; this.sprReport_Sheet1.Columns.Get(6).Label = "DutyID"; this.sprReport_Sheet1.Columns.Get(6).Visible = false; this.sprReport_Sheet1.Columns.Get(6).Width = 0F; this.sprReport_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.chkOnlyAssigned = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); // // chkOnlyAssigned // this.chkOnlyAssigned.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.chkOnlyAssigned.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.chkOnlyAssigned.Name = "chkOnlyAssigned"; this.chkOnlyAssigned.TabIndex = 10; this.chkOnlyAssigned.Text = "Show Only - Staff Assigned to Watch Duty"; this.cmdClear = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClear // this.cmdClear.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClear.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClear.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClear.Name = "cmdClear"; this.cmdClear.TabIndex = 7; this.cmdClear.Text = "Clear Filter"; this.cmdPrint = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrint // this.cmdPrint.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrint.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.TabIndex = 4; this.cmdPrint.Text = "Print List"; this.cmdExit = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdExit // this.cmdExit.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdExit.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdExit.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdExit.Name = "cmdExit"; this.cmdExit.TabIndex = 3; this.cmdExit.Text = "Exit"; this.Text = "TFD Watch Duty Assignment"; this.FillingTheGrid = false; this.FacilityID = 0; this.CurrRow = 0; this.UpdateJustHappened = false; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color50636234786816826116", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text291636234786816835881", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("CheckBox1230636234786816874941"); namedStyle3.CellType = checkBoxCellType1; namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.Renderer = checkBoxCellType1; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle4 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("CheckBox3437636234786816904236"); namedStyle4.CellType = checkBoxCellType2; namedStyle4.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle4.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle4.Renderer = checkBoxCellType2; namedStyle4.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; this.Name = "PTSProject.frmWatchDutyAssignment"; IsMdiChild = true; this.sprReport.NamedStyles.Add(namedStyle1); this.sprReport.NamedStyles.Add(namedStyle2); this.sprReport.NamedStyles.Add(namedStyle3); this.sprReport.NamedStyles.Add(namedStyle4); this.sprReport.Sheets.Add(this.sprReport_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.cboCleanedBy = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboCleanedBy // this.cboCleanedBy.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboCleanedBy.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboCleanedBy.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboCleanedBy.Name = "cboCleanedBy"; this.cboCleanedBy.TabIndex = 39; this.cboCleanedBy.Text = "cboCleanedBy"; this.dteDateCleaned = ctx.Resolve <WNFRMS.Viewmodels.DateTimePickerViewModel>(); this.dteDateCleaned.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.dteDateCleaned.Name = "dteDateCleaned"; this.dteDateCleaned.TabIndex = 36; this.txtLaundryComment = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtLaundryComment.Name = "txtLaundryComment"; this.txtLaundryComment.TabIndex = 42; this.Label4 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label4 // this.Label4.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label4.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.Label4.Name = "Label4"; this.Label4.TabIndex = 40; this.Label4.Text = "Laundry Comment"; this.Label2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label2 // this.Label2.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label2.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.Label2.Name = "Label2"; this.Label2.TabIndex = 38; this.Label2.Text = "Cleaned By"; this.lbLocation = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbLocation // this.lbLocation.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbLocation.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbLocation.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.lbLocation.Name = "lbLocation"; this.lbLocation.TabIndex = 26; this.lbLocation.Text = "lbLocation"; this.lbRetiredDate = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbRetiredDate // this.lbRetiredDate.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbRetiredDate.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbRetiredDate.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.lbRetiredDate.Name = "lbRetiredDate"; this.lbRetiredDate.TabIndex = 25; this.lbRetiredDate.Text = "lbRetiredDate"; this.lbColorSize = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbColorSize // this.lbColorSize.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbColorSize.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbColorSize.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.lbColorSize.Name = "lbColorSize"; this.lbColorSize.TabIndex = 24; this.lbColorSize.Text = "lbColorSize"; this.lbManufDate = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbManufDate // this.lbManufDate.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbManufDate.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbManufDate.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.lbManufDate.Name = "lbManufDate"; this.lbManufDate.TabIndex = 23; this.lbManufDate.Text = "lbManufDate"; this.lbBrand = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbBrand // this.lbBrand.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbBrand.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbBrand.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.lbBrand.Name = "lbBrand"; this.lbBrand.TabIndex = 22; this.lbBrand.Text = "lbBrand"; this.lbRetiredReason = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbRetiredReason // this.lbRetiredReason.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbRetiredReason.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbRetiredReason.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.lbRetiredReason.Name = "lbRetiredReason"; this.lbRetiredReason.TabIndex = 21; this.lbRetiredReason.Text = "lbRetiredReason"; this.lbTrackingNumber = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbTrackingNumber // this.lbTrackingNumber.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbTrackingNumber.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbTrackingNumber.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.lbTrackingNumber.Name = "lbTrackingNumber"; this.lbTrackingNumber.TabIndex = 20; this.lbTrackingNumber.Text = "lbTrackingNumber"; this.lbItem = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbItem // this.lbItem.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbItem.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbItem.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.lbItem.Name = "lbItem"; this.lbItem.TabIndex = 19; this.lbItem.Text = "lbItem"; this._Label_6 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this.lbUniformID = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbUniformID // this.lbUniformID.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbUniformID.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbUniformID.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.lbUniformID.Name = "lbUniformID"; this.lbUniformID.TabIndex = 17; this.lbUniformID.Text = "lbUniformID"; this.lbUniformID.Visible = false; this._Label_1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this._Label_2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this._Label_5 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this._Label_0 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this._Label_3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this._Label_4 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this._Label_8 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this._Label_7 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this.lbLastInspDate = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbLastInspDate // this.lbLastInspDate.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbLastInspDate.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbLastInspDate.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.lbLastInspDate.Name = "lbLastInspDate"; this.lbLastInspDate.TabIndex = 8; this.lbLastInspDate.Text = "lbLastInspDate"; this.txtTrackingNumber = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtTrackingNumber.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtTrackingNumber.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.txtTrackingNumber.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtTrackingNumber.Name = "txtTrackingNumber"; this.txtTrackingNumber.TabIndex = 1; this.txtTrackingNumber.Text = "txtTrackingNumber"; this.sprLaunderGrid = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprLaunderGrid.TabIndex = 6; this.sprLaunderGrid.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.cboFlaggedBy = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboFlaggedBy // this.cboFlaggedBy.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboFlaggedBy.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboFlaggedBy.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboFlaggedBy.Name = "cboFlaggedBy"; this.cboFlaggedBy.TabIndex = 33; this.cboFlaggedBy.Text = "cboFlaggedBy"; this.dteDateFlagged = ctx.Resolve <WNFRMS.Viewmodels.DateTimePickerViewModel>(); this.dteDateFlagged.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.dteDateFlagged.Name = "dteDateFlagged"; this.dteDateFlagged.TabIndex = 30; this.txtComment = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtComment.Name = "txtComment"; this.txtComment.TabIndex = 41; this.Label3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label3 // this.Label3.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label3.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.Label3.Name = "Label3"; this.Label3.TabIndex = 34; this.Label3.Text = "Comment"; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.Label1.Name = "Label1"; this.Label1.TabIndex = 32; this.Label1.Text = "Flagged By"; this.lbLaunderID = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbLaunderID // this.lbLaunderID.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbLaunderID.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbLaunderID.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.lbLaunderID.Name = "lbLaunderID"; this.lbLaunderID.TabIndex = 27; this.lbLaunderID.Text = "lbLaunderID"; this.lbLaunderID.Visible = false; this._Label_9 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this.sprLaunderGrid_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprLaunderGrid_Sheet1.SheetName = "Sheet1"; this.sprLaunderGrid_Sheet1.ColumnHeader.Cells[0, 0].Value = "Flagged - Date/By"; this.sprLaunderGrid_Sheet1.ColumnHeader.Cells[0, 1].Value = "Cleaned - Date/By"; this.sprLaunderGrid_Sheet1.ColumnHeader.Cells[0, 2].Value = "Approved - Date/By"; this.sprLaunderGrid_Sheet1.ColumnHeader.Cells[0, 3].Value = "LaunderID"; this.sprLaunderGrid_Sheet1.Columns.Get(0).Label = "Flagged - Date/By"; this.sprLaunderGrid_Sheet1.Columns.Get(0).Width = 169F; this.sprLaunderGrid_Sheet1.Columns.Get(1).Label = "Cleaned - Date/By"; this.sprLaunderGrid_Sheet1.Columns.Get(1).Width = 179F; this.sprLaunderGrid_Sheet1.Columns.Get(2).Label = "Approved - Date/By"; this.sprLaunderGrid_Sheet1.Columns.Get(2).Width = 174F; this.sprLaunderGrid_Sheet1.Columns.Get(3).Label = "LaunderID"; //this.sprLaunderGrid_Sheet1.Columns.Get(3).SortIndicator = FarPoint.ViewModels.SortIndicator.Descending; this.sprLaunderGrid_Sheet1.Columns.Get(3).Visible = false; this.sprLaunderGrid_Sheet1.Columns.Get(3).Width = 0F; this.sprLaunderGrid_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.chkVendor = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); // // chkVendor // this.chkVendor.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.chkVendor.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.chkVendor.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.chkVendor.Name = "chkVendor"; this.chkVendor.TabIndex = 43; this.chkVendor.Text = "Vendor?"; this.chkCleaned = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); // // chkCleaned // this.chkCleaned.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.chkCleaned.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.chkCleaned.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.chkCleaned.Name = "chkCleaned"; this.chkCleaned.TabIndex = 37; this.chkCleaned.Text = "Cleaned?"; this.chkApproved = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); // // chkApproved // this.chkApproved.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.chkApproved.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.chkApproved.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.chkApproved.Name = "chkApproved"; this.chkApproved.TabIndex = 28; this.chkApproved.Text = "PPE Item is ready for Use?"; this.cmdEdit = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdEdit // this.cmdEdit.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdEdit.Enabled = false; this.cmdEdit.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdEdit.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdEdit.Name = "cmdEdit"; this.cmdEdit.TabIndex = 5; this.cmdEdit.Tag = "1"; this.cmdEdit.Text = "Add"; this.cmdNewItem = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdNewItem // this.cmdNewItem.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdNewItem.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdNewItem.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdNewItem.Name = "cmdNewItem"; this.cmdNewItem.TabIndex = 4; this.cmdNewItem.Text = "New Item"; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 3; this.cmdClose.Text = "&Close"; this.cmdFind = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdFind // this.cmdFind.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdFind.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdFind.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdFind.Name = "cmdFind"; this.cmdFind.TabIndex = 0; this.cmdFind.Text = "Search..."; this.chkFlagged = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); // // chkFlagged // this.chkFlagged.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.chkFlagged.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.chkFlagged.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.chkFlagged.Name = "chkFlagged"; this.chkFlagged.TabIndex = 31; this.chkFlagged.Text = "Flagged?"; this.Text = "frmUniformLaundryHistory"; this.iCurrRow = 0; this.bAllowUpdate = false; Label = ctx.Resolve <System.Collections.Generic.IList <UpgradeHelpers.BasicViewModels.LabelViewModel> >(10); Label[6] = _Label_6; Label[1] = _Label_1; Label[2] = _Label_2; Label[5] = _Label_5; Label[0] = _Label_0; Label[3] = _Label_3; Label[4] = _Label_4; Label[8] = _Label_8; Label[7] = _Label_7; Label[9] = _Label_9; Label[6].BackColor = UpgradeHelpers.Helpers.Color.Transparent; Label[6].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label[6].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); Label[6].Name = "_Label_6"; Label[6].TabIndex = 18; Label[6].Text = "Manuf Date:"; Label[1].BackColor = UpgradeHelpers.Helpers.Color.Transparent; Label[1].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label[1].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); Label[1].Name = "_Label_1"; Label[1].TabIndex = 16; Label[1].Text = "Tracking #:"; Label[2].BackColor = UpgradeHelpers.Helpers.Color.Transparent; Label[2].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label[2].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); Label[2].Name = "_Label_2"; Label[2].TabIndex = 15; Label[2].Text = "Size/Color:"; Label[5].BackColor = UpgradeHelpers.Helpers.Color.Transparent; Label[5].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label[5].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); Label[5].Name = "_Label_5"; Label[5].TabIndex = 14; Label[5].Text = "Brand:"; Label[0].BackColor = UpgradeHelpers.Helpers.Color.Transparent; Label[0].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label[0].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); Label[0].Name = "_Label_0"; Label[0].TabIndex = 13; Label[0].Text = "PPE Item:"; Label[3].BackColor = UpgradeHelpers.Helpers.Color.Transparent; Label[3].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label[3].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); Label[3].Name = "_Label_3"; Label[3].TabIndex = 12; Label[3].Text = "Location:"; Label[4].BackColor = UpgradeHelpers.Helpers.Color.Transparent; Label[4].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label[4].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); Label[4].Name = "_Label_4"; Label[4].TabIndex = 11; Label[4].Text = "Retire Reason:"; Label[8].BackColor = UpgradeHelpers.Helpers.Color.Transparent; Label[8].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label[8].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); Label[8].Name = "_Label_8"; Label[8].TabIndex = 10; Label[8].Text = "Retired Date:"; Label[7].BackColor = UpgradeHelpers.Helpers.Color.Transparent; Label[7].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label[7].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); Label[7].Name = "_Label_7"; Label[7].TabIndex = 9; Label[7].Text = "Last Inspected:"; Label[9].BackColor = UpgradeHelpers.Helpers.Color.Transparent; Label[9].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label[9].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); Label[9].Name = "_Label_9"; Label[9].TabIndex = 2; Label[9].Text = "Search by Tracking #:"; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color50636234785674438296", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text299636234785674448061", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; this.Name = "PTSProject.frmUniformLaundryHistory"; IsMdiChild = true; this.sprLaunderGrid.NamedStyles.Add(namedStyle1); this.sprLaunderGrid.NamedStyles.Add(namedStyle2); this.sprLaunderGrid.Sheets.Add(this.sprLaunderGrid_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); FarPoint.ViewModels.NamedStyle namedStyle9; FarPoint.ViewModels.NamedStyle namedStyle8; FarPoint.ViewModels.NamedStyle namedStyle7; FarPoint.ViewModels.NamedStyle namedStyle6; FarPoint.ViewModels.NamedStyle namedStyle5; FarPoint.ViewModels.NamedStyle namedStyle4; FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.sprFireReport = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprFireReport.MaxRows = 1010; this.sprFireReport.TabIndex = 3; this.sprFireReport.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 13.8F, ((UpgradeHelpers.Helpers .FontStyle)((UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Italic))), UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.Navy; this.Label1.Name = "Label1"; this.Label1.TabIndex = 1; this.Label1.Text = "Fire Report - Print Preview"; this.sprFireReport_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprFireReport_Sheet1.SheetName = "Sheet1"; this.sprFireReport_Sheet1.Cells.Get(0, 0).Value = "TACOMA FIRE REPORT"; this.sprFireReport_Sheet1.Cells.Get(0, 6).Value = "Print Date"; this.sprFireReport_Sheet1.Cells.Get(1, 0).Value = "FIRE REPORT"; this.sprFireReport_Sheet1.Cells.Get(3, 0).Value = "Incident Information"; this.sprFireReport_Sheet1.Cells.Get(4, 0).Value = "Incident Number:"; this.sprFireReport_Sheet1.Cells.Get(4, 4).Value = "Unit"; this.sprFireReport_Sheet1.Cells.Get(4, 6).Value = "Dispatched"; this.sprFireReport_Sheet1.Cells.Get(4, 7).Value = "Onscene"; this.sprFireReport_Sheet1.Cells.Get(4, 8).Value = "Available"; this.sprFireReport_Sheet1.Cells.Get(5, 0).Value = "Incident Date:"; this.sprFireReport_Sheet1.Cells.Get(6, 0).Value = "Incident Location:"; this.sprFireReport_Sheet1.ColumnHeader.Rows.Get(0).Height = 0F; this.sprFireReport_Sheet1.Columns.Get(0).Width = 138F; this.sprFireReport_Sheet1.Columns.Get(1).StyleName = "Font996636234561686565816"; this.sprFireReport_Sheet1.Columns.Get(1).Width = 65F; this.sprFireReport_Sheet1.Columns.Get(2).StyleName = "Font996636234561686565816"; this.sprFireReport_Sheet1.Columns.Get(2).Width = 53F; this.sprFireReport_Sheet1.Columns.Get(3).StyleName = "Font996636234561686565816"; this.sprFireReport_Sheet1.Columns.Get(3).Width = 54F; this.sprFireReport_Sheet1.Columns.Get(4).StyleName = "Font996636234561686565816"; this.sprFireReport_Sheet1.Columns.Get(4).Width = 30F; this.sprFireReport_Sheet1.Columns.Get(5).StyleName = "Font996636234561686565816"; this.sprFireReport_Sheet1.Columns.Get(5).Width = 110F; this.sprFireReport_Sheet1.Columns.Get(6).StyleName = "Font996636234561686565816"; this.sprFireReport_Sheet1.Columns.Get(6).Width = 78F; this.sprFireReport_Sheet1.Columns.Get(7).StyleName = "Font996636234561686565816"; this.sprFireReport_Sheet1.Columns.Get(7).Width = 65F; this.sprFireReport_Sheet1.Columns.Get(8).StyleName = "Font996636234561686565816"; this.sprFireReport_Sheet1.Columns.Get(8).Width = 71F; this.sprFireReport_Sheet1.Columns.Get(9).StyleName = "Font996636234561686565816"; this.sprFireReport_Sheet1.Columns.Get(9).Width = 65F; this.sprFireReport_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.sprFireReport_Sheet1.Rows.Get(0).Height = 23F; this.sprFireReport_Sheet1.Rows.Get(1).Height = 21F; this.sprFireReport_Sheet1.Rows.Get(4).Height = 21F; this.sprFireReport_Sheet1.Rows.Get(5).Height = 20F; this.sprFireReport_Sheet1.Rows.Get(6).Height = 20F; this.sprFireReport_Sheet1.Rows.Get(7).Height = 20F; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 10.2F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 2; this.cmdClose.Text = "Close"; this.cmdPrint = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrint // this.cmdPrint.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrint.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 10.2F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.TabIndex = 0; this.cmdPrint.Text = "Print Report"; this.Text = "Fire Report"; this.ReportType = 0; this.FireReportID = 0; this.CurrRow = 0; this.CurrIncident = 0; this.PageCountRow = 0; this.IncidentNumber = ""; this.SaveRow = 0; this.ExportExposureFlag = 0; this.LastRow = 0; this.SkippedExport = 0; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color50636234561686370516", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text585636234561686556051", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font996636234561686565816"); namedStyle3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 7F); namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle4 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font691636234561686682996"); namedStyle4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 12F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle4.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle4.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle4.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle5 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font740636234561686712291"); namedStyle5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle5.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle5.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle5.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle6 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font810636234561686722056"); namedStyle6.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 10F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle6.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle6.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle6.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle7 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font863636234561686751351"); namedStyle7.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 9F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle7.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle7.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle7.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle8 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color896636234561686761116"); namedStyle8.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); namedStyle8.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Verdana", 9F, ((UpgradeHelpers.Helpers.FontStyle)((UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Italic)))); namedStyle8.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle8.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle8.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle8.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle9 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color969636234561686829471"); namedStyle9.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); namedStyle9.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle9.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle9.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle9.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; this.Name = "TFDIncident.frmReportFire"; this.sprFireReport.NamedStyles.Add(namedStyle1); this.sprFireReport.NamedStyles.Add(namedStyle2); this.sprFireReport.NamedStyles.Add(namedStyle3); this.sprFireReport.NamedStyles.Add(namedStyle4); this.sprFireReport.NamedStyles.Add(namedStyle5); this.sprFireReport.NamedStyles.Add(namedStyle6); this.sprFireReport.NamedStyles.Add(namedStyle7); this.sprFireReport.NamedStyles.Add(namedStyle8); this.sprFireReport.NamedStyles.Add(namedStyle9); this.sprFireReport.Sheets.Add(this.sprFireReport_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.cboPromotion = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboPromotion // this.cboPromotion.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboPromotion.Enabled = true; this.cboPromotion.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboPromotion.Name = "cboPromotion"; this.cboPromotion.TabIndex = 7; this.cboPromotion.Text = "cboPromotion"; this.cboPromotion.Visible = true; this.txtPromotionDate = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtPromotionDate.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtPromotionDate.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtPromotionDate.Name = "txtPromotionDate"; this.txtPromotionDate.TabIndex = 6; this.txtEDays = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtEDays.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtEDays.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtEDays.Name = "txtEDays"; this.txtEDays.TabIndex = 5; this.txtComments = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtComments.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtComments.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtComments.Name = "txtComments"; this.txtComments.TabIndex = 4; this.lbName = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbName // this.lbName.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbName.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.2f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbName.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(224, 224, 224); this.lbName.Name = "lbName"; this.lbName.TabIndex = 13; this.lbName.Text = "lbName"; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 9.6f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label1.Name = "Label1"; this.Label1.TabIndex = 12; this.Label1.Text = "New Promotion For :"; this.Label2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label2 // this.Label2.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7.8f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label2.ForeColor = UpgradeHelpers.Helpers.Color.Teal; this.Label2.Name = "Label2"; this.Label2.TabIndex = 11; this.Label2.Text = "Promotion List"; this.Label3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label3 // this.Label3.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7.8f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label3.ForeColor = UpgradeHelpers.Helpers.Color.Teal; this.Label3.Name = "Label3"; this.Label3.TabIndex = 10; this.Label3.Text = "Promotion Date"; this.Label4 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label4 // this.Label4.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7.8f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label4.ForeColor = UpgradeHelpers.Helpers.Color.Teal; this.Label4.Name = "Label4"; this.Label4.TabIndex = 9; this.Label4.Text = "Exclusion Days"; this.Label5 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label5 // this.Label5.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7.8f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label5.ForeColor = UpgradeHelpers.Helpers.Color.Teal; this.Label5.Name = "Label5"; this.Label5.TabIndex = 8; this.Label5.Text = "Comments"; this.Line1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Line1 // this.Line1.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 224, 192); this.Line1.Enabled = false; this.Line1.Name = "Line1"; this.Line1.Visible = true; this.Shape1 = ctx.Resolve <VB6Helpers.ViewModels.ShapeHelperViewModel>(); this.Shape1.Enabled = false; this.Shape1.Name = "Shape1"; this.Shape1.Visible = true; this.cmdAddPromo = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdAddPromo // this.cmdAddPromo.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdAddPromo.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdAddPromo.Name = "cmdAddPromo"; this.cmdAddPromo.TabIndex = 2; this.cmdAddPromo.Text = "&Add Promotion"; this.cmdCancel = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdCancel // this.cmdCancel.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdCancel.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.TabIndex = 1; this.cmdCancel.Text = "&Cancel"; this.Text = "New Promotion"; this.chkStatus = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); this.chkStatus.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.chkStatus.CheckState = UpgradeHelpers.Helpers.CheckState.Checked; this.chkStatus.Enabled = true; this.chkStatus.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7.8f, UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.chkStatus.ForeColor = UpgradeHelpers.Helpers.Color.Teal; this.chkStatus.Name = "chkStatus"; this.chkStatus.TabIndex = 3; this.chkStatus.Text = "Active for this list"; this.chkStatus.Visible = true; this.Name = "PTSProject.frmNewPromo"; IsMdiChild = true; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var textCellType4 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle6; var textCellType3 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle5; FarPoint.ViewModels.NamedStyle namedStyle4; var textCellType2 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.cboYear = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboYear // this.cboYear.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboYear.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboYear.Name = "cboYear"; this.cboYear.TabIndex = 15; this.cboYear.Text = "cboYear"; this.sprReport = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprReport.MaxRows = 5000; this.sprReport.TabIndex = 14; this.sprReport.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.optD = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); // // optD // this.optD.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.optD.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.optD.Name = "optD"; this.optD.TabIndex = 10; this.optD.Text = "Shift D"; this.optC = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); // // optC // this.optC.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.optC.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.optC.Name = "optC"; this.optC.TabIndex = 9; this.optC.Text = "Shift C"; this.optB = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); // // optB // this.optB.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.optB.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.optB.Name = "optB"; this.optB.TabIndex = 8; this.optB.Text = "Shift B"; this.optA = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); // // optA // this.optA.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.optA.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.optA.Name = "optA"; this.optA.TabIndex = 7; this.optA.Text = "Shift A"; this.opt183 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); // // opt183 // this.opt183.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.opt183.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.opt183.Name = "opt183"; this.opt183.TabIndex = 17; this.opt183.Text = "Batt 3"; this.optAll = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); // // optAll // this.optAll.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.optAll.Checked = true; this.optAll.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.optAll.Name = "optAll"; this.optAll.TabIndex = 5; this.optAll.Text = "ALL"; this.opt182 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); // // opt182 // this.opt182.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.opt182.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.opt182.Name = "opt182"; this.opt182.TabIndex = 4; this.opt182.Text = "Batt 2"; this.opt181 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); // // opt181 // this.opt181.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.opt181.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.opt181.Name = "opt181"; this.opt181.TabIndex = 3; this.opt181.Text = "Batt 1"; this.cboPayPeriod = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboPayPeriod // this.cboPayPeriod.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboPayPeriod.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboPayPeriod.Name = "cboPayPeriod"; this.cboPayPeriod.TabIndex = 0; this.cboPayPeriod.Text = "cboPayPeriod"; this._Label3_1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this._Label6_0 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this.sprReport_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprReport_Sheet1.SheetName = "Sheet1"; //ColumnSpan is OBSOLETE //this.sprReport_Sheet1.Cells.Get(0, 0).ColumnSpan = 11; this.sprReport_Sheet1.Cells.Get(0, 0).Value = "Payroll Payperiod Report for "; this.sprReport_Sheet1.Cells.Get(0, 1).Value = "Payroll Payperiod Report for "; this.sprReport_Sheet1.Cells.Get(0, 2).Value = "Payroll Payperiod Report for "; this.sprReport_Sheet1.Cells.Get(0, 3).Value = "Payroll Payperiod Report for "; this.sprReport_Sheet1.Cells.Get(0, 4).Value = "Payroll Payperiod Report for "; this.sprReport_Sheet1.Cells.Get(0, 5).Value = "Payroll Payperiod Report for "; this.sprReport_Sheet1.Cells.Get(0, 6).Value = "Payroll Payperiod Report for "; this.sprReport_Sheet1.Cells.Get(2, 2).Value = "Payroll Date"; this.sprReport_Sheet1.Cells.Get(2, 3).Value = "A/A Type"; this.sprReport_Sheet1.Cells.Get(2, 4).Value = "Hours"; this.sprReport_Sheet1.Cells.Get(2, 5).Value = "PS Group"; this.sprReport_Sheet1.Cells.Get(2, 6).Value = "Level"; this.sprReport_Sheet1.Cells.Get(2, 7).Value = "Activity"; this.sprReport_Sheet1.Cells.Get(2, 8).Value = "Order"; this.sprReport_Sheet1.Cells.Get(2, 9).Value = "WBS Element"; this.sprReport_Sheet1.Cells.Get(2, 10).Value = "Cost Center"; this.sprReport_Sheet1.ColumnHeader.Rows.Get(0).Height = 0F; this.sprReport_Sheet1.Columns.Get(0).Width = 50F; this.sprReport_Sheet1.Columns.Get(1).Width = 173F; this.sprReport_Sheet1.Columns.Get(2).Width = 82F; this.sprReport_Sheet1.Columns.Get(3).StyleName = "Static875636234754173573621"; this.sprReport_Sheet1.Columns.Get(3).Width = 58F; this.sprReport_Sheet1.Columns.Get(4).StyleName = "Static875636234754173573621"; this.sprReport_Sheet1.Columns.Get(4).Width = 48F; this.sprReport_Sheet1.Columns.Get(5).StyleName = "Static875636234754173573621"; this.sprReport_Sheet1.Columns.Get(5).Width = 69F; this.sprReport_Sheet1.Columns.Get(6).StyleName = "Static875636234754173573621"; this.sprReport_Sheet1.Columns.Get(6).Width = 43F; this.sprReport_Sheet1.Columns.Get(7).StyleName = "Static875636234754173573621"; this.sprReport_Sheet1.Columns.Get(7).Width = 68F; this.sprReport_Sheet1.Columns.Get(8).StyleName = "Static875636234754173573621"; this.sprReport_Sheet1.Columns.Get(8).Width = 93F; this.sprReport_Sheet1.Columns.Get(9).StyleName = "Static875636234754173573621"; this.sprReport_Sheet1.Columns.Get(9).Width = 107F; this.sprReport_Sheet1.Columns.Get(10).StyleName = "Static875636234754173573621"; this.sprReport_Sheet1.Columns.Get(10).Width = 82F; this.sprReport_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.sprReport_Sheet1.Rows.Get(0).Height = 30F; this.cmdPrint = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrint // this.cmdPrint.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrint.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.TabIndex = 13; this.cmdPrint.Text = "Print Report"; this.cmdClear = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClear // this.cmdClear.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClear.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClear.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClear.Name = "cmdClear"; this.cmdClear.TabIndex = 12; this.cmdClear.Text = "Clear Filters"; this.cboClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cboClose // this.cboClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cboClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cboClose.Name = "cboClose"; this.cboClose.TabIndex = 11; this.cboClose.Text = "Close"; this.Text = "Payroll Report"; this.CurrStartDate = ""; this.CurrEndDate = ""; this.CurrBatt = ""; this.CurrShift = ""; this.FirstTime = false; Label6 = ctx.Resolve <System.Collections.Generic.IList <UpgradeHelpers.BasicViewModels.LabelViewModel> >(1); Label6[0] = _Label6_0; Label6[0].BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); Label6[0].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, ((UpgradeHelpers.Helpers .FontStyle)((UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Italic))), UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label6[0].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); Label6[0].Name = "_Label6_0"; Label6[0].TabIndex = 1; Label6[0].Text = "Select a Pay Period:"; Label3 = ctx.Resolve <System.Collections.Generic.IList <UpgradeHelpers.BasicViewModels.LabelViewModel> >(2); Label3[1] = _Label3_1; Label3[1].BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); Label3[1].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, ((UpgradeHelpers.Helpers .FontStyle)((UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Italic))), UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); Label3[1].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); Label3[1].Name = "_Label3_1"; Label3[1].TabIndex = 16; Label3[1].Text = "Year"; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx58636234754173515031", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text389636234754173544326", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static875636234754173573621"); namedStyle3.CellType = textCellType2; namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.Renderer = textCellType2; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; namedStyle4 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color1369636234754173641976"); namedStyle4.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 13F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle4.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(160))))); namedStyle4.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle4.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle4.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle5 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1432636234754173651741"); namedStyle5.CellType = textCellType3; namedStyle5.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle5.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle5.Renderer = textCellType3; namedStyle5.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle6 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1816636234754173720096"); namedStyle6.CellType = textCellType4; namedStyle6.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle6.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle6.Renderer = textCellType4; namedStyle6.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; this.Name = "PTSProject.frmPayrollReport"; IsMdiChild = true; this.sprReport.NamedStyles.Add(namedStyle1); this.sprReport.NamedStyles.Add(namedStyle2); this.sprReport.NamedStyles.Add(namedStyle3); this.sprReport.NamedStyles.Add(namedStyle4); this.sprReport.NamedStyles.Add(namedStyle5); this.sprReport.NamedStyles.Add(namedStyle6); this.sprReport.Sheets.Add(this.sprReport_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.cboYear = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboYear // this.cboYear.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboYear.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboYear.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboYear.Name = "cboYear"; this.cboYear.TabIndex = 28; this.cboYear.Text = "cboYear"; this._optFGrp_0 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this._optFGrp_1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this._optFGrp_2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this._optFGrp_3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this.txtNameSearch = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtNameSearch.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtNameSearch.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.txtNameSearch.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtNameSearch.Name = "txtNameSearch"; this.txtNameSearch.TabIndex = 19; this.txtNameSearch.Text = "txtNameSearch"; this._lbSubTitle_2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); this.lbCount = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbCount // this.lbCount.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.lbCount.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbCount.ForeColor = UpgradeHelpers.Helpers.Color.Red; this.lbCount.Name = "lbCount"; this.lbCount.TabIndex = 22; this.lbCount.Text = "List Count: "; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.Label1.Name = "Label1"; this.Label1.TabIndex = 20; this.Label1.Text = "Employee Name Search:"; this._optGroup_3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this._optGroup_2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this._optGroup_1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this._optGroup_0 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this.txtExpireDate = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtExpireDate.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtExpireDate.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.txtExpireDate.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtExpireDate.Name = "txtExpireDate"; this.txtExpireDate.TabIndex = 4; this.txtExpireDate.Text = "txtExpireDate"; this.txtNRNumber = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtNRNumber.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtNRNumber.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.txtNRNumber.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtNRNumber.Name = "txtNRNumber"; this.txtNRNumber.TabIndex = 3; this.txtNRNumber.Text = "txtNRNumber"; this.txtStateNumber = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtStateNumber.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtStateNumber.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.txtStateNumber.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtStateNumber.Name = "txtStateNumber"; this.txtStateNumber.TabIndex = 2; this.txtStateNumber.Text = "txtStateNumber"; this.txtCountyNumber = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtCountyNumber.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtCountyNumber.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.txtCountyNumber.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtCountyNumber.Name = "txtCountyNumber"; this.txtCountyNumber.TabIndex = 1; this.txtCountyNumber.Text = "txtCountyNumber"; this.Label7 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label7 // this.Label7.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.Label7.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label7.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.Label7.Name = "Label7"; this.Label7.TabIndex = 9; this.Label7.Text = "Cert Expiration Date:"; this.Label2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label2 // this.Label2.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.Label2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label2.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.Label2.Name = "Label2"; this.Label2.TabIndex = 8; this.Label2.Text = "N R #:"; this.Label3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label3 // this.Label3.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.Label3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label3.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.Label3.Name = "Label3"; this.Label3.TabIndex = 7; this.Label3.Text = "State #:"; this.Label4 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label4 // this.Label4.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.Label4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label4.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.Label4.Name = "Label4"; this.Label4.TabIndex = 6; this.Label4.Text = "County #:"; this.Label5 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label5 // this.Label5.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label5.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.Label5.Name = "Label5"; this.Label5.TabIndex = 5; this.Label5.Text = "M/D/YYYY"; this.sprEmployeeList = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprEmployeeList.MaxRows = 600; this.sprEmployeeList.TabIndex = 10; this.sprEmployeeList.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.sprEmployeeList_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprEmployeeList_Sheet1.SheetName = "Sheet1"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 0].Value = "Empl #"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 1].Value = "Name"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 2].Value = "Grp #"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 3].Value = "Unit"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 4].Value = "Shft"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 5].Value = "Position"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 6].Value = "Cert Exp"; this.sprEmployeeList_Sheet1.ColumnHeader.Cells[0, 7].Value = "ID"; this.sprEmployeeList_Sheet1.ColumnHeader.Rows.Get(0).Height = 27F; this.sprEmployeeList_Sheet1.Columns.Get(0).Label = "Empl #"; this.sprEmployeeList_Sheet1.Columns.Get(0).Width = 49F; this.sprEmployeeList_Sheet1.Columns.Get(1).Label = "Name"; this.sprEmployeeList_Sheet1.Columns.Get(1).Width = 154F; this.sprEmployeeList_Sheet1.Columns.Get(2).Label = "Grp #"; this.sprEmployeeList_Sheet1.Columns.Get(2).Width = 33F; this.sprEmployeeList_Sheet1.Columns.Get(3).Label = "Unit"; //this.sprEmployeeList_Sheet1.Columns.Get(3).SortIndicator = FarPoint.ViewModels.SortIndicator.Ascending; this.sprEmployeeList_Sheet1.Columns.Get(3).Width = 34F; this.sprEmployeeList_Sheet1.Columns.Get(4).Label = "Shft"; this.sprEmployeeList_Sheet1.Columns.Get(4).Width = 26F; this.sprEmployeeList_Sheet1.Columns.Get(5).Label = "Position"; this.sprEmployeeList_Sheet1.Columns.Get(5).Width = 51F; this.sprEmployeeList_Sheet1.Columns.Get(6).Label = "Cert Exp"; this.sprEmployeeList_Sheet1.Columns.Get(6).Width = 58F; this.sprEmployeeList_Sheet1.Columns.Get(7).Label = "ID"; this.sprEmployeeList_Sheet1.Columns.Get(7).Visible = false; this.sprEmployeeList_Sheet1.Columns.Get(7).Width = 0F; this.sprEmployeeList_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.sprEmployeeList_Sheet1.Rows.Get(0).Height = 14F; this.cmdClear = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClear // this.cmdClear.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClear.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClear.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClear.Name = "cmdClear"; this.cmdClear.TabIndex = 21; this.cmdClear.Text = "Clear and Refresh"; this.cmdExit = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdExit // this.cmdExit.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdExit.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdExit.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdExit.Name = "cmdExit"; this.cmdExit.TabIndex = 18; this.cmdExit.Text = "Exit"; this.chkMedicFlag = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); // // chkMedicFlag // this.chkMedicFlag.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.chkMedicFlag.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.chkMedicFlag.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.chkMedicFlag.Name = "chkMedicFlag"; this.chkMedicFlag.TabIndex = 30; this.chkMedicFlag.Text = "Available to Work As Medic?"; this.cmdDone = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdDone // this.cmdDone.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdDone.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdDone.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdDone.Name = "cmdDone"; this.cmdDone.TabIndex = 11; this.cmdDone.Text = "Done"; this.Text = "TFD EMS Certification Information"; this._clCerts = null; this.CurrPersID = 0; optGroup = ctx.Resolve <System.Collections.Generic.IList <UpgradeHelpers.BasicViewModels.RadioButtonViewModel> >(4); optGroup[3] = _optGroup_3; optGroup[2] = _optGroup_2; optGroup[1] = _optGroup_1; optGroup[0] = _optGroup_0; optGroup[3].BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); optGroup[3].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); optGroup[3].ForeColor = UpgradeHelpers.Helpers.Color.Lime; optGroup[3].Name = "_optGroup_3"; optGroup[3].TabIndex = 16; optGroup[3].Text = "Group 3"; optGroup[2].BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); optGroup[2].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); optGroup[2].ForeColor = UpgradeHelpers.Helpers.Color.Lime; optGroup[2].Name = "_optGroup_2"; optGroup[2].TabIndex = 15; optGroup[2].Text = "Group 2"; optGroup[1].BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); optGroup[1].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); optGroup[1].ForeColor = UpgradeHelpers.Helpers.Color.Lime; optGroup[1].Name = "_optGroup_1"; optGroup[1].TabIndex = 14; optGroup[1].Text = "Group1"; optGroup[0].BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); optGroup[0].Checked = true; optGroup[0].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); optGroup[0].ForeColor = UpgradeHelpers.Helpers.Color.Lime; optGroup[0].Name = "_optGroup_0"; optGroup[0].TabIndex = 13; optGroup[0].Text = "No Group"; this.RecordExists = false; this.FirstTime = false; optFGrp = ctx.Resolve <System.Collections.Generic.IList <UpgradeHelpers.BasicViewModels.RadioButtonViewModel> >(4); optFGrp[0] = _optFGrp_0; optFGrp[1] = _optFGrp_1; optFGrp[2] = _optFGrp_2; optFGrp[3] = _optFGrp_3; optFGrp[0].BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); optFGrp[0].Checked = true; optFGrp[0].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); optFGrp[0].ForeColor = UpgradeHelpers.Helpers.Color.Lime; optFGrp[0].Name = "_optFGrp_0"; optFGrp[0].TabIndex = 27; optFGrp[0].Text = "ALL"; optFGrp[1].BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); optFGrp[1].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); optFGrp[1].ForeColor = UpgradeHelpers.Helpers.Color.Lime; optFGrp[1].Name = "_optFGrp_1"; optFGrp[1].TabIndex = 26; optFGrp[1].Text = "Group1"; optFGrp[2].BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); optFGrp[2].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); optFGrp[2].ForeColor = UpgradeHelpers.Helpers.Color.Lime; optFGrp[2].Name = "_optFGrp_2"; optFGrp[2].TabIndex = 25; optFGrp[2].Text = "Group 2"; optFGrp[3].BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); optFGrp[3].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); optFGrp[3].ForeColor = UpgradeHelpers.Helpers.Color.Lime; optFGrp[3].Name = "_optFGrp_3"; optFGrp[3].TabIndex = 24; optFGrp[3].Text = "Group 3"; this.SelectedEmpRow = 0; lbSubTitle = ctx.Resolve <System.Collections.Generic.IList <UpgradeHelpers.BasicViewModels.LabelViewModel> >(3); lbSubTitle[2] = _lbSubTitle_2; lbSubTitle[2].BackColor = UpgradeHelpers.Helpers.Color.Transparent; lbSubTitle[2].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); lbSubTitle[2].ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); lbSubTitle[2].Name = "_lbSubTitle_2"; lbSubTitle[2].TabIndex = 29; lbSubTitle[2].Text = "Filter by Cert Exp Year:"; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color50636234755222598276", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8F); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text273636234755222598276", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8F); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; this.Name = "PTSProject.frmPMCertification"; IsMdiChild = true; this.sprEmployeeList.NamedStyles.Add(namedStyle1); this.sprEmployeeList.NamedStyles.Add(namedStyle2); this.sprEmployeeList.Sheets.Add(this.sprEmployeeList_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); FarPoint.ViewModels.NamedStyle namedStyle8; FarPoint.ViewModels.NamedStyle namedStyle7; FarPoint.ViewModels.NamedStyle namedStyle6; FarPoint.ViewModels.NamedStyle namedStyle5; var textCellType2 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle4; FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.sprIndiv = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprIndiv.TabIndex = 6; this.sprIndiv.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.cboNameList = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboNameList // this.cboNameList.BackColor = UpgradeHelpers.Helpers.Color.White; this.cboNameList.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.6F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboNameList.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboNameList.Name = "cboNameList"; this.cboNameList.TabIndex = 1; this.cboYear = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboYear // this.cboYear.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboYear.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.6F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboYear.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboYear.Name = "cboYear"; this.cboYear.TabIndex = 0; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.4F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.Label1.Name = "Label1"; this.Label1.TabIndex = 5; this.Label1.Text = "Select Employee"; this.Label3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label3 // this.Label3.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.4F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label3.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.Label3.Name = "Label3"; this.Label3.TabIndex = 4; this.Label3.Text = "Report Year"; this.sprIndiv_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprIndiv_Sheet1.SheetName = "Sheet1"; //ColumnSpan is OBSOLETE //this.sprIndiv_Sheet1.Cells.Get(0, 0).ColumnSpan = 3; this.sprIndiv_Sheet1.Cells.Get(0, 0).Value = "Tacoma Fire Department"; this.sprIndiv_Sheet1.Cells.Get(0, 1).Value = "Tacoma Fire Department"; this.sprIndiv_Sheet1.Cells.Get(0, 2).Value = "Tacoma Fire Department"; //this.sprIndiv_Sheet1.Cells.Get(1, 0).ColumnSpan = 6; this.sprIndiv_Sheet1.Cells.Get(1, 0).Value = "Individual Annual Payroll Report"; this.sprIndiv_Sheet1.Cells.Get(1, 1).Value = "Individual Annual Payroll Report"; this.sprIndiv_Sheet1.Cells.Get(1, 2).Value = "Individual Annual Payroll Report"; this.sprIndiv_Sheet1.Cells.Get(1, 3).Value = "Individual Annual Payroll Report"; this.sprIndiv_Sheet1.Cells.Get(1, 4).Value = "Individual Annual Payroll Report"; this.sprIndiv_Sheet1.Cells.Get(1, 5).Value = "Individual Annual Payroll Report"; //ColumnSpan is OBSOLETE //this.sprIndiv_Sheet1.Cells.Get(3, 0).ColumnSpan = 2; this.sprIndiv_Sheet1.Cells.Get(3, 0).Value = "Employee Name"; this.sprIndiv_Sheet1.Cells.Get(3, 2).Value = "Emp ID"; //this.sprIndiv_Sheet1.Cells.Get(3, 3).ColumnSpan = 5; this.sprIndiv_Sheet1.Cells.Get(4, 0).Value = "Ps Group"; this.sprIndiv_Sheet1.Cells.Get(4, 1).Value = "Unit"; this.sprIndiv_Sheet1.Cells.Get(4, 2).Value = "Position"; this.sprIndiv_Sheet1.Cells.Get(4, 3).Value = "Shift"; this.sprIndiv_Sheet1.Cells.Get(4, 4).Value = "Debit Grp"; this.sprIndiv_Sheet1.ColumnHeader.Rows.Get(0).Height = 0F; this.sprIndiv_Sheet1.Columns.Get(0).Width = 135F; this.sprIndiv_Sheet1.Columns.Get(1).Width = 73F; this.sprIndiv_Sheet1.Columns.Get(2).Width = 66F; this.sprIndiv_Sheet1.Columns.Get(3).Width = 55F; this.sprIndiv_Sheet1.Columns.Get(4).Width = 68F; this.sprIndiv_Sheet1.Columns.Get(6).Width = 146F; this.sprIndiv_Sheet1.Columns.Get(7).Width = 93F; this.sprIndiv_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.sprIndiv_Sheet1.Rows.Get(0).Height = 22F; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 12F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 3; this.cmdClose.Text = "&Close"; this.cmdPrint = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrint // this.cmdPrint.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrint.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 12F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.TabIndex = 2; this.cmdPrint.Text = "&Print"; this.Text = "Individual Annual Payroll Report"; this.CurrRow = 0; this.ReportYear = 0; this.LastRow = 0; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx58636234721419600276", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text420636234721419619806", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font1182636234721419658866"); namedStyle3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 13F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle4 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1229636234721419658866"); namedStyle4.CellType = textCellType2; namedStyle4.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle4.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle4.Renderer = textCellType2; namedStyle4.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; namedStyle5 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font1392636234721419707691"); namedStyle5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle5.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle5.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle5.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle6 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font1809636234721419776046"); namedStyle6.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle6.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle6.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle6.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle7 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1874636234721419776046"); namedStyle7.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle7.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle7.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle7.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle8 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx2233636234721419834636"); namedStyle8.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle8.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle8.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; this.Name = "PTSProject.frmIndAnnualPayroll"; IsMdiChild = true; cboYear.Items.Add("1998"); cboYear.Items.Add("1999"); cboYear.Items.Add("2000"); cboYear.Items.Add("2001"); cboYear.Items.Add("2002"); cboYear.Items.Add("2003"); cboYear.Items.Add("2004"); cboYear.Items.Add("2005"); this.sprIndiv.NamedStyles.Add(namedStyle1); this.sprIndiv.NamedStyles.Add(namedStyle2); this.sprIndiv.NamedStyles.Add(namedStyle3); this.sprIndiv.NamedStyles.Add(namedStyle4); this.sprIndiv.NamedStyles.Add(namedStyle5); this.sprIndiv.NamedStyles.Add(namedStyle6); this.sprIndiv.NamedStyles.Add(namedStyle7); this.sprIndiv.NamedStyles.Add(namedStyle8); this.sprIndiv.Sheets.Add(this.sprIndiv_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.txtTotal = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtTotal.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtTotal.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.txtTotal.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtTotal.Name = "txtTotal"; this.txtTotal.TabIndex = 0; this.txtTotal.Text = "txtTotal"; this.Label2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label2 // this.Label2.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(64, 0, 0); this.Label2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9.75f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label2.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label2.Name = "Label2"; this.Label2.TabIndex = 5; this.Label2.Text = "New Total:"; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(64, 0, 0); this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers .FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 128, 128); this.Label1.Name = "Label1"; this.Label1.TabIndex = 4; this.Label1.Text = "Change the Holiday Max total for:"; this.lblEmployeeName = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lblEmployeeName // this.lblEmployeeName.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(64, 0, 0); this.lblEmployeeName.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 11.25f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lblEmployeeName.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 128); this.lblEmployeeName.Name = "lblEmployeeName"; this.lblEmployeeName.TabIndex = 3; this.lblEmployeeName.Text = "lblEmployeeName"; this.CancelButton_Renamed = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // CancelButton_Renamed // this.CancelButton_Renamed.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.CancelButton_Renamed.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.CancelButton_Renamed.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.CancelButton_Renamed.Name = "CancelButton_Renamed"; this.CancelButton_Renamed.TabIndex = 2; this.CancelButton_Renamed.Text = "Cancel"; this.OKButton = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // OKButton // this.OKButton.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.OKButton.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.OKButton.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.OKButton.Name = "OKButton"; this.OKButton.TabIndex = 1; this.OKButton.Text = "Done"; this.Text = "Change Holiday Max Totals"; this.Name = "PTSProject.dlgChangeMaxHoliday"; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.txtSAPEmpID = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtSAPEmpID.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtSAPEmpID.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtSAPEmpID.Name = "txtSAPEmpID"; this.txtSAPEmpID.TabIndex = 54; this.txtEmpID = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtEmpID.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtEmpID.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtEmpID.Name = "txtEmpID"; this.txtEmpID.TabIndex = 52; this.cboJobCode = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboJobCode // this.cboJobCode.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboJobCode.Enabled = true; this.cboJobCode.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboJobCode.Name = "cboJobCode"; this.cboJobCode.TabIndex = 42; this.cboJobCode.Text = "cboJobCode"; this.cboJobCode.Visible = true; this.txtStep = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtStep.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtStep.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtStep.Name = "txtStep"; this.txtStep.TabIndex = 41; this.txtStep.Text = " "; this.txtNameKnownBy = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtNameKnownBy.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtNameKnownBy.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtNameKnownBy.Name = "txtNameKnownBy"; this.txtNameKnownBy.TabIndex = 23; this.txtNameKnownBy.Text = " "; this.txtCOT = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtCOT.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtCOT.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtCOT.Name = "txtCOT"; this.txtCOT.TabIndex = 22; this.txtSex = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtSex.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtSex.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtSex.Name = "txtSex"; this.txtSex.TabIndex = 21; this.txtTFD = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtTFD.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtTFD.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtTFD.Name = "txtTFD"; this.txtTFD.TabIndex = 20; this.txtBDay = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtBDay.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtBDay.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtBDay.Name = "txtBDay"; this.txtBDay.TabIndex = 19; this.txtException = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtException.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtException.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtException.Name = "txtException"; this.txtException.TabIndex = 18; this.txtPhone = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtPhone.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtPhone.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtPhone.Name = "txtPhone"; this.txtPhone.TabIndex = 17; this.cboBenefit = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboBenefit // this.cboBenefit.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboBenefit.Enabled = true; this.cboBenefit.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboBenefit.Name = "cboBenefit"; this.cboBenefit.TabIndex = 16; this.cboBenefit.Visible = true; this.txtAddress = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtAddress.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtAddress.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtAddress.Name = "txtAddress"; this.txtAddress.TabIndex = 15; this.txtState = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtState.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtState.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtState.Name = "txtState"; this.txtState.TabIndex = 14; this.txtZip = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtZip.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtZip.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtZip.Name = "txtZip"; this.txtZip.TabIndex = 13; this.txtUnion = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtUnion.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtUnion.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtUnion.Name = "txtUnion"; this.txtUnion.TabIndex = 12; this.txtSSN = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtSSN.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtSSN.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtSSN.Name = "txtSSN"; this.txtSSN.TabIndex = 10; this.txtExit = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtExit.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtExit.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtExit.Name = "txtExit"; this.txtExit.TabIndex = 9; this.txtExit.Visible = false; this.cboExitType = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboExitType // this.cboExitType.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboExitType.Enabled = true; this.cboExitType.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboExitType.Name = "cboExitType"; this.cboExitType.TabIndex = 8; this.cboExitType.Visible = false; this.txtExitComments = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtExitComments.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtExitComments.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtExitComments.Name = "txtExitComments"; this.txtExitComments.TabIndex = 7; this.txtExitComments.Visible = false; this.txtCity = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtCity.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtCity.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtCity.Name = "txtCity"; this.txtCity.TabIndex = 6; this.Label18 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label18 // this.Label18.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.Label18.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label18.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.Label18.Name = "Label18"; this.Label18.TabIndex = 40; this.Label18.Text = "Name Known By"; this.Label7 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label7 // this.Label7.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label7.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers .FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label7.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label7.Name = "Label7"; this.Label7.TabIndex = 39; this.Label7.Text = "COT Service Date"; this.Label9 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label9 // this.Label9.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label9.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers .FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label9.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label9.Name = "Label9"; this.Label9.TabIndex = 38; this.Label9.Text = "Birth Date"; this.Label14 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label14 // this.Label14.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label14.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label14.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label14.Name = "Label14"; this.Label14.TabIndex = 37; this.Label14.Text = "Sex"; this.Label8 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label8 // this.Label8.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label8.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers .FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label8.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label8.Name = "Label8"; this.Label8.TabIndex = 36; this.Label8.Text = "TFD Hire Date"; this.Label20 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label20 // this.Label20.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label20.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label20.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label20.Name = "Label20"; this.Label20.TabIndex = 35; this.Label20.Text = "Exception Days"; this.Label13 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label13 // this.Label13.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label13.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label13.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label13.Name = "Label13"; this.Label13.TabIndex = 34; this.Label13.Text = "Home Phone"; this.Label10 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label10 // this.Label10.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label10.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label10.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label10.Name = "Label10"; this.Label10.TabIndex = 33; this.Label10.Text = "Address"; this.Label16 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label16 // this.Label16.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label16.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label16.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label16.Name = "Label16"; this.Label16.TabIndex = 32; this.Label16.Text = "Benefit Program"; this.Label11 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label11 // this.Label11.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label11.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label11.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label11.Name = "Label11"; this.Label11.TabIndex = 31; this.Label11.Text = "State"; this.Label17 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label17 // this.Label17.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label17.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label17.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label17.Name = "Label17"; this.Label17.TabIndex = 30; this.Label17.Text = "City"; this.Label12 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label12 // this.Label12.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label12.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label12.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label12.Name = "Label12"; this.Label12.TabIndex = 29; this.Label12.Text = "Zip"; this.lbUnion = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbUnion // this.lbUnion.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbUnion.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbUnion.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.lbUnion.Name = "lbUnion"; this.lbUnion.TabIndex = 28; this.lbUnion.Text = "Union"; this.Label15 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label15 // this.Label15.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label15.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label15.ForeColor = UpgradeHelpers.Helpers.Color.Black; this.Label15.Name = "Label15"; this.Label15.TabIndex = 27; this.Label15.Text = "Social Security #"; this.lbExit = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbExit // this.lbExit.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.lbExit.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers.Helpers .FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbExit.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.lbExit.Name = "lbExit"; this.lbExit.TabIndex = 26; this.lbExit.Text = "Exit Date"; this.lbExit.Visible = false; this.lbExitType = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbExitType // this.lbExitType.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.lbExitType.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbExitType.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.lbExitType.Name = "lbExitType"; this.lbExitType.TabIndex = 25; this.lbExitType.Text = "Exit Type"; this.lbExitType.Visible = false; this.lbExitComments = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbExitComments // this.lbExitComments.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.lbExitComments.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbExitComments.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.lbExitComments.Name = "lbExitComments"; this.lbExitComments.TabIndex = 24; this.lbExitComments.Text = "Exit Comments"; this.lbExitComments.Visible = false; this.txtSName = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtSName.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtSName.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtSName.Name = "txtSName"; this.txtSName.TabIndex = 47; this.txtSName.Text = " "; this.txtLName = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtLName.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtLName.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtLName.Name = "txtLName"; this.txtLName.TabIndex = 46; this.txtMName = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtMName.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtMName.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtMName.Name = "txtMName"; this.txtMName.TabIndex = 45; this.txtFName = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtFName.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtFName.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtFName.Name = "txtFName"; this.txtFName.TabIndex = 44; this.Label6 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label6 // this.Label6.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label6.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label6.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label6.Name = "Label6"; this.Label6.TabIndex = 51; this.Label6.Text = "Suffix"; this.Label3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label3 // this.Label3.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 64, 64); this.Label3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label3.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label3.Name = "Label3"; this.Label3.TabIndex = 50; this.Label3.Text = "Last Name"; this.Label2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label2 // this.Label2.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 64, 64); this.Label2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label2.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label2.Name = "Label2"; this.Label2.TabIndex = 49; this.Label2.Text = "MI"; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 64, 64); this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label1.Name = "Label1"; this.Label1.TabIndex = 48; this.Label1.Text = "First Name"; this.Picture1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.PictureBoxViewModel>(); // // Picture1 // this.Picture1.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 64, 64); this.Picture1.Enabled = true; this.Picture1.Name = "Picture1"; this.Picture1.Visible = true; this.Label19 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label19 // this.Label19.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label19.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label19.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label19.Name = "Label19"; this.Label19.TabIndex = 60; this.Label19.Text = "SAP Employee #"; this.Label22 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label22 // this.Label22.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label22.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label22.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label22.Name = "Label22"; this.Label22.TabIndex = 59; this.Label22.Text = "TFD Employee #"; this.Label4 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label4 // this.Label4.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label4.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label4.Name = "Label4"; this.Label4.TabIndex = 58; this.Label4.Text = "Job Title"; this.Label5 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label5 // this.Label5.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label5.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.Label5.Name = "Label5"; this.Label5.TabIndex = 57; this.Label5.Text = "Job Code"; this.lbStep = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbStep // this.lbStep.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbStep.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbStep.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.lbStep.Name = "lbStep"; this.lbStep.TabIndex = 56; this.lbStep.Text = "Step"; this.lbJobCode = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbJobCode // this.lbJobCode.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbJobCode.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbJobCode.ForeColor = UpgradeHelpers.Helpers.Color.Silver; this.lbJobCode.Name = "lbJobCode"; this.lbJobCode.TabIndex = 55; this.Shape5 = ctx.Resolve <VB6Helpers.ViewModels.ShapeHelperViewModel>(); this.Shape5.Enabled = false; this.Shape5.Name = "Shape5"; this.Shape5.Visible = true; this.cmdSwitch = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdSwitch // this.cmdSwitch.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdSwitch.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdSwitch.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdSwitch.Name = "cmdSwitch"; this.cmdSwitch.TabIndex = 53; this.cmdSwitch.Tag = "1"; this.cmdSwitch.Text = "Add New Archived &Employee"; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 4; this.cmdClose.Text = "&Close"; this.cmdAssign = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdAssign // this.cmdAssign.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdAssign.Enabled = false; this.cmdAssign.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdAssign.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdAssign.Name = "cmdAssign"; this.cmdAssign.TabIndex = 3; this.cmdAssign.Text = "A&ssign"; this.cmdAdd = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdAdd // this.cmdAdd.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdAdd.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdAdd.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdAdd.Name = "cmdAdd"; this.cmdAdd.TabIndex = 2; this.cmdAdd.Text = "&Add New Employee"; this.cmdClear = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClear // this.cmdClear.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClear.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdClear.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClear.Name = "cmdClear"; this.cmdClear.TabIndex = 1; this.cmdClear.Text = "C&lear"; this.Text = "ADD NEW EMPLOYEE"; this.chkStatus = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); this.chkStatus.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.chkStatus.CheckState = UpgradeHelpers.Helpers.CheckState.Checked; this.chkStatus.Enabled = true; this.chkStatus.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.chkStatus.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.chkStatus.Name = "chkStatus"; this.chkStatus.TabIndex = 11; this.chkStatus.Text = "Active?"; this.chkStatus.Visible = true; this.Name = "PTSProject.frmAddNew"; IsMdiChild = true; cboExitType.Items.Add("Retirement"); cboExitType.Items.Add("Transfer"); cboExitType.Items.Add("Resignation"); cboExitType.Items.Add("Termination"); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var textCellType10 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle28; FarPoint.ViewModels.NamedStyle namedStyle27; FarPoint.ViewModels.NamedStyle namedStyle26; FarPoint.ViewModels.NamedStyle namedStyle25; var textCellType9 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle24; FarPoint.ViewModels.NamedStyle namedStyle23; FarPoint.ViewModels.NamedStyle namedStyle22; var textCellType8 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle21; FarPoint.ViewModels.NamedStyle namedStyle20; var textCellType7 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle19; FarPoint.ViewModels.NamedStyle namedStyle18; var textCellType6 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle17; FarPoint.ViewModels.NamedStyle namedStyle16; FarPoint.ViewModels.NamedStyle namedStyle15; FarPoint.ViewModels.NamedStyle namedStyle14; FarPoint.ViewModels.NamedStyle namedStyle13; var textCellType5 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle12; FarPoint.ViewModels.NamedStyle namedStyle11; var textCellType4 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle10; FarPoint.ViewModels.NamedStyle namedStyle9; FarPoint.ViewModels.NamedStyle namedStyle8; FarPoint.ViewModels.NamedStyle namedStyle7; var textCellType3 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle6; FarPoint.ViewModels.NamedStyle namedStyle5; var textCellType2 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle4; FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.cboYear = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboYear // this.cboYear.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboYear.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboYear.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboYear.Name = "cboYear"; this.cboYear.TabIndex = 3; this.cboMonth = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboMonth // this.cboMonth.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboMonth.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cboMonth.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboMonth.Name = "cboMonth"; this.cboMonth.TabIndex = 2; this.sprMonth2 = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprMonth2.MaxRows = 68; this.sprMonth2.TabIndex = 4; this.sprMonth2.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.Label3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label3 // this.Label3.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label3.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.Label3.Name = "Label3"; this.Label3.TabIndex = 6; this.Label3.Text = "Report Year"; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); this.Label1.Name = "Label1"; this.Label1.TabIndex = 5; this.Label1.Text = "Report Month"; this.sprMonth2_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprMonth2_Sheet1.SheetName = "Sheet1"; //ColumnSpan is OBSOLETE //this.sprMonth2_Sheet1.Cells.Get(0, 0).ColumnSpan = 7; this.sprMonth2_Sheet1.Cells.Get(0, 0).Value = "Month"; this.sprMonth2_Sheet1.Cells.Get(0, 1).Value = "Month"; this.sprMonth2_Sheet1.Cells.Get(0, 2).Value = "Month"; this.sprMonth2_Sheet1.Cells.Get(0, 3).Value = "Month"; this.sprMonth2_Sheet1.Cells.Get(0, 4).Value = "Month"; this.sprMonth2_Sheet1.Cells.Get(0, 5).Value = "Month"; this.sprMonth2_Sheet1.Cells.Get(0, 6).Value = "Month"; this.sprMonth2_Sheet1.Cells.Get(1, 0).Value = "Sunday"; this.sprMonth2_Sheet1.Cells.Get(1, 1).Value = "Monday"; this.sprMonth2_Sheet1.Cells.Get(1, 2).Value = "Tuesday"; this.sprMonth2_Sheet1.Cells.Get(1, 3).Value = "Wednesday"; this.sprMonth2_Sheet1.Cells.Get(1, 4).Value = "Thursday"; this.sprMonth2_Sheet1.Cells.Get(1, 5).Value = "Friday"; this.sprMonth2_Sheet1.Cells.Get(1, 6).Value = "Saturday"; this.sprMonth2_Sheet1.ColumnHeader.Rows.Get(0).Height = 0F; this.sprMonth2_Sheet1.Columns.Get(0).Width = 96F; this.sprMonth2_Sheet1.Columns.Get(1).Width = 96F; this.sprMonth2_Sheet1.Columns.Get(2).Width = 96F; this.sprMonth2_Sheet1.Columns.Get(3).Width = 96F; this.sprMonth2_Sheet1.Columns.Get(4).Width = 96F; this.sprMonth2_Sheet1.Columns.Get(5).Width = 96F; this.sprMonth2_Sheet1.Columns.Get(6).Width = 96F; this.sprMonth2_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.sprMonth2_Sheet1.Rows.Get(0).Height = 25F; this.sprMonth2_Sheet1.Rows.Get(1).Height = 23F; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 1; this.cmdClose.Text = "Close"; this.cmdPrint = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrint // this.cmdPrint.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrint.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.TabIndex = 0; this.cmdPrint.Text = "Print"; this.Text = "Dispatch Leave"; this.ThisYear = 0; this.ThisMonth = 0; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color50636234692912508831", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text401636234692912518596", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1183636234692912547891"); namedStyle3.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(128))))); namedStyle3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 18F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle3.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle4 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1239636234692912567421"); namedStyle4.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(128))))); namedStyle4.CellType = textCellType2; namedStyle4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 18F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle4.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); namedStyle4.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle4.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle4.Renderer = textCellType2; namedStyle4.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle5 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1297636234692912577186"); namedStyle5.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(128))))); namedStyle5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 18F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle5.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); namedStyle5.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle5.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle5.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle6 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1353636234692912596716"); namedStyle6.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(128))))); namedStyle6.CellType = textCellType3; namedStyle6.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 18F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle6.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); namedStyle6.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle6.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle6.Renderer = textCellType3; namedStyle6.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle7 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1411636234692912596716"); namedStyle7.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(128))))); namedStyle7.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); namedStyle7.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle7.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle7.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle8 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1525636234692912616246"); namedStyle8.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle8.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle8.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle9 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1867636234692912694366"); namedStyle9.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(128))))); namedStyle9.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 18F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle9.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); namedStyle9.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle9.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle9.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle10 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1923636234692912704131"); namedStyle10.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(128))))); namedStyle10.CellType = textCellType4; namedStyle10.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 18F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle10.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); namedStyle10.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle10.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle10.Renderer = textCellType4; namedStyle10.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle11 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx2010636234692912713896"); namedStyle11.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle11.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F, ((UpgradeHelpers.Helpers.FontStyle)((UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Italic)))); namedStyle11.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle11.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle11.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle11.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle12 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static2066636234692912733426"); namedStyle12.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle12.CellType = textCellType5; namedStyle12.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F, ((UpgradeHelpers.Helpers.FontStyle)((UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Italic)))); namedStyle12.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle12.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle12.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle12.Renderer = textCellType5; namedStyle12.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle13 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx2125636234692912743191"); namedStyle13.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle13.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle13.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle13.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle13.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle14 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx2240636234692912762721"); namedStyle14.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle14.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle14.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle15 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font2801636234692912870136"); namedStyle15.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7F); namedStyle15.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle15.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle15.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle16 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx2850636234692912870136"); namedStyle16.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); namedStyle16.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle16.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle16.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle16.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle17 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static2890636234692912889666"); namedStyle17.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); namedStyle17.CellType = textCellType6; namedStyle17.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle17.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle17.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle17.Renderer = textCellType6; namedStyle17.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle18 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color2912636234692912899431"); namedStyle18.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); namedStyle18.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle18.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle18.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle18.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle19 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static2930636234692912899431"); namedStyle19.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); namedStyle19.CellType = textCellType7; namedStyle19.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle19.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle19.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle19.Renderer = textCellType7; namedStyle19.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle20 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx3128636234692912948256"); namedStyle20.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); namedStyle20.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle20.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle20.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle20.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle21 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static3168636234692912958021"); namedStyle21.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); namedStyle21.CellType = textCellType8; namedStyle21.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle21.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle21.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle21.Renderer = textCellType8; namedStyle21.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle22 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx3217636234692912958021"); namedStyle22.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle22.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle22.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle23 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx3494636234692912987316"); namedStyle23.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle23.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle23.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle24 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1897636234692913368151"); namedStyle24.CellType = textCellType9; namedStyle24.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7F); namedStyle24.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle24.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle24.Renderer = textCellType9; namedStyle24.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle25 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1935636234692913377916"); namedStyle25.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle25.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle25.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle26 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx2105636234692913416976"); namedStyle26.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle26.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle26.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle27 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx592636234692913836871"); namedStyle27.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle27.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle27.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle28 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static3910636234692914286061"); namedStyle28.CellType = textCellType10; namedStyle28.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7F); namedStyle28.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle28.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle28.Renderer = textCellType10; namedStyle28.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; this.Name = "PTSProject.frmDispatchLeave"; IsMdiChild = true; cboYear.Items.Add("1998"); cboYear.Items.Add("1999"); cboYear.Items.Add("2000"); cboYear.Items.Add("2001"); cboYear.Items.Add("2002"); cboYear.Items.Add("2003"); cboYear.Items.Add("2004"); cboYear.Items.Add("2005"); cboYear.Items.Add("2006"); cboYear.Items.Add("2007"); cboYear.Items.Add("2008"); this.sprMonth2.NamedStyles.Add(namedStyle1); this.sprMonth2.NamedStyles.Add(namedStyle2); this.sprMonth2.NamedStyles.Add(namedStyle3); this.sprMonth2.NamedStyles.Add(namedStyle4); this.sprMonth2.NamedStyles.Add(namedStyle5); this.sprMonth2.NamedStyles.Add(namedStyle6); this.sprMonth2.NamedStyles.Add(namedStyle7); this.sprMonth2.NamedStyles.Add(namedStyle8); this.sprMonth2.NamedStyles.Add(namedStyle9); this.sprMonth2.NamedStyles.Add(namedStyle10); this.sprMonth2.NamedStyles.Add(namedStyle11); this.sprMonth2.NamedStyles.Add(namedStyle12); this.sprMonth2.NamedStyles.Add(namedStyle13); this.sprMonth2.NamedStyles.Add(namedStyle14); this.sprMonth2.NamedStyles.Add(namedStyle15); this.sprMonth2.NamedStyles.Add(namedStyle16); this.sprMonth2.NamedStyles.Add(namedStyle17); this.sprMonth2.NamedStyles.Add(namedStyle18); this.sprMonth2.NamedStyles.Add(namedStyle19); this.sprMonth2.NamedStyles.Add(namedStyle20); this.sprMonth2.NamedStyles.Add(namedStyle21); this.sprMonth2.NamedStyles.Add(namedStyle22); this.sprMonth2.NamedStyles.Add(namedStyle23); this.sprMonth2.NamedStyles.Add(namedStyle24); this.sprMonth2.NamedStyles.Add(namedStyle25); this.sprMonth2.NamedStyles.Add(namedStyle26); this.sprMonth2.NamedStyles.Add(namedStyle27); this.sprMonth2.NamedStyles.Add(namedStyle28); this.sprMonth2.Sheets.Add(this.sprMonth2_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.Name = "UpgradeHelpers.DB.RecordSetHelper"; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.sprPromoList = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprPromoList.TabIndex = 15; this.sprPromoList.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.sprPromoList.Visible = false; this.txtComment = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtComment.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtComment.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.txtComment.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtComment.Name = "txtComment"; this.txtComment.TabIndex = 5; this.txtComment.Text = "txtComment"; this.txtComment.Visible = false; this.txtExclusion = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtExclusion.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtExclusion.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.txtExclusion.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtExclusion.Name = "txtExclusion"; this.txtExclusion.TabIndex = 3; this.txtExclusion.Text = "txtExclusion"; this.txtExclusion.Visible = false; this.txtPromoDate = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtPromoDate.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtPromoDate.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.txtPromoDate.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtPromoDate.Name = "txtPromoDate"; this.txtPromoDate.TabIndex = 2; this.txtPromoDate.Text = "txtPromoDate"; this.txtPromoDate.Visible = false; this.cboPromotion = ctx.Resolve <UpgradeHelpers.BasicViewModels.ComboBoxViewModel>(); // // cboPromotion // this.cboPromotion.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.cboPromotion.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.cboPromotion.Name = "cboPromotion"; this.cboPromotion.TabIndex = 1; this.cboPromotion.Text = "cboPromotion"; this.lbAction = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbAction // this.lbAction.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.lbAction.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, ((UpgradeHelpers.Helpers .FontStyle)((UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Italic))), UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbAction.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.lbAction.Name = "lbAction"; this.lbAction.TabIndex = 14; this.lbAction.Text = "Action"; this.lbAction.Visible = false; this.lbEntry3 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbEntry3 // this.lbEntry3.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.lbEntry3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbEntry3.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.lbEntry3.Name = "lbEntry3"; this.lbEntry3.TabIndex = 13; this.lbEntry3.Text = "Comments"; this.lbEntry3.Visible = false; this.lbEntry2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbEntry2 // this.lbEntry2.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.lbEntry2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbEntry2.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.lbEntry2.Name = "lbEntry2"; this.lbEntry2.TabIndex = 12; this.lbEntry2.Text = "Exclusion Days"; this.lbEntry2.Visible = false; this.lbEntry1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbEntry1 // this.lbEntry1.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.lbEntry1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbEntry1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.lbEntry1.Name = "lbEntry1"; this.lbEntry1.TabIndex = 11; this.lbEntry1.Text = "Promotion Date"; this.lbEntry1.Visible = false; this.lbEmpId = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbEmpId // this.lbEmpId.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.lbEmpId.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbEmpId.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.lbEmpId.Name = "lbEmpId"; this.lbEmpId.TabIndex = 10; this.lbEmpId.Visible = false; this.lbName = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbName // this.lbName.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.lbName.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.lbName.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); this.lbName.Name = "lbName"; this.lbName.TabIndex = 9; this.lbName.Visible = false; this.Label1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label1 // this.Label1.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.Label1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.Label1.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.Label1.Name = "Label1"; this.Label1.TabIndex = 0; this.Label1.Text = "Select Promotion List"; this.Shape1 = ctx.Resolve <VB6Helpers.ViewModels.ShapeHelperViewModel>(); this.Shape1.Enabled = false; this.Shape1.Name = "Shape1"; this.Shape1.TabIndex = 17; this.sprPromoList_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprPromoList_Sheet1.SheetName = "Sheet1"; this.sprPromoList_Sheet1.ColumnHeader.Cells[0, 0].Value = "Name"; this.sprPromoList_Sheet1.ColumnHeader.Cells[0, 1].Value = "Promotion Date"; this.sprPromoList_Sheet1.ColumnHeader.Cells[0, 2].Value = "ID"; this.sprPromoList_Sheet1.ColumnHeader.Rows.Get(0).Height = 17F; this.sprPromoList_Sheet1.Columns.Get(0).Label = "Name"; //this.sprPromoList_Sheet1.Columns.Get(0).SortIndicator = FarPoint.ViewModels.SortIndicator.Ascending; this.sprPromoList_Sheet1.Columns.Get(0).Width = 226F; this.sprPromoList_Sheet1.Columns.Get(1).Label = "Promotion Date"; this.sprPromoList_Sheet1.Columns.Get(1).Width = 107F; this.sprPromoList_Sheet1.Columns.Get(2).Label = "ID"; this.sprPromoList_Sheet1.Columns.Get(2).Visible = false; this.sprPromoList_Sheet1.Columns.Get(2).Width = 0F; this.sprPromoList_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.cmdPrint = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrint // this.cmdPrint.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrint.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.TabIndex = 16; this.cmdPrint.Text = "Print List"; this.cmdPrint.Visible = false; this.cmdRemove = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdRemove // this.cmdRemove.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdRemove.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdRemove.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdRemove.Name = "cmdRemove"; this.cmdRemove.TabIndex = 7; this.cmdRemove.Text = "&Remove"; this.cmdRemove.Visible = false; this.cmdUpdate = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdUpdate // this.cmdUpdate.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdUpdate.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdUpdate.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdUpdate.Name = "cmdUpdate"; this.cmdUpdate.TabIndex = 6; this.cmdUpdate.Text = "&Update"; this.cmdUpdate.Visible = false; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25F, UpgradeHelpers.Helpers.FontStyle.Bold, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 8; this.cmdClose.Text = "&Close"; this.Text = "Update Promotion Lists"; this.iSelectedRow = 0; this.CurrPromoID = 0; this.chkActive = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); // // chkActive // this.chkActive.BackColor = UpgradeHelpers.Helpers.Color.Silver; this.chkActive.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.chkActive.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); this.chkActive.Name = "chkActive"; this.chkActive.TabIndex = 4; this.chkActive.Text = "Active for this List?"; this.chkActive.Visible = false; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color50636234787629801426", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text307636234787629811191", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; this.Name = "PTSProject.frmUpdatePromo"; IsMdiChild = true; this.sprPromoList.NamedStyles.Add(namedStyle1); this.sprPromoList.NamedStyles.Add(namedStyle2); this.sprPromoList.Sheets.Add(this.sprPromoList_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); FarPoint.ViewModels.NamedStyle namedStyle28; FarPoint.ViewModels.NamedStyle namedStyle27; var textCellType14 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle26; FarPoint.ViewModels.NamedStyle namedStyle25; var textCellType13 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle24; FarPoint.ViewModels.NamedStyle namedStyle23; var textCellType12 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle22; FarPoint.ViewModels.NamedStyle namedStyle21; var textCellType11 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle20; var textCellType10 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle19; var textCellType9 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle18; FarPoint.ViewModels.NamedStyle namedStyle17; FarPoint.ViewModels.NamedStyle namedStyle16; var textCellType8 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle15; FarPoint.ViewModels.NamedStyle namedStyle14; var textCellType7 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle13; FarPoint.ViewModels.NamedStyle namedStyle12; var textCellType6 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle11; FarPoint.ViewModels.NamedStyle namedStyle10; var textCellType5 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle9; FarPoint.ViewModels.NamedStyle namedStyle8; var textCellType4 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle7; FarPoint.ViewModels.NamedStyle namedStyle6; var textCellType3 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle5; var textCellType2 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle4; FarPoint.ViewModels.NamedStyle namedStyle3; var textCellType1 = ctx.Resolve <FarPoint.ViewModels.TextCellType>(); FarPoint.ViewModels.NamedStyle namedStyle2; FarPoint.ViewModels.NamedStyle namedStyle1; this.sprDebit = ctx.Resolve <FarPoint.ViewModels.FpSpreadViewModel>(); this.sprDebit.MaxRows = 208; this.sprDebit.TabIndex = 2; this.sprDebit.TextTip = FarPoint.ViewModels.TextTipPolicy.Off; this.sprDebit_Sheet1 = ctx.Resolve <FarPoint.ViewModels.SheetViewModel>(); this.sprDebit_Sheet1.SheetName = "Sheet1"; this.sprDebit_Sheet1.Cells.Get(0, 0).Value = "Tacoma Fire Department"; this.sprDebit_Sheet1.Cells.Get(1, 0).Value = "Debit Day Groups"; this.sprDebit_Sheet1.Cells.Get(2, 0).Value = "Group"; this.sprDebit_Sheet1.Cells.Get(2, 1).Value = "Unit"; this.sprDebit_Sheet1.Cells.Get(2, 2).Value = "Position"; this.sprDebit_Sheet1.Cells.Get(2, 3).Value = "A Shift"; this.sprDebit_Sheet1.Cells.Get(2, 4).Value = "B Shift"; this.sprDebit_Sheet1.Cells.Get(2, 5).Value = "C Shift"; this.sprDebit_Sheet1.Cells.Get(2, 6).Value = "D Shift"; this.sprDebit_Sheet1.ColumnHeader.Rows.Get(0).Height = 0F; this.sprDebit_Sheet1.Columns.Get(0).Width = 66F; this.sprDebit_Sheet1.Columns.Get(1).Width = 76F; this.sprDebit_Sheet1.Columns.Get(2).StyleName = "Static949636234692426944206"; this.sprDebit_Sheet1.Columns.Get(2).Width = 97F; this.sprDebit_Sheet1.Columns.Get(3).Width = 164F; this.sprDebit_Sheet1.Columns.Get(4).StyleName = "Static1065636234692426953971"; this.sprDebit_Sheet1.Columns.Get(4).Width = 160F; this.sprDebit_Sheet1.Columns.Get(5).Width = 160F; this.sprDebit_Sheet1.Columns.Get(6).Width = 160F; this.sprDebit_Sheet1.RowHeader.Columns.Get(0).Width = 0F; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 9.75F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 1; this.cmdClose.Text = "&Close"; this.cmdPrint = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdPrint // this.cmdPrint.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdPrint.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 9.75F, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, ((byte)(0))); this.cmdPrint.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdPrint.Name = "cmdPrint"; this.cmdPrint.TabIndex = 0; this.cmdPrint.Text = "&Print"; this.Text = "Debit Day Groups Report"; this.CurrRow = 0; this.PageRow = 0; namedStyle1 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color65636234692426905146", "DataAreaDefault"); namedStyle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle1.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle1.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle1.Parent = "DataAreaDefault"; namedStyle1.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle2 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Text512636234692426924676", "DataAreaDefault"); namedStyle2.CellType = textCellType1; namedStyle2.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle2.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle2.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle2.Parent = "DataAreaDefault"; namedStyle2.Renderer = textCellType1; namedStyle2.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle3 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font890636234692426944206"); namedStyle3.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle3.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle3.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle3.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle4 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static949636234692426944206"); namedStyle4.CellType = textCellType2; namedStyle4.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle4.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle4.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle4.Renderer = textCellType2; namedStyle4.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle5 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1065636234692426953971"); namedStyle5.CellType = textCellType3; namedStyle5.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 7F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle5.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle5.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle5.Renderer = textCellType3; namedStyle5.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; namedStyle6 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font1239636234692426983266"); namedStyle6.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle6.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle6.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle6.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle7 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1257636234692426983266"); namedStyle7.CellType = textCellType4; namedStyle7.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle7.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle7.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle7.Renderer = textCellType4; namedStyle7.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Top; namedStyle8 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font1310636234692427002796"); namedStyle8.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle8.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle8.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle8.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle9 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1328636234692427022326"); namedStyle9.CellType = textCellType5; namedStyle9.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle9.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle9.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle9.Renderer = textCellType5; namedStyle9.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle10 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1453636234692427061386"); namedStyle10.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle10.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle10.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle10.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle10.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle10.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle11 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1509636234692427080916"); namedStyle11.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle11.CellType = textCellType6; namedStyle11.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle11.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle11.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle11.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle11.Renderer = textCellType6; namedStyle11.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle12 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1567636234692427100446"); namedStyle12.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle12.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle12.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle12.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle12.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle12.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle13 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1623636234692427129741"); namedStyle13.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle13.CellType = textCellType7; namedStyle13.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle13.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle13.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle13.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle13.Renderer = textCellType7; namedStyle13.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle14 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1680636234692427139506"); namedStyle14.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle14.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle14.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle14.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle14.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle15 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static1736636234692427178566"); namedStyle15.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle15.CellType = textCellType8; namedStyle15.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle15.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle15.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle15.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle15.Renderer = textCellType8; namedStyle15.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle16 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx1797636234692427266451"); namedStyle16.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle16.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle16.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle17 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("BorderEx2145636234692427500811"); namedStyle17.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle17.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle17.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle17.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle17.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle17.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle18 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static2201636234692427569166"); namedStyle18.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle18.CellType = textCellType9; namedStyle18.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F); namedStyle18.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle18.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle18.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle18.Renderer = textCellType9; namedStyle18.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle19 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static2270636234692427617991"); namedStyle19.CellType = textCellType10; namedStyle19.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle19.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle19.Renderer = textCellType10; namedStyle19.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle20 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static2304636234692427657051"); namedStyle20.CellType = textCellType11; namedStyle20.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle20.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle20.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle20.Renderer = textCellType11; namedStyle20.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle21 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Font2320636234692427764466"); namedStyle21.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle21.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle21.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle21.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle22 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static2338636234692427783996"); namedStyle22.CellType = textCellType12; namedStyle22.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle22.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle22.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle22.Renderer = textCellType12; namedStyle22.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle23 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color2577636234692428067181"); namedStyle23.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle23.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle23.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle23.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle23.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle23.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle24 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static2611636234692428096476"); namedStyle24.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle24.CellType = textCellType13; namedStyle24.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 12F, UpgradeHelpers.Helpers.FontStyle.Bold); namedStyle24.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle24.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle24.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle24.Renderer = textCellType13; namedStyle24.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle25 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color2633636234692428116006"); namedStyle25.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle25.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle25.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle25.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle25.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle25.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle26 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Static2667636234692428155066"); namedStyle26.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle26.CellType = textCellType14; namedStyle26.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10F); namedStyle26.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle26.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Left; namedStyle26.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle26.Renderer = textCellType14; namedStyle26.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.Center; namedStyle27 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Color2689636234692428242951"); namedStyle27.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); namedStyle27.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); namedStyle27.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle27.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle27.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; namedStyle28 = ctx.Resolve <FarPoint.ViewModels.NamedStyle>("Style1"); namedStyle28.HorizontalAlignment = FarPoint.ViewModels.CellHorizontalAlignment.Center; namedStyle28.Locked = false; namedStyle28.NoteIndicatorColor = UpgradeHelpers.Helpers.Color.Red; namedStyle28.VerticalAlignment = FarPoint.ViewModels.CellVerticalAlignment.General; this.Name = "PTSProject.frmDebitReport"; IsMdiChild = true; this.sprDebit.NamedStyles.Add(namedStyle1); this.sprDebit.NamedStyles.Add(namedStyle2); this.sprDebit.NamedStyles.Add(namedStyle3); this.sprDebit.NamedStyles.Add(namedStyle4); this.sprDebit.NamedStyles.Add(namedStyle5); this.sprDebit.NamedStyles.Add(namedStyle6); this.sprDebit.NamedStyles.Add(namedStyle7); this.sprDebit.NamedStyles.Add(namedStyle8); this.sprDebit.NamedStyles.Add(namedStyle9); this.sprDebit.NamedStyles.Add(namedStyle10); this.sprDebit.NamedStyles.Add(namedStyle11); this.sprDebit.NamedStyles.Add(namedStyle12); this.sprDebit.NamedStyles.Add(namedStyle13); this.sprDebit.NamedStyles.Add(namedStyle14); this.sprDebit.NamedStyles.Add(namedStyle15); this.sprDebit.NamedStyles.Add(namedStyle16); this.sprDebit.NamedStyles.Add(namedStyle17); this.sprDebit.NamedStyles.Add(namedStyle18); this.sprDebit.NamedStyles.Add(namedStyle19); this.sprDebit.NamedStyles.Add(namedStyle20); this.sprDebit.NamedStyles.Add(namedStyle21); this.sprDebit.NamedStyles.Add(namedStyle22); this.sprDebit.NamedStyles.Add(namedStyle23); this.sprDebit.NamedStyles.Add(namedStyle24); this.sprDebit.NamedStyles.Add(namedStyle25); this.sprDebit.NamedStyles.Add(namedStyle26); this.sprDebit.NamedStyles.Add(namedStyle27); this.sprDebit.NamedStyles.Add(namedStyle28); this.sprDebit.Sheets.Add(this.sprDebit_Sheet1); }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this.txtAvailComment = ctx.Resolve <UpgradeHelpers.BasicViewModels.TextBoxViewModel>(); this.txtAvailComment.BackColor = UpgradeHelpers.Helpers.SystemColors.Window; this.txtAvailComment.ForeColor = UpgradeHelpers.Helpers.SystemColors.WindowText; this.txtAvailComment.Name = "txtAvailComment"; this.txtAvailComment.TabIndex = 3; this.txtAvailComment.Text = "txtAvailComment"; this.dtpGiveOut = ctx.Resolve <WNFRMS.Viewmodels.DateTimePickerViewModel>(); this.dtpGiveOut.Name = "dtpGiveOut"; this.dtpGiveOut.TabIndex = 2; this.Label11 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // Label11 // this.Label11.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 0, 64); this.Label11.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.Label11.ForeColor = UpgradeHelpers.Helpers.Color.Red; this.Label11.Name = "Label11"; this.Label11.TabIndex = 16; this.Label11.Text = "Give Date Out On:"; this.lbSelectTitle1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbSelectTitle1 // this.lbSelectTitle1.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 0, 64); this.lbSelectTitle1.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbSelectTitle1.ForeColor = UpgradeHelpers.Helpers.Color.Yellow; this.lbSelectTitle1.Name = "lbSelectTitle1"; this.lbSelectTitle1.TabIndex = 15; this.lbSelectTitle1.Text = "Scheduled Leave Totals"; this.lbSelectTitle1.Visible = false; this.lbREGpm = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbREGpm // this.lbREGpm.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 0, 64); this.lbREGpm.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbREGpm.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.lbREGpm.Name = "lbREGpm"; this.lbREGpm.TabIndex = 12; this.lbREGpm.Text = "lbREGpm"; this.lbREGpm.Visible = false; this.lbREGam = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbREGam // this.lbREGam.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 0, 64); this.lbREGam.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbREGam.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.lbREGam.Name = "lbREGam"; this.lbREGam.TabIndex = 11; this.lbREGam.Text = "lbREGam"; this.lbREGam.Visible = false; this.lbExistAM = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbExistAM // this.lbExistAM.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.lbExistAM.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.lbExistAM.Name = "lbExistAM"; this.lbExistAM.TabIndex = 10; this.lbExistAM.Text = "llbExistAM"; this.lbExistAM.Visible = false; this.lbExistPM = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbExistPM // this.lbExistPM.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.lbExistPM.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.lbExistPM.Name = "lbExistPM"; this.lbExistPM.TabIndex = 9; this.lbExistPM.Text = "llbExistPM"; this.lbExistPM.Visible = false; this.lbAvailComment = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbAvailComment // this.lbAvailComment.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 0, 64); this.lbAvailComment.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbAvailComment.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(128, 128, 255); this.lbAvailComment.Name = "lbAvailComment"; this.lbAvailComment.TabIndex = 8; this.lbAvailComment.Text = "Add Comment:"; this.lbSelectAM = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbSelectAM // this.lbSelectAM.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 0, 64); this.lbSelectAM.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbSelectAM.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.lbSelectAM.Name = "lbSelectAM"; this.lbSelectAM.TabIndex = 13; this.lbSelectAM.Text = "lbSelectAM"; this.lbSelectAM.Visible = false; this.lbSelectPM = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbSelectPM // this.lbSelectPM.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 0, 64); this.lbSelectPM.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbSelectPM.ForeColor = UpgradeHelpers.Helpers.Color.Aqua; this.lbSelectPM.Name = "lbSelectPM"; this.lbSelectPM.TabIndex = 14; this.lbSelectPM.Text = "lbSelectPM"; this.lbSelectPM.Visible = false; this.cmdClose = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdClose // this.cmdClose.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdClose.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdClose.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdClose.Name = "cmdClose"; this.cmdClose.TabIndex = 5; this.cmdClose.Text = "Cancel"; this.cmdAvailDone = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdAvailDone // this.cmdAvailDone.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdAvailDone.Enabled = false; this.cmdAvailDone.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 9f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdAvailDone.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdAvailDone.Name = "cmdAvailDone"; this.cmdAvailDone.TabIndex = 4; this.cmdAvailDone.Text = "Done"; this.calAvail = ctx.Resolve <UpgradeHelpers.BasicViewModels.MonthCalendarViewModel>(); this.calAvail.Name = "calAvail"; this.calAvail.TabIndex = 6; this.Text = "Make Shift Available"; this.SelectedDate = ""; this.chkPM = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); this.chkPM.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 0, 64); this.chkPM.CheckState = UpgradeHelpers.Helpers.CheckState.Checked; this.chkPM.Enabled = true; this.chkPM.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.chkPM.ForeColor = UpgradeHelpers.Helpers.Color.Red; this.chkPM.Name = "chkPM"; this.chkPM.TabIndex = 1; this.chkPM.Text = "PM"; this.chkPM.Visible = true; this.chkAM = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); this.chkAM.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(0, 0, 64); this.chkAM.CheckState = UpgradeHelpers.Helpers.CheckState.Checked; this.chkAM.Enabled = true; this.chkAM.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.chkAM.ForeColor = UpgradeHelpers.Helpers.Color.Red; this.chkAM.Name = "chkAM"; this.chkAM.TabIndex = 0; this.chkAM.Text = "AM"; this.chkAM.Visible = true; this.SelectedSchedDate = ""; this.Name = "PTSProject.frmMakeShiftAvailable"; }
public override void Build(UpgradeHelpers.Interfaces.IIocContainer ctx) { base.Build(ctx); this._optType_2 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this._optType_1 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this._optType_0 = ctx.Resolve <UpgradeHelpers.BasicViewModels.RadioButtonViewModel>(); this.calStart = ctx.Resolve <WNFRMS.Viewmodels.DateTimePickerViewModel>(); this.calStart.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.calStart.Name = "calStart"; this.calStart.TabIndex = 5; this.calStart.Value = System.DateTime.Today; this.calStart.Visible = false; this.calEnd = ctx.Resolve <WNFRMS.Viewmodels.DateTimePickerViewModel>(); this.calEnd.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.calEnd.Name = "calEnd"; this.calEnd.TabIndex = 6; this.calEnd.Visible = false; this.lbWarning = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbWarning // this.lbWarning.BackColor = UpgradeHelpers.Helpers.Color.FromArgb(255, 255, 192); this.lbWarning.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbWarning.ForeColor = UpgradeHelpers.Helpers.Color.Red; this.lbWarning.Name = "lbWarning"; this.lbWarning.TabIndex = 11; this.lbWarning.Text = "WARNING!! This action will change the Employee's Schedule... this day forward until the end!! The only way to restore it will be to adjust each scheduled day individually."; this.lbWarning.Visible = false; this.lbEnd = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbEnd // this.lbEnd.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbEnd.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbEnd.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(192, 255, 255); this.lbEnd.Name = "lbEnd"; this.lbEnd.TabIndex = 10; this.lbEnd.Text = "End Date: Last Date of Special Assignment"; this.lbEnd.Visible = false; this.lbStart = ctx.Resolve <UpgradeHelpers.BasicViewModels.LabelViewModel>(); // // lbStart // this.lbStart.BackColor = UpgradeHelpers.Helpers.Color.Transparent; this.lbStart.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers. Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.lbStart.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(192, 255, 255); this.lbStart.Name = "lbStart"; this.lbStart.TabIndex = 9; this.lbStart.Text = "Special Assignment - Start Date:"; this.lbStart.Visible = false; this.cmdOK = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdOK // this.cmdOK.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdOK.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdOK.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdOK.Name = "cmdOK"; this.cmdOK.TabIndex = 7; this.cmdOK.Text = "&OK"; this.cmdCancel = ctx.Resolve <UpgradeHelpers.BasicViewModels.ButtonViewModel>(); // // cmdCancel // this.cmdCancel.BackColor = UpgradeHelpers.Helpers.SystemColors.Control; this.cmdCancel.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Microsoft Sans Serif", 8.25f, UpgradeHelpers.Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.cmdCancel.ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.TabIndex = 8; this.cmdCancel.Text = "&Cancel"; this.Text = "Schedule Special Assignment"; this.chkBothShifts = ctx.Resolve <UpgradeHelpers.BasicViewModels.CheckBoxViewModel>(); this.chkBothShifts.BackColor = UpgradeHelpers.Helpers.Color.Gray; this.chkBothShifts.CheckState = UpgradeHelpers.Helpers.CheckState.Unchecked; this.chkBothShifts.Enabled = true; this.chkBothShifts.Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers .Helpers.FontStyle.Bold | UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); this.chkBothShifts.ForeColor = UpgradeHelpers.Helpers.Color.FromArgb(192, 255, 192); this.chkBothShifts.Name = "chkBothShifts"; this.chkBothShifts.TabIndex = 4; this.chkBothShifts.Text = "Schedule Both AM an PM Shifts"; this.chkBothShifts.Visible = false; optType = ctx.Resolve <System.Collections.Generic.IList <UpgradeHelpers.BasicViewModels.RadioButtonViewModel> >(3); optType[2] = _optType_2; optType[1] = _optType_1; optType[0] = _optType_0; optType[2].BackColor = UpgradeHelpers.Helpers.SystemColors.Control; optType[2].Checked = false; optType[2].Enabled = true; optType[2].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); optType[2].ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; optType[2].Name = "_optType_2"; optType[2].TabIndex = 3; optType[2].Text = "For the Rest of the Schedule"; optType[2].Visible = true; optType[1].BackColor = UpgradeHelpers.Helpers.SystemColors.Control; optType[1].Checked = false; optType[1].Enabled = true; optType[1].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); optType[1].ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; optType[1].Name = "_optType_1"; optType[1].TabIndex = 2; optType[1].Text = "For a Specified Date Range"; optType[1].Visible = true; optType[0].BackColor = UpgradeHelpers.Helpers.SystemColors.Control; optType[0].Checked = true; optType[0].Enabled = true; optType[0].Font = ctx.Resolve <UpgradeHelpers.Helpers.Font>("Arial", 10.5f, UpgradeHelpers.Helpers.FontStyle.Regular, UpgradeHelpers.Helpers.GraphicsUnit.Point, 0); optType[0].ForeColor = UpgradeHelpers.Helpers.SystemColors.ControlText; optType[0].Name = "_optType_0"; optType[0].TabIndex = 1; optType[0].Text = "Today Only"; optType[0].Visible = true; this.Name = "PTSProject.dlgSpecialAssign"; }