/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleDataBar formatConditionRuleDataBar1 = new DevExpress.XtraEditors.FormatConditionRuleDataBar(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule2 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleDataBar formatConditionRuleDataBar2 = new DevExpress.XtraEditors.FormatConditionRuleDataBar(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule3 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleDataBar formatConditionRuleDataBar3 = new DevExpress.XtraEditors.FormatConditionRuleDataBar(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SqlExecutionPlanControl)); this.colTotalSubtreeCost = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colEstimateIO = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colEstimateCPU = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treePlan = new DevExpress.XtraTreeList.TreeList(); this.colLogicalOp = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colPhysicalOp = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colEstimateRows = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colEstimateExecutions = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colAvgRowSize = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colArgument = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colDefinedValues = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colOutputList = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colWarnings = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colType = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colParallel = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.bindingExecutionPlan = new System.Windows.Forms.BindingSource(this.components); this.barManager = new DevExpress.XtraBars.BarManager(this.components); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.pmnuExpandAll = new DevExpress.XtraBars.BarButtonItem(); this.pmnuCollapseAll = new DevExpress.XtraBars.BarButtonItem(); this.pmnuTreeView = new DevExpress.XtraBars.BarButtonItem(); this.pmnuShowWholeStatements = new DevExpress.XtraBars.BarButtonItem(); this.barManageFormatRules = new DevExpress.XtraBars.BarButtonItem(); this.popupGridPlan = new DevExpress.XtraBars.PopupMenu(this.components); ((System.ComponentModel.ISupportInitialize)(this.treePlan)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingExecutionPlan)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupGridPlan)).BeginInit(); this.SuspendLayout(); // // colTotalSubtreeCost // this.colTotalSubtreeCost.Caption = "Subtree cost"; this.colTotalSubtreeCost.FieldName = "TotalSubtreeCost"; this.colTotalSubtreeCost.Fixed = DevExpress.XtraTreeList.Columns.FixedStyle.Left; this.colTotalSubtreeCost.Name = "colTotalSubtreeCost"; this.colTotalSubtreeCost.Visible = true; this.colTotalSubtreeCost.VisibleIndex = 1; this.colTotalSubtreeCost.Width = 120; // // colEstimateIO // this.colEstimateIO.Caption = "IO"; this.colEstimateIO.FieldName = "EstimateIO"; this.colEstimateIO.Name = "colEstimateIO"; this.colEstimateIO.Visible = true; this.colEstimateIO.VisibleIndex = 3; this.colEstimateIO.Width = 100; // // colEstimateCPU // this.colEstimateCPU.Caption = "CPU"; this.colEstimateCPU.FieldName = "EstimateCPU"; this.colEstimateCPU.Name = "colEstimateCPU"; this.colEstimateCPU.Visible = true; this.colEstimateCPU.VisibleIndex = 4; this.colEstimateCPU.Width = 100; // // treePlan // this.treePlan.Appearance.Preview.FontStyleDelta = System.Drawing.FontStyle.Italic; this.treePlan.Appearance.Preview.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Information; this.treePlan.Appearance.Preview.Options.UseFont = true; this.treePlan.Appearance.Preview.Options.UseForeColor = true; this.treePlan.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.colLogicalOp, this.colTotalSubtreeCost, this.colPhysicalOp, this.colEstimateIO, this.colEstimateCPU, this.colEstimateRows, this.colEstimateExecutions, this.colAvgRowSize, this.colArgument, this.colDefinedValues, this.colOutputList, this.colWarnings, this.colType, this.colParallel }); this.treePlan.Cursor = System.Windows.Forms.Cursors.Default; this.treePlan.DataSource = this.bindingExecutionPlan; this.treePlan.Dock = System.Windows.Forms.DockStyle.Fill; treeListFormatRule1.Column = this.colTotalSubtreeCost; treeListFormatRule1.Name = "FormatSubtreeCost"; formatConditionRuleDataBar1.PredefinedName = "Blue Gradient"; treeListFormatRule1.Rule = formatConditionRuleDataBar1; treeListFormatRule2.Column = this.colEstimateIO; treeListFormatRule2.Name = "FormatIO"; formatConditionRuleDataBar2.PredefinedName = "Light Blue Gradient"; treeListFormatRule2.Rule = formatConditionRuleDataBar2; treeListFormatRule3.Column = this.colEstimateCPU; treeListFormatRule3.Name = "FormatCPU"; formatConditionRuleDataBar3.PredefinedName = "Light Blue Gradient"; treeListFormatRule3.Rule = formatConditionRuleDataBar3; this.treePlan.FormatRules.Add(treeListFormatRule1); this.treePlan.FormatRules.Add(treeListFormatRule2); this.treePlan.FormatRules.Add(treeListFormatRule3); this.treePlan.KeyFieldName = "NodeId"; this.treePlan.Location = new System.Drawing.Point(0, 0); this.treePlan.Name = "treePlan"; this.treePlan.OptionsBehavior.AllowIndeterminateCheckState = true; this.treePlan.OptionsBehavior.Editable = false; this.treePlan.OptionsBehavior.EditorShowMode = DevExpress.XtraTreeList.TreeListEditorShowMode.MouseDownFocused; this.treePlan.OptionsFind.AllowIncrementalSearch = true; this.treePlan.OptionsFind.ExpandNodesOnIncrementalSearch = true; this.treePlan.OptionsPrint.PrintPreview = true; this.treePlan.OptionsView.AutoWidth = false; this.treePlan.OptionsView.ShowAutoFilterRow = true; this.treePlan.OptionsView.ShowPreview = true; this.treePlan.ParentFieldName = "Parent"; this.treePlan.PreviewFieldName = "StmtText"; this.treePlan.Size = new System.Drawing.Size(769, 462); this.treePlan.TabIndex = 0; this.treePlan.GetPreviewText += new DevExpress.XtraTreeList.GetPreviewTextEventHandler(this.TreePlan_GetPreviewText); this.treePlan.MouseUp += new System.Windows.Forms.MouseEventHandler(this.TreePlan_MouseUp); // // colLogicalOp // this.colLogicalOp.Caption = "Logical operation"; this.colLogicalOp.FieldName = "LogicalOp"; this.colLogicalOp.Fixed = DevExpress.XtraTreeList.Columns.FixedStyle.Left; this.colLogicalOp.Name = "colLogicalOp"; this.colLogicalOp.Visible = true; this.colLogicalOp.VisibleIndex = 0; this.colLogicalOp.Width = 150; // // colPhysicalOp // this.colPhysicalOp.Caption = "Physical operation"; this.colPhysicalOp.FieldName = "PhysicalOp"; this.colPhysicalOp.Name = "colPhysicalOp"; this.colPhysicalOp.Visible = true; this.colPhysicalOp.VisibleIndex = 2; this.colPhysicalOp.Width = 100; // // colEstimateRows // this.colEstimateRows.Caption = "Rows"; this.colEstimateRows.FieldName = "EstimateRows"; this.colEstimateRows.Name = "colEstimateRows"; this.colEstimateRows.Visible = true; this.colEstimateRows.VisibleIndex = 5; this.colEstimateRows.Width = 60; // // colEstimateExecutions // this.colEstimateExecutions.Caption = "Executions"; this.colEstimateExecutions.FieldName = "EstimateExecutions"; this.colEstimateExecutions.Name = "colEstimateExecutions"; this.colEstimateExecutions.Visible = true; this.colEstimateExecutions.VisibleIndex = 6; this.colEstimateExecutions.Width = 60; // // colAvgRowSize // this.colAvgRowSize.Caption = "Average row size"; this.colAvgRowSize.FieldName = "AvgRowSize"; this.colAvgRowSize.Name = "colAvgRowSize"; this.colAvgRowSize.Visible = true; this.colAvgRowSize.VisibleIndex = 7; this.colAvgRowSize.Width = 60; // // colArgument // this.colArgument.Caption = "Argument"; this.colArgument.FieldName = "Argument"; this.colArgument.Name = "colArgument"; this.colArgument.Visible = true; this.colArgument.VisibleIndex = 8; this.colArgument.Width = 100; // // colDefinedValues // this.colDefinedValues.Caption = "Defined values"; this.colDefinedValues.FieldName = "DefinedValues"; this.colDefinedValues.Name = "colDefinedValues"; this.colDefinedValues.Visible = true; this.colDefinedValues.VisibleIndex = 9; this.colDefinedValues.Width = 100; // // colOutputList // this.colOutputList.Caption = "Output list"; this.colOutputList.FieldName = "OutputList"; this.colOutputList.Name = "colOutputList"; this.colOutputList.Visible = true; this.colOutputList.VisibleIndex = 10; this.colOutputList.Width = 100; // // colWarnings // this.colWarnings.Caption = "Warnings"; this.colWarnings.FieldName = "Warnings"; this.colWarnings.Name = "colWarnings"; this.colWarnings.Visible = true; this.colWarnings.VisibleIndex = 11; this.colWarnings.Width = 100; // // colType // this.colType.Caption = "Type"; this.colType.FieldName = "Type"; this.colType.Name = "colType"; this.colType.Visible = true; this.colType.VisibleIndex = 12; this.colType.Width = 50; // // colParallel // this.colParallel.Caption = "Parallel"; this.colParallel.FieldName = "Parallel"; this.colParallel.Name = "colParallel"; this.colParallel.Visible = true; this.colParallel.VisibleIndex = 13; this.colParallel.Width = 50; // // barManager // this.barManager.DockControls.Add(this.barDockControlTop); this.barManager.DockControls.Add(this.barDockControlBottom); this.barManager.DockControls.Add(this.barDockControlLeft); this.barManager.DockControls.Add(this.barDockControlRight); this.barManager.Form = this; this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.pmnuExpandAll, this.pmnuCollapseAll, this.pmnuTreeView, this.pmnuShowWholeStatements, this.barManageFormatRules }); this.barManager.MaxItemId = 6; // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Manager = this.barManager; this.barDockControlTop.Size = new System.Drawing.Size(769, 0); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 462); this.barDockControlBottom.Manager = this.barManager; this.barDockControlBottom.Size = new System.Drawing.Size(769, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 0); this.barDockControlLeft.Manager = this.barManager; this.barDockControlLeft.Size = new System.Drawing.Size(0, 462); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(769, 0); this.barDockControlRight.Manager = this.barManager; this.barDockControlRight.Size = new System.Drawing.Size(0, 462); // // pmnuExpandAll // this.pmnuExpandAll.Caption = "Expand All"; this.pmnuExpandAll.Id = 0; this.pmnuExpandAll.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("pmnuExpandAll.ImageOptions.SvgImage"))); this.pmnuExpandAll.Name = "pmnuExpandAll"; this.pmnuExpandAll.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.PmnuExpandAll_ItemClick); // // pmnuCollapseAll // this.pmnuCollapseAll.Caption = "Collapse All"; this.pmnuCollapseAll.Id = 1; this.pmnuCollapseAll.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("pmnuCollapseAll.ImageOptions.SvgImage"))); this.pmnuCollapseAll.Name = "pmnuCollapseAll"; this.pmnuCollapseAll.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.PmnuCollapseAll_ItemClick); // // pmnuTreeView // this.pmnuTreeView.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.pmnuTreeView.Caption = "Tree View"; this.pmnuTreeView.Id = 2; this.pmnuTreeView.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("pmnuTreeView.ImageOptions.SvgImage"))); this.pmnuTreeView.Name = "pmnuTreeView"; this.pmnuTreeView.DownChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.PmnuTreeView_DownChanged); // // pmnuShowWholeStatements // this.pmnuShowWholeStatements.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.Check; this.pmnuShowWholeStatements.Caption = "Show Whole Statements"; this.pmnuShowWholeStatements.Id = 4; this.pmnuShowWholeStatements.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("pmnuShowWholeStatements.ImageOptions.SvgImage"))); this.pmnuShowWholeStatements.Name = "pmnuShowWholeStatements"; this.pmnuShowWholeStatements.DownChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.PmnuShowWholeStatements_DownChanged); // // barManageFormatRules // this.barManageFormatRules.Caption = "Manage format rules ..."; this.barManageFormatRules.Id = 5; this.barManageFormatRules.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barManageFormatRules.ImageOptions.SvgImage"))); this.barManageFormatRules.Name = "barManageFormatRules"; this.barManageFormatRules.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BarManageFormatRules_ItemClick); // // popupGridPlan // this.popupGridPlan.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.pmnuExpandAll), new DevExpress.XtraBars.LinkPersistInfo(this.pmnuCollapseAll), new DevExpress.XtraBars.LinkPersistInfo(this.pmnuTreeView, true), new DevExpress.XtraBars.LinkPersistInfo(this.pmnuShowWholeStatements, true), new DevExpress.XtraBars.LinkPersistInfo(this.barManageFormatRules, true) }); this.popupGridPlan.Manager = this.barManager; this.popupGridPlan.Name = "popupGridPlan"; this.popupGridPlan.BeforePopup += new System.ComponentModel.CancelEventHandler(this.PopupGridPlan_BeforePopup); // // SqlExecutionPlanControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.treePlan); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "SqlExecutionPlanControl"; this.Size = new System.Drawing.Size(769, 462); this.Load += new System.EventHandler(this.SqlExecutionPlanControl_Load); ((System.ComponentModel.ISupportInitialize)(this.treePlan)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingExecutionPlan)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupGridPlan)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleDataBar formatConditionRuleDataBar1 = new DevExpress.XtraEditors.FormatConditionRuleDataBar(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StaffTasksForm)); this.ColProgress = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.ColTaskName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treeList1 = new DevExpress.XtraTreeList.TreeList(); this.ColIsCompleted = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.repositoryItemCompletedComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.svgImageCollection = new DevExpress.Utils.SvgImageCollection(this.components); this.ColPriority = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.repositoryItemPriorityComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.imageCollection = new DevExpress.Utils.ImageCollection(this.components); this.ColIsDescription = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.repositoryItemDescriptionComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.ColStaffName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.ColStartDate = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.ColDueDate = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.repositoryItemProgressBarProgress = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar(); this.repositoryItemProgressBar1 = new DevExpress.XtraEditors.Repository.RepositoryItemProgressBar(); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCompletedComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.svgImageCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPriorityComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDescriptionComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBarProgress)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).BeginInit(); this.SuspendLayout(); // // ColProgress // this.ColProgress.AppearanceCell.Options.UseTextOptions = true; this.ColProgress.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.ColProgress.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.ColProgress.Caption = "进度"; this.ColProgress.FieldName = "Progress"; this.ColProgress.Format.FormatString = "{0}%"; this.ColProgress.Format.FormatType = DevExpress.Utils.FormatType.Custom; this.ColProgress.MaxWidth = 100; this.ColProgress.MinWidth = 80; this.ColProgress.Name = "ColProgress"; this.ColProgress.Visible = true; this.ColProgress.VisibleIndex = 5; this.ColProgress.Width = 80; // // ColTaskName // this.ColTaskName.Caption = "任务"; this.ColTaskName.FieldName = "TaskName"; this.ColTaskName.Name = "ColTaskName"; this.ColTaskName.OptionsColumn.ShowInCustomizationForm = false; this.ColTaskName.Visible = true; this.ColTaskName.VisibleIndex = 3; this.ColTaskName.Width = 136; // // treeList1 // this.treeList1.AutoFillFieldName = "TaskName"; this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.ColIsCompleted, this.ColPriority, this.ColIsDescription, this.ColTaskName, this.ColStaffName, this.ColProgress, this.ColStartDate, this.ColDueDate }); this.treeList1.Cursor = System.Windows.Forms.Cursors.Default; this.treeList1.CustomizationFormBounds = new System.Drawing.Rectangle(864, 337, 210, 186); this.treeList1.Dock = System.Windows.Forms.DockStyle.Fill; this.treeList1.FixedLineWidth = 1; treeListFormatRule1.Column = this.ColProgress; treeListFormatRule1.Name = "Format0"; formatConditionRuleDataBar1.Maximum = new decimal(new int[] { 100, 0, 0, 0 }); formatConditionRuleDataBar1.MaximumType = DevExpress.XtraEditors.FormatConditionValueType.Percent; formatConditionRuleDataBar1.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); formatConditionRuleDataBar1.MinimumType = DevExpress.XtraEditors.FormatConditionValueType.Percent; formatConditionRuleDataBar1.PredefinedName = null; treeListFormatRule1.Rule = formatConditionRuleDataBar1; this.treeList1.FormatRules.Add(treeListFormatRule1); this.treeList1.HierarchyFieldName = "TaskName"; this.treeList1.IndicatorWidth = 40; this.treeList1.KeyFieldName = "Id"; this.treeList1.Location = new System.Drawing.Point(0, 0); this.treeList1.Name = "treeList1"; this.treeList1.OptionsBehavior.EditorShowMode = DevExpress.XtraTreeList.TreeListEditorShowMode.DoubleClick; this.treeList1.OptionsBehavior.PopulateServiceColumns = true; this.treeList1.OptionsMenu.EnableColumnMenu = false; this.treeList1.OptionsMenu.EnableFooterMenu = false; this.treeList1.OptionsMenu.ShowConditionalFormattingItem = true; this.treeList1.OptionsSelection.SelectNodesOnRightClick = true; this.treeList1.OptionsSelection.UseIndicatorForSelection = true; this.treeList1.OptionsView.AutoWidth = false; this.treeList1.OptionsView.EnableAppearanceEvenRow = true; this.treeList1.OptionsView.EnableAppearanceOddRow = true; this.treeList1.OptionsView.ShowHierarchyIndentationLines = DevExpress.Utils.DefaultBoolean.True; this.treeList1.OptionsView.ShowIndentAsRowStyle = true; this.treeList1.ParentFieldName = "ParentId"; this.treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemCompletedComboBox, this.repositoryItemPriorityComboBox, this.repositoryItemDescriptionComboBox, this.repositoryItemProgressBarProgress, this.repositoryItemProgressBar1 }); this.treeList1.ShowButtonMode = DevExpress.XtraTreeList.ShowButtonModeEnum.ShowOnlyInEditor; this.treeList1.Size = new System.Drawing.Size(739, 76); this.treeList1.TabIndex = 0; this.treeList1.CustomDrawNodeIndicator += new DevExpress.XtraTreeList.CustomDrawNodeIndicatorEventHandler(this.treeList1_CustomDrawNodeIndicator); // // ColIsCompleted // this.ColIsCompleted.ColumnEdit = this.repositoryItemCompletedComboBox; this.ColIsCompleted.FieldName = "IsCompleted"; this.ColIsCompleted.Fixed = DevExpress.XtraTreeList.Columns.FixedStyle.Left; this.ColIsCompleted.ImageOptions.Alignment = System.Drawing.StringAlignment.Center; this.ColIsCompleted.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("ColIsCompleted.ImageOptions.SvgImage"))); this.ColIsCompleted.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.ColIsCompleted.MaxWidth = 30; this.ColIsCompleted.MinWidth = 30; this.ColIsCompleted.Name = "ColIsCompleted"; this.ColIsCompleted.OptionsColumn.AllowEdit = false; this.ColIsCompleted.OptionsColumn.AllowMove = false; this.ColIsCompleted.OptionsColumn.AllowSize = false; this.ColIsCompleted.OptionsColumn.AllowSort = false; this.ColIsCompleted.OptionsColumn.FixedWidth = true; this.ColIsCompleted.OptionsFilter.AllowAutoFilter = false; this.ColIsCompleted.OptionsFilter.AllowFilter = false; this.ColIsCompleted.Visible = true; this.ColIsCompleted.VisibleIndex = 0; this.ColIsCompleted.Width = 30; // // repositoryItemCompletedComboBox // this.repositoryItemCompletedComboBox.AutoHeight = false; this.repositoryItemCompletedComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemCompletedComboBox.Name = "repositoryItemCompletedComboBox"; this.repositoryItemCompletedComboBox.SmallImages = this.svgImageCollection; // // svgImageCollection // this.svgImageCollection.Add("apply", "image://devav/actions/apply.svg"); this.svgImageCollection.Add("show", "image://devav/actions/show.svg"); // // ColPriority // this.ColPriority.ColumnEdit = this.repositoryItemPriorityComboBox; this.ColPriority.FieldName = "Priority"; this.ColPriority.Fixed = DevExpress.XtraTreeList.Columns.FixedStyle.Left; this.ColPriority.ImageOptions.Alignment = System.Drawing.StringAlignment.Center; this.ColPriority.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("ColPriority.ImageOptions.SvgImage"))); this.ColPriority.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.ColPriority.MaxWidth = 30; this.ColPriority.MinWidth = 30; this.ColPriority.Name = "ColPriority"; this.ColPriority.OptionsColumn.AllowEdit = false; this.ColPriority.OptionsColumn.AllowMove = false; this.ColPriority.OptionsColumn.AllowSize = false; this.ColPriority.OptionsColumn.AllowSort = false; this.ColPriority.OptionsColumn.FixedWidth = true; this.ColPriority.OptionsFilter.AllowAutoFilter = false; this.ColPriority.OptionsFilter.AllowFilter = false; this.ColPriority.Visible = true; this.ColPriority.VisibleIndex = 1; this.ColPriority.Width = 30; // // repositoryItemPriorityComboBox // this.repositoryItemPriorityComboBox.AutoHeight = false; this.repositoryItemPriorityComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemPriorityComboBox.Name = "repositoryItemPriorityComboBox"; this.repositoryItemPriorityComboBox.SmallImages = this.imageCollection; // // imageCollection // this.imageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imageCollection.ImageStream"))); // // ColIsDescription // this.ColIsDescription.ColumnEdit = this.repositoryItemDescriptionComboBox; this.ColIsDescription.FieldName = "IsDescription"; this.ColIsDescription.Fixed = DevExpress.XtraTreeList.Columns.FixedStyle.Left; this.ColIsDescription.ImageOptions.Alignment = System.Drawing.StringAlignment.Center; this.ColIsDescription.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("ColIsDescription.ImageOptions.SvgImage"))); this.ColIsDescription.ImageOptions.SvgImageSize = new System.Drawing.Size(16, 16); this.ColIsDescription.MaxWidth = 30; this.ColIsDescription.MinWidth = 30; this.ColIsDescription.Name = "ColIsDescription"; this.ColIsDescription.OptionsColumn.AllowEdit = false; this.ColIsDescription.OptionsColumn.AllowMove = false; this.ColIsDescription.OptionsColumn.AllowSize = false; this.ColIsDescription.OptionsColumn.AllowSort = false; this.ColIsDescription.OptionsColumn.FixedWidth = true; this.ColIsDescription.OptionsFilter.AllowAutoFilter = false; this.ColIsDescription.OptionsFilter.AllowFilter = false; this.ColIsDescription.ToolTip = "Description"; this.ColIsDescription.Visible = true; this.ColIsDescription.VisibleIndex = 2; this.ColIsDescription.Width = 30; // // repositoryItemDescriptionComboBox // this.repositoryItemDescriptionComboBox.AutoHeight = false; this.repositoryItemDescriptionComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemDescriptionComboBox.Name = "repositoryItemDescriptionComboBox"; this.repositoryItemDescriptionComboBox.SmallImages = this.svgImageCollection; // // ColStaffName // this.ColStaffName.Caption = "职员"; this.ColStaffName.FieldName = "StaffName"; this.ColStaffName.Name = "ColStaffName"; this.ColStaffName.SortOrder = System.Windows.Forms.SortOrder.Ascending; this.ColStaffName.Visible = true; this.ColStaffName.VisibleIndex = 4; this.ColStaffName.Width = 103; // // ColStartDate // this.ColStartDate.Caption = "开始日期"; this.ColStartDate.FieldName = "StartDate"; this.ColStartDate.Name = "ColStartDate"; this.ColStartDate.Visible = true; this.ColStartDate.VisibleIndex = 6; this.ColStartDate.Width = 145; // // ColDueDate // this.ColDueDate.Caption = "结束日期"; this.ColDueDate.FieldName = "DueDate"; this.ColDueDate.Name = "ColDueDate"; this.ColDueDate.Visible = true; this.ColDueDate.VisibleIndex = 7; this.ColDueDate.Width = 149; // // repositoryItemProgressBarProgress // this.repositoryItemProgressBarProgress.AppearanceDisabled.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.repositoryItemProgressBarProgress.AppearanceDisabled.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.repositoryItemProgressBarProgress.DisplayFormat.FormatString = "{0}%"; this.repositoryItemProgressBarProgress.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; this.repositoryItemProgressBarProgress.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemProgressBarProgress.Name = "repositoryItemProgressBarProgress"; this.repositoryItemProgressBarProgress.ShowTitle = true; this.repositoryItemProgressBarProgress.TextOrientation = DevExpress.Utils.Drawing.TextOrientation.Horizontal; // // repositoryItemProgressBar1 // this.repositoryItemProgressBar1.Name = "repositoryItemProgressBar1"; // // StaffTasksForm // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(739, 76); this.Controls.Add(this.treeList1); this.Name = "StaffTasksForm"; this.Text = "工作任务进度"; ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCompletedComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.svgImageCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPriorityComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDescriptionComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBarProgress)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemProgressBar1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmUpdateProjectFile)); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue1 = new DevExpress.XtraEditors.FormatConditionRuleValue(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule2 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue2 = new DevExpress.XtraEditors.FormatConditionRuleValue(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule3 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue3 = new DevExpress.XtraEditors.FormatConditionRuleValue(); this.tlcFileExists = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.tlcFileName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.tlcNeedUpgrade = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.tlcVersion = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.tlcMD5 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.btnFileAdd = new DevExpress.XtraBars.BarButtonItem(); this.btnRemoveFiles = new DevExpress.XtraBars.BarButtonItem(); this.btnAddFilesInDirectory = new DevExpress.XtraBars.BarButtonItem(); this.btnGenerate = new DevExpress.XtraBars.BarButtonItem(); this.btnProperties = new DevExpress.XtraBars.BarButtonItem(); this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.tvlUpgradeFiles = new DevExpress.XtraTreeList.TreeList(); this.tlcSelected = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tvlUpgradeFiles)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); this.SuspendLayout(); // // tlcFileExists // this.tlcFileExists.Caption = "treeListColumn1"; this.tlcFileExists.FieldName = "FileExists"; this.tlcFileExists.Name = "tlcFileExists"; // // tlcFileName // this.tlcFileName.AppearanceCell.Options.UseTextOptions = true; this.tlcFileName.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.tlcFileName.AppearanceHeader.Options.UseTextOptions = true; this.tlcFileName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.tlcFileName.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.tlcFileName.Caption = "文件名"; this.tlcFileName.FieldName = "FileName"; this.tlcFileName.Name = "tlcFileName"; this.tlcFileName.OptionsColumn.AllowEdit = false; this.tlcFileName.OptionsColumn.AllowMove = false; this.tlcFileName.Visible = true; this.tlcFileName.VisibleIndex = 1; this.tlcFileName.Width = 291; // // tlcNeedUpgrade // this.tlcNeedUpgrade.Caption = "treeListColumn1"; this.tlcNeedUpgrade.FieldName = "NeedUpgraded"; this.tlcNeedUpgrade.Name = "tlcNeedUpgrade"; // // tlcVersion // this.tlcVersion.AppearanceCell.Options.UseTextOptions = true; this.tlcVersion.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.tlcVersion.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.tlcVersion.AppearanceHeader.Options.UseTextOptions = true; this.tlcVersion.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.tlcVersion.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.tlcVersion.Caption = "版本号"; this.tlcVersion.FieldName = "CurrentVersion"; this.tlcVersion.Name = "tlcVersion"; this.tlcVersion.OptionsColumn.AllowEdit = false; this.tlcVersion.OptionsColumn.AllowMove = false; this.tlcVersion.Visible = true; this.tlcVersion.VisibleIndex = 2; this.tlcVersion.Width = 148; // // tlcMD5 // this.tlcMD5.AppearanceCell.Options.UseTextOptions = true; this.tlcMD5.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.tlcMD5.AppearanceHeader.Options.UseTextOptions = true; this.tlcMD5.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.tlcMD5.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.tlcMD5.Caption = "MD5值"; this.tlcMD5.FieldName = "CurrentMD5"; this.tlcMD5.Name = "tlcMD5"; this.tlcMD5.OptionsColumn.AllowEdit = false; this.tlcMD5.OptionsColumn.AllowMove = false; this.tlcMD5.Visible = true; this.tlcMD5.VisibleIndex = 3; this.tlcMD5.Width = 148; // // ribbon // this.ribbon.ExpandCollapseItem.Id = 0; this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbon.ExpandCollapseItem, this.btnFileAdd, this.btnRemoveFiles, this.btnAddFilesInDirectory, this.btnGenerate, this.btnProperties }); this.ribbon.Location = new System.Drawing.Point(0, 0); this.ribbon.MaxItemId = 8; this.ribbon.Name = "ribbon"; this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPage1 }); this.ribbon.Size = new System.Drawing.Size(665, 151); this.ribbon.StatusBar = this.ribbonStatusBar; // // btnFileAdd // this.btnFileAdd.Caption = "添加文件"; this.btnFileAdd.Glyph = ((System.Drawing.Image)(resources.GetObject("btnFileAdd.Glyph"))); this.btnFileAdd.Id = 1; this.btnFileAdd.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnFileAdd.LargeGlyph"))); this.btnFileAdd.Name = "btnFileAdd"; this.btnFileAdd.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnFileAdd_ItemClick); // // btnRemoveFiles // this.btnRemoveFiles.Caption = "删除文件"; this.btnRemoveFiles.Glyph = ((System.Drawing.Image)(resources.GetObject("btnRemoveFiles.Glyph"))); this.btnRemoveFiles.Id = 3; this.btnRemoveFiles.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnRemoveFiles.LargeGlyph"))); this.btnRemoveFiles.Name = "btnRemoveFiles"; this.btnRemoveFiles.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnRemoveFiles_ItemClick); // // btnAddFilesInDirectory // this.btnAddFilesInDirectory.Caption = "添加目录中的文件"; this.btnAddFilesInDirectory.Glyph = ((System.Drawing.Image)(resources.GetObject("btnAddFilesInDirectory.Glyph"))); this.btnAddFilesInDirectory.Id = 5; this.btnAddFilesInDirectory.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnAddFilesInDirectory.LargeGlyph"))); this.btnAddFilesInDirectory.Name = "btnAddFilesInDirectory"; this.btnAddFilesInDirectory.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; this.btnAddFilesInDirectory.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnAddFilesInDirectory_ItemClick); // // btnGenerate // this.btnGenerate.Caption = "生成配置文件"; this.btnGenerate.Glyph = ((System.Drawing.Image)(resources.GetObject("btnGenerate.Glyph"))); this.btnGenerate.Id = 6; this.btnGenerate.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnGenerate.LargeGlyph"))); this.btnGenerate.Name = "btnGenerate"; this.btnGenerate.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnGenerate_ItemClick); // // btnProperties // this.btnProperties.Caption = "属性"; this.btnProperties.Glyph = ((System.Drawing.Image)(resources.GetObject("btnProperties.Glyph"))); this.btnProperties.Id = 7; this.btnProperties.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("btnProperties.LargeGlyph"))); this.btnProperties.Name = "btnProperties"; // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup1 }); this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "项目"; // // ribbonPageGroup1 // this.ribbonPageGroup1.ItemLinks.Add(this.btnGenerate, true); this.ribbonPageGroup1.ItemLinks.Add(this.btnProperties, true); this.ribbonPageGroup1.ItemLinks.Add(this.btnFileAdd, true); this.ribbonPageGroup1.ItemLinks.Add(this.btnAddFilesInDirectory); this.ribbonPageGroup1.ItemLinks.Add(this.btnRemoveFiles, true); this.ribbonPageGroup1.Name = "ribbonPageGroup1"; this.ribbonPageGroup1.Text = "更新/升级文件"; // // ribbonStatusBar // this.ribbonStatusBar.Location = new System.Drawing.Point(0, 406); this.ribbonStatusBar.Name = "ribbonStatusBar"; this.ribbonStatusBar.Ribbon = this.ribbon; this.ribbonStatusBar.Size = new System.Drawing.Size(665, 23); // // tvlUpgradeFiles // this.tvlUpgradeFiles.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.tlcSelected, this.tlcFileName, this.tlcVersion, this.tlcMD5, this.tlcFileExists, this.tlcNeedUpgrade }); this.tvlUpgradeFiles.Dock = System.Windows.Forms.DockStyle.Fill; treeListFormatRule1.ApplyToRow = true; treeListFormatRule1.Column = this.tlcFileExists; treeListFormatRule1.ColumnApplyTo = this.tlcFileName; treeListFormatRule1.Name = "Format0"; formatConditionRuleValue1.Appearance.ForeColor = System.Drawing.Color.Silver; formatConditionRuleValue1.Appearance.Options.UseForeColor = true; formatConditionRuleValue1.Condition = DevExpress.XtraEditors.FormatCondition.Equal; formatConditionRuleValue1.Value1 = false; treeListFormatRule1.Rule = formatConditionRuleValue1; treeListFormatRule1.StopIfTrue = true; treeListFormatRule2.Column = this.tlcNeedUpgrade; treeListFormatRule2.ColumnApplyTo = this.tlcVersion; treeListFormatRule2.Name = "Format1"; formatConditionRuleValue2.Appearance.BackColor = System.Drawing.Color.Green; formatConditionRuleValue2.Appearance.ForeColor = System.Drawing.Color.White; formatConditionRuleValue2.Appearance.Options.UseBackColor = true; formatConditionRuleValue2.Appearance.Options.UseForeColor = true; formatConditionRuleValue2.Condition = DevExpress.XtraEditors.FormatCondition.Equal; formatConditionRuleValue2.Expression = "NeedUpgraded"; formatConditionRuleValue2.Value1 = true; treeListFormatRule2.Rule = formatConditionRuleValue2; treeListFormatRule3.Column = this.tlcNeedUpgrade; treeListFormatRule3.ColumnApplyTo = this.tlcMD5; treeListFormatRule3.Name = "Format2"; formatConditionRuleValue3.Appearance.BackColor = System.Drawing.Color.Green; formatConditionRuleValue3.Appearance.ForeColor = System.Drawing.Color.White; formatConditionRuleValue3.Appearance.Options.UseBackColor = true; formatConditionRuleValue3.Appearance.Options.UseForeColor = true; formatConditionRuleValue3.Condition = DevExpress.XtraEditors.FormatCondition.Equal; formatConditionRuleValue3.Expression = "NeedUpgraded"; formatConditionRuleValue3.Value1 = true; treeListFormatRule3.Rule = formatConditionRuleValue3; this.tvlUpgradeFiles.FormatRules.Add(treeListFormatRule1); this.tvlUpgradeFiles.FormatRules.Add(treeListFormatRule2); this.tvlUpgradeFiles.FormatRules.Add(treeListFormatRule3); this.tvlUpgradeFiles.Location = new System.Drawing.Point(0, 151); this.tvlUpgradeFiles.Name = "tvlUpgradeFiles"; this.tvlUpgradeFiles.OptionsClipboard.AllowCopy = DevExpress.Utils.DefaultBoolean.True; this.tvlUpgradeFiles.OptionsClipboard.CopyNodeHierarchy = DevExpress.Utils.DefaultBoolean.True; this.tvlUpgradeFiles.OptionsSelection.MultiSelect = true; this.tvlUpgradeFiles.OptionsView.AutoWidth = false; this.tvlUpgradeFiles.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemCheckEdit1 }); this.tvlUpgradeFiles.Size = new System.Drawing.Size(665, 255); this.tvlUpgradeFiles.TabIndex = 2; // // tlcSelected // this.tlcSelected.AppearanceCell.Options.UseTextOptions = true; this.tlcSelected.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.tlcSelected.AppearanceCell.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.tlcSelected.AppearanceHeader.Options.UseTextOptions = true; this.tlcSelected.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.tlcSelected.AppearanceHeader.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.tlcSelected.Caption = " "; this.tlcSelected.ColumnEdit = this.repositoryItemCheckEdit1; this.tlcSelected.FieldName = "Selected"; this.tlcSelected.MinWidth = 34; this.tlcSelected.Name = "tlcSelected"; this.tlcSelected.Visible = true; this.tlcSelected.VisibleIndex = 0; this.tlcSelected.Width = 34; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; // // openFileDialog // this.openFileDialog.Filter = "执行文件(*.exe)|*.exe|类库文件(*.dll)|*.dll|配置文件(*.ini;*.config)|*.ini;*.config|所有文件(*.*)" + "|*.*"; this.openFileDialog.Multiselect = true; // // saveFileDialog // this.saveFileDialog.DefaultExt = "xml"; this.saveFileDialog.Filter = "升级配置文件(*.xml)|*.xml"; this.saveFileDialog.Title = "升级配置文件名"; // // frmUpdateProjectFile // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.ClientSize = new System.Drawing.Size(665, 429); this.Controls.Add(this.tvlUpgradeFiles); this.Controls.Add(this.ribbonStatusBar); this.Controls.Add(this.ribbon); this.Name = "frmUpdateProjectFile"; this.Ribbon = this.ribbon; this.StatusBar = this.ribbonStatusBar; this.Text = "升级项目文件"; this.Load += new System.EventHandler(this.frmUpdateProjectFile_Load); this.Shown += new System.EventHandler(this.frmUpdateProjectFile_Shown); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tvlUpgradeFiles)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue1 = new DevExpress.XtraEditors.FormatConditionRuleValue(); this.tree = new DevExpress.XtraTreeList.TreeList(); this.colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colSqlSchema = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsDisabled = new DevExpress.XtraTreeList.Columns.TreeListColumn(); ((System.ComponentModel.ISupportInitialize)(this.tree)).BeginInit(); this.SuspendLayout(); // // tree // this.tree.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.colName, this.colSqlSchema, this.colIsDisabled}); this.tree.Dock = System.Windows.Forms.DockStyle.Fill; treeListFormatRule1.ApplyToRow = true; treeListFormatRule1.Name = "Disabled"; formatConditionRuleValue1.Appearance.ForeColor = System.Drawing.SystemColors.GrayText; formatConditionRuleValue1.Appearance.Options.UseForeColor = true; formatConditionRuleValue1.Condition = DevExpress.XtraEditors.FormatCondition.Equal; formatConditionRuleValue1.Value1 = true; treeListFormatRule1.Rule = formatConditionRuleValue1; this.tree.FormatRules.Add(treeListFormatRule1); this.tree.Location = new System.Drawing.Point(0, 0); this.tree.Name = "tree"; this.tree.Size = new System.Drawing.Size(418, 312); this.tree.TabIndex = 0; this.tree.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.tree_FocusedNodeChanged); this.tree.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.tree_MouseDoubleClick); // // colName // this.colName.Caption = "Name"; this.colName.FieldName = "Name"; this.colName.Name = "colName"; this.colName.OptionsColumn.AllowEdit = false; this.colName.OptionsColumn.AllowFocus = false; this.colName.SortOrder = System.Windows.Forms.SortOrder.Ascending; this.colName.Visible = true; this.colName.VisibleIndex = 0; // // colSqlSchema // this.colSqlSchema.Caption = "SQL Schema"; this.colSqlSchema.FieldName = "SqlSchemaName"; this.colSqlSchema.Name = "colSqlSchema"; this.colSqlSchema.OptionsColumn.AllowEdit = false; this.colSqlSchema.OptionsColumn.AllowFocus = false; this.colSqlSchema.SortOrder = System.Windows.Forms.SortOrder.Ascending; this.colSqlSchema.Visible = true; this.colSqlSchema.VisibleIndex = 1; // // colIsDisabled // this.colIsDisabled.Caption = "treeListColumn1"; this.colIsDisabled.FieldName = "IsDisabled"; this.colIsDisabled.Name = "colIsDisabled"; this.colIsDisabled.OptionsColumn.ShowInCustomizationForm = false; // // SchemaTree // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tree); this.Name = "SchemaTree"; this.Size = new System.Drawing.Size(418, 312); ((System.ComponentModel.ISupportInitialize)(this.tree)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.treeListColumn2 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treeList1 = new DevExpress.XtraTreeList.TreeList(); this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treeListColumn3 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.repositoryItemImageComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.repositoryItemImageEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageEdit(); this.repositoryItemImageEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemImageEdit(); this.behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(this.components); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).BeginInit(); this.SuspendLayout(); // // treeListColumn2 // this.treeListColumn2.Caption = "电话"; this.treeListColumn2.FieldName = "电话"; this.treeListColumn2.Name = "treeListColumn2"; this.treeListColumn2.Visible = true; this.treeListColumn2.VisibleIndex = 1; this.treeListColumn2.Width = 244; // // treeList1 // this.treeList1.Appearance.GroupButton.BackColor2 = System.Drawing.Color.Red; this.treeList1.Appearance.GroupButton.FontStyleDelta = System.Drawing.FontStyle.Italic; this.treeList1.Appearance.GroupButton.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; this.treeList1.Appearance.GroupButton.Options.UseFont = true; this.treeList1.Appearance.Preview.FontStyleDelta = System.Drawing.FontStyle.Bold; this.treeList1.Appearance.Preview.Options.UseFont = true; this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.treeListColumn1, this.treeListColumn2, this.treeListColumn3 }); this.treeList1.Cursor = System.Windows.Forms.Cursors.Default; this.treeList1.CustomizationFormBounds = new System.Drawing.Rectangle(1625, 643, 266, 273); this.treeList1.Dock = System.Windows.Forms.DockStyle.Fill; treeListFormatRule1.Column = this.treeListColumn2; treeListFormatRule1.ColumnApplyTo = this.treeListColumn2; treeListFormatRule1.Name = "Format0"; treeListFormatRule1.Rule = null; this.treeList1.FormatRules.Add(treeListFormatRule1); this.treeList1.HierarchyFieldName = "电话"; this.treeList1.Location = new System.Drawing.Point(0, 0); this.treeList1.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003; this.treeList1.LookAndFeel.UseDefaultLookAndFeel = false; this.treeList1.LookAndFeel.UseWindowsXPTheme = true; this.treeList1.Name = "treeList1"; this.treeList1.BeginUnboundLoad(); this.treeList1.AppendNode(new object[] { "浙江", "1", null }, -1, 2, 2, 2); this.treeList1.AppendNode(new object[] { "杭州", "1-1", null }, 0); this.treeList1.AppendNode(new object[] { "拱墅区", "1-1-1", null }, 1, System.Windows.Forms.CheckState.Checked); this.treeList1.AppendNode(new object[] { "金华", "1-2", null }, 0); this.treeList1.AppendNode(new object[] { "广东", "2", null }, -1); this.treeList1.AppendNode(new object[] { "广州", "2-1", null }, 4); this.treeList1.AppendNode(new object[] { "深圳", "2-2", null }, 4); this.treeList1.EndUnboundLoad(); this.treeList1.OptionsBehavior.PopulateServiceColumns = true; this.treeList1.OptionsView.ShowIndicator = false; this.treeList1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemImageEdit1, this.repositoryItemImageEdit2, this.repositoryItemImageComboBox1 }); this.treeList1.Size = new System.Drawing.Size(1112, 492); this.treeList1.TabIndex = 0; this.treeList1.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.treeList1_FocusedNodeChanged); // // treeListColumn1 // this.treeListColumn1.Caption = "名字"; this.treeListColumn1.FieldName = "名字"; this.treeListColumn1.Name = "treeListColumn1"; this.treeListColumn1.Visible = true; this.treeListColumn1.VisibleIndex = 0; this.treeListColumn1.Width = 305; // // treeListColumn3 // this.treeListColumn3.Caption = "性别"; this.treeListColumn3.ColumnEdit = this.repositoryItemImageComboBox1; this.treeListColumn3.FieldName = "性别"; this.treeListColumn3.Name = "treeListColumn3"; this.treeListColumn3.Visible = true; this.treeListColumn3.VisibleIndex = 2; this.treeListColumn3.Width = 253; // // repositoryItemImageComboBox1 // this.repositoryItemImageComboBox1.AutoHeight = false; this.repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1"; this.repositoryItemImageComboBox1.SmallImages = this.imageList1; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "open_folder_yellow.png"); this.imageList1.Images.SetKeyName(1, "Navisworks.png"); this.imageList1.Images.SetKeyName(2, "Goal1.png"); // // repositoryItemImageEdit1 // this.repositoryItemImageEdit1.AutoHeight = false; this.repositoryItemImageEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemImageEdit1.Images = this.imageList1; this.repositoryItemImageEdit1.Name = "repositoryItemImageEdit1"; // // repositoryItemImageEdit2 // this.repositoryItemImageEdit2.AutoHeight = false; this.repositoryItemImageEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemImageEdit2.Images = this.imageList1; this.repositoryItemImageEdit2.Name = "repositoryItemImageEdit2"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1112, 492); this.Controls.Add(this.treeList1); this.Name = "Form1"; this.Text = "Form1"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.Utils.SuperToolTip superToolTip1 = new DevExpress.Utils.SuperToolTip(); DevExpress.Utils.ToolTipItem toolTipItem1 = new DevExpress.Utils.ToolTipItem(); DevExpress.Utils.SuperToolTip superToolTip2 = new DevExpress.Utils.SuperToolTip(); DevExpress.Utils.ToolTipItem toolTipItem2 = new DevExpress.Utils.ToolTipItem(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ReportGeneratorMainForm)); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule2 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); this.colTestOutcome = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.testResultForReportBindingSource = new System.Windows.Forms.BindingSource(this.components); this.ribbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.bbiGenerateReport = new DevExpress.XtraBars.BarButtonItem(); this.bbiRefresh = new DevExpress.XtraBars.BarButtonItem(); this.beTestSuiteId = new DevExpress.XtraBars.BarEditItem(); this.repItemTestSuiteID = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.beTemplateFile = new DevExpress.XtraBars.BarEditItem(); this.templateFileRepItem = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.beTFSAddress = new DevExpress.XtraBars.BarEditItem(); this.repItemTFSAddress = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.beProjectName = new DevExpress.XtraBars.BarEditItem(); this.repItemProjectName = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.testConnectionBarItem = new DevExpress.XtraBars.BarEditItem(); this.testConnectionRepItem = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); this.btnSelectConnection = new DevExpress.XtraBars.BarButtonItem(); this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.pageGroupTCLoad = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.pageGroupExport = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonTemplate = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.templatesRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPage2 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.cbTemplates = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.repositoryItemHyperLinkEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); this.repositoryItemPictureEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.IReportItemBindingSource = new System.Windows.Forms.BindingSource(this.components); this.treeListNodeTypesImageCollection = new DevExpress.Utils.ImageCollection(this.components); this.colID = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.repositoryItemHypertextLabel1 = new DevExpress.XtraEditors.Repository.RepositoryItemHypertextLabel(); this.colParentID = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colCaption = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colTestedBy = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colTestedDate = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treeList = new DevExpress.XtraTreeList.TreeList(); this.colURL = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.repItemColIDHyperlinkEdit = new DevExpress.XtraEditors.Repository.RepositoryItemHyperLinkEdit(); this.repositoryItemPictureEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit(); this.treeListPopUpMenuImageCollection = new DevExpress.Utils.ImageCollection(this.components); this.testConnectionImageCollection = new DevExpress.Utils.ImageCollection(this.components); ((System.ComponentModel.ISupportInitialize)(this.testResultForReportBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repItemTestSuiteID)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.templateFileRepItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repItemTFSAddress)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repItemProjectName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.testConnectionRepItem)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbTemplates)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.IReportItemBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeListNodeTypesImageCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHypertextLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repItemColIDHyperlinkEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeListPopUpMenuImageCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.testConnectionImageCollection)).BeginInit(); this.SuspendLayout(); // // colTestOutcome // this.colTestOutcome.AppearanceCell.Options.UseTextOptions = true; this.colTestOutcome.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colTestOutcome.FieldName = "TestOutcome"; this.colTestOutcome.Name = "colTestOutcome"; this.colTestOutcome.OptionsColumn.AllowEdit = false; this.colTestOutcome.OptionsColumn.AllowFocus = false; this.colTestOutcome.OptionsColumn.ReadOnly = true; this.colTestOutcome.Visible = true; this.colTestOutcome.VisibleIndex = 2; this.colTestOutcome.Width = 103; // // testResultForReportBindingSource // this.testResultForReportBindingSource.DataSource = typeof(ReportGenerator.TestResultForReport); // // ribbonControl // this.ribbonControl.ExpandCollapseItem.Id = 0; this.ribbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbonControl.ExpandCollapseItem, this.ribbonControl.SearchEditItem, this.bbiGenerateReport, this.bbiRefresh, this.beTestSuiteId, this.beTemplateFile, this.barButtonItem1, this.barButtonItem2, this.beTFSAddress, this.beProjectName, this.barButtonItem3, this.testConnectionBarItem, this.btnSelectConnection }); this.ribbonControl.Location = new System.Drawing.Point(0, 0); this.ribbonControl.MaxItemId = 59; this.ribbonControl.Name = "ribbonControl"; this.ribbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPage1, this.ribbonTemplate, this.ribbonPage2 }); this.ribbonControl.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repItemTestSuiteID, this.repositoryItemButtonEdit1, this.cbTemplates, this.templateFileRepItem, this.repItemTFSAddress, this.repositoryItemHyperLinkEdit1, this.repItemProjectName, this.testConnectionRepItem, this.repositoryItemPictureEdit2 }); this.ribbonControl.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2013; this.ribbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; this.ribbonControl.Size = new System.Drawing.Size(790, 143); this.ribbonControl.StatusBar = this.ribbonStatusBar; this.ribbonControl.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; // // bbiGenerateReport // this.bbiGenerateReport.Caption = "Generate report"; this.bbiGenerateReport.Enabled = false; this.bbiGenerateReport.Id = 14; this.bbiGenerateReport.ImageOptions.ImageUri.Uri = "Preview"; this.bbiGenerateReport.Name = "bbiGenerateReport"; this.bbiGenerateReport.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.GenerateReport_ItemClick); // // bbiRefresh // this.bbiRefresh.Caption = "Load"; this.bbiRefresh.Enabled = false; this.bbiRefresh.Id = 19; this.bbiRefresh.ImageOptions.ImageUri.Uri = "Refresh"; this.bbiRefresh.Name = "bbiRefresh"; this.bbiRefresh.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.RefreshDataSource_ItemClick); // // beTestSuiteId // this.beTestSuiteId.Caption = "Test plan/suite ID:"; this.beTestSuiteId.Edit = this.repItemTestSuiteID; this.beTestSuiteId.EditWidth = 80; this.beTestSuiteId.Id = 20; this.beTestSuiteId.Name = "beTestSuiteId"; // // repItemTestSuiteID // this.repItemTestSuiteID.AutoHeight = false; this.repItemTestSuiteID.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repItemTestSuiteID.Mask.EditMask = "\\d+"; this.repItemTestSuiteID.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.repItemTestSuiteID.Name = "repItemTestSuiteID"; this.repItemTestSuiteID.EditValueChanging += new DevExpress.XtraEditors.Controls.ChangingEventHandler(this.RepItemTestSuiteID_EditValueChanging); // // beTemplateFile // this.beTemplateFile.AutoFillWidthInMenu = DevExpress.Utils.DefaultBoolean.True; this.beTemplateFile.Caption = "Template: "; this.beTemplateFile.Edit = this.templateFileRepItem; this.beTemplateFile.EditWidth = 300; this.beTemplateFile.Id = 24; this.beTemplateFile.Name = "beTemplateFile"; toolTipItem1.Text = "File which will be used as template for creation of final report. If left empty, " + "default template will be used."; superToolTip1.Items.Add(toolTipItem1); this.beTemplateFile.SuperTip = superToolTip1; // // templateFileRepItem // this.templateFileRepItem.AutoHeight = false; this.templateFileRepItem.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Close) }); this.templateFileRepItem.Name = "templateFileRepItem"; this.templateFileRepItem.ReadOnly = true; this.templateFileRepItem.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.templateFileRepItem.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.TemplatesFolderRepositoryItem_ButtonClick); // // barButtonItem1 // this.barButtonItem1.Caption = "Expand all"; this.barButtonItem1.Id = 32; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "Collapse all"; this.barButtonItem2.Id = 33; this.barButtonItem2.Name = "barButtonItem2"; // // beTFSAddress // this.beTFSAddress.AutoFillWidthInMenu = DevExpress.Utils.DefaultBoolean.True; this.beTFSAddress.Caption = "TFS address: "; this.beTFSAddress.CaptionAlignment = DevExpress.Utils.HorzAlignment.Near; this.beTFSAddress.Edit = this.repItemTFSAddress; this.beTFSAddress.EditValue = "https://tfs.dev.its:8090/tfs/Office%204.6/"; this.beTFSAddress.EditWidth = 250; this.beTFSAddress.Id = 34; this.beTFSAddress.Name = "beTFSAddress"; // // repItemTFSAddress // this.repItemTFSAddress.AutoHeight = false; this.repItemTFSAddress.Name = "repItemTFSAddress"; this.repItemTFSAddress.EditValueChanged += new System.EventHandler(this.RepItemTFSAddress_EditValueChanged); // // beProjectName // this.beProjectName.AutoFillWidthInMenu = DevExpress.Utils.DefaultBoolean.False; this.beProjectName.Caption = "Project name: "; this.beProjectName.Edit = this.repItemProjectName; this.beProjectName.EditValue = "TP DCMS2"; this.beProjectName.EditWidth = 150; this.beProjectName.Id = 35; this.beProjectName.Name = "beProjectName"; // // repItemProjectName // this.repItemProjectName.AutoHeight = false; this.repItemProjectName.Name = "repItemProjectName"; this.repItemProjectName.EditValueChanged += new System.EventHandler(this.RepItemProjectName_EditValueChanged); // // barButtonItem3 // this.barButtonItem3.Caption = "barButtonItem3"; this.barButtonItem3.Id = 44; this.barButtonItem3.Name = "barButtonItem3"; // // testConnectionBarItem // this.testConnectionBarItem.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Left; this.testConnectionBarItem.CaptionAlignment = DevExpress.Utils.HorzAlignment.Near; this.testConnectionBarItem.Edit = this.testConnectionRepItem; this.testConnectionBarItem.EditHeight = 32; this.testConnectionBarItem.EditWidth = 32; this.testConnectionBarItem.Id = 52; this.testConnectionBarItem.Name = "testConnectionBarItem"; this.testConnectionBarItem.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.Large; toolTipItem2.Text = "Test connection\r\n"; superToolTip2.Items.Add(toolTipItem2); this.testConnectionBarItem.SuperTip = superToolTip2; // // testConnectionRepItem // this.testConnectionRepItem.Appearance.BackColor = System.Drawing.Color.White; this.testConnectionRepItem.Appearance.Options.UseBackColor = true; this.testConnectionRepItem.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.testConnectionRepItem.InitialImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("testConnectionRepItem.InitialImageOptions.Image"))); this.testConnectionRepItem.Name = "testConnectionRepItem"; this.testConnectionRepItem.ShowMenu = false; this.testConnectionRepItem.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Stretch; this.testConnectionRepItem.Click += new System.EventHandler(this.TestConnectionRepItem_Click); // // btnSelectConnection // this.btnSelectConnection.Caption = "Select connection"; this.btnSelectConnection.Id = 58; this.btnSelectConnection.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSelectConnection.ImageOptions.Image"))); this.btnSelectConnection.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btnSelectConnection.ImageOptions.LargeImage"))); this.btnSelectConnection.Name = "btnSelectConnection"; this.btnSelectConnection.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.BtnSelectConnection_ItemClick); // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.pageGroupTCLoad, this.pageGroupExport }); this.ribbonPage1.MergeOrder = 0; this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "Report"; // // pageGroupTCLoad // this.pageGroupTCLoad.AllowTextClipping = false; this.pageGroupTCLoad.ItemLinks.Add(this.beTestSuiteId); this.pageGroupTCLoad.ItemLinks.Add(this.bbiRefresh); this.pageGroupTCLoad.Name = "pageGroupTCLoad"; this.pageGroupTCLoad.ShowCaptionButton = false; this.pageGroupTCLoad.State = DevExpress.XtraBars.Ribbon.RibbonPageGroupState.Expanded; this.pageGroupTCLoad.Text = "General"; // // pageGroupExport // this.pageGroupExport.AllowTextClipping = false; this.pageGroupExport.ItemLinks.Add(this.bbiGenerateReport); this.pageGroupExport.Name = "pageGroupExport"; this.pageGroupExport.ShowCaptionButton = false; this.pageGroupExport.Text = "Export"; // // ribbonTemplate // this.ribbonTemplate.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.templatesRibbonPageGroup }); this.ribbonTemplate.Name = "ribbonTemplate"; this.ribbonTemplate.Text = "Template"; // // templatesRibbonPageGroup // this.templatesRibbonPageGroup.ItemLinks.Add(this.beTemplateFile); this.templatesRibbonPageGroup.Name = "templatesRibbonPageGroup"; this.templatesRibbonPageGroup.Text = "Custom template"; // // ribbonPage2 // this.ribbonPage2.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup2, this.ribbonPageGroup1 }); this.ribbonPage2.Name = "ribbonPage2"; this.ribbonPage2.Text = "Settings"; // // ribbonPageGroup2 // this.ribbonPageGroup2.ItemLinks.Add(this.btnSelectConnection); this.ribbonPageGroup2.Name = "ribbonPageGroup2"; this.ribbonPageGroup2.ShowCaptionButton = false; // // ribbonPageGroup1 // this.ribbonPageGroup1.AllowTextClipping = false; this.ribbonPageGroup1.ItemLinks.Add(this.beTFSAddress, true); this.ribbonPageGroup1.ItemLinks.Add(this.beProjectName); this.ribbonPageGroup1.ItemLinks.Add(this.testConnectionBarItem); this.ribbonPageGroup1.ItemsLayout = DevExpress.XtraBars.Ribbon.RibbonPageGroupItemsLayout.TwoRows; this.ribbonPageGroup1.Name = "ribbonPageGroup1"; this.ribbonPageGroup1.ShowCaptionButton = false; this.ribbonPageGroup1.State = DevExpress.XtraBars.Ribbon.RibbonPageGroupState.Expanded; // // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; // // cbTemplates // this.cbTemplates.AutoHeight = false; this.cbTemplates.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cbTemplates.Name = "cbTemplates"; this.cbTemplates.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; // // repositoryItemHyperLinkEdit1 // this.repositoryItemHyperLinkEdit1.AutoHeight = false; this.repositoryItemHyperLinkEdit1.Name = "repositoryItemHyperLinkEdit1"; this.repositoryItemHyperLinkEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; // // repositoryItemPictureEdit2 // this.repositoryItemPictureEdit2.Name = "repositoryItemPictureEdit2"; // // ribbonStatusBar // this.ribbonStatusBar.Location = new System.Drawing.Point(0, 568); this.ribbonStatusBar.Name = "ribbonStatusBar"; this.ribbonStatusBar.Ribbon = this.ribbonControl; this.ribbonStatusBar.Size = new System.Drawing.Size(790, 31); // // IReportItemBindingSource // this.IReportItemBindingSource.DataSource = typeof(ReportGenerator.Model.IReportItem); // // treeListNodeTypesImageCollection // this.treeListNodeTypesImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("treeListNodeTypesImageCollection.ImageStream"))); this.treeListNodeTypesImageCollection.Images.SetKeyName(0, "switchtimescalesto_16x16.png"); this.treeListNodeTypesImageCollection.Images.SetKeyName(1, "kisspng-computer-icons-checklist-iconfinder-check-checklist-document-form-list-re" + "port-te-5ab0470a055be8.366942111521501962022.png"); this.treeListNodeTypesImageCollection.Images.SetKeyName(2, "forcetesting_16x16.png"); this.treeListNodeTypesImageCollection.Images.SetKeyName(3, "forcetesting_16x16.png"); this.treeListNodeTypesImageCollection.Images.SetKeyName(4, "TestSuiteIcon.png"); this.treeListNodeTypesImageCollection.Images.SetKeyName(5, "i383-512.png"); this.treeListNodeTypesImageCollection.Images.SetKeyName(6, "TestPlanIcon.png"); // // colID // this.colID.AppearanceCell.Options.UseTextOptions = true; this.colID.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colID.FieldName = "ID"; this.colID.Name = "colID"; this.colID.OptionsColumn.AllowEdit = false; this.colID.OptionsColumn.AllowFocus = false; this.colID.OptionsColumn.ReadOnly = true; this.colID.Visible = true; this.colID.VisibleIndex = 1; this.colID.Width = 71; // // repositoryItemHypertextLabel1 // this.repositoryItemHypertextLabel1.Name = "repositoryItemHypertextLabel1"; // // colParentID // this.colParentID.FieldName = "ParentID"; this.colParentID.Name = "colParentID"; this.colParentID.OptionsColumn.AllowEdit = false; this.colParentID.OptionsColumn.AllowFocus = false; this.colParentID.OptionsColumn.ReadOnly = true; // // colCaption // this.colCaption.AppearanceCell.Options.UseTextOptions = true; this.colCaption.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colCaption.FieldName = "Caption"; this.colCaption.Name = "colCaption"; this.colCaption.OptionsColumn.AllowEdit = false; this.colCaption.OptionsColumn.AllowFocus = false; this.colCaption.OptionsColumn.ReadOnly = true; this.colCaption.Visible = true; this.colCaption.VisibleIndex = 0; this.colCaption.Width = 261; // // colTestedBy // this.colTestedBy.AppearanceCell.Options.UseTextOptions = true; this.colTestedBy.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colTestedBy.FieldName = "TestedBy"; this.colTestedBy.Name = "colTestedBy"; this.colTestedBy.OptionsColumn.AllowEdit = false; this.colTestedBy.OptionsColumn.AllowFocus = false; this.colTestedBy.OptionsColumn.ReadOnly = true; this.colTestedBy.Visible = true; this.colTestedBy.VisibleIndex = 3; this.colTestedBy.Width = 112; // // colTestedDate // this.colTestedDate.AppearanceCell.Options.UseTextOptions = true; this.colTestedDate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colTestedDate.FieldName = "TestedDate"; this.colTestedDate.Name = "colTestedDate"; this.colTestedDate.OptionsColumn.AllowEdit = false; this.colTestedDate.OptionsColumn.AllowFocus = false; this.colTestedDate.OptionsColumn.ReadOnly = true; this.colTestedDate.Visible = true; this.colTestedDate.VisibleIndex = 4; this.colTestedDate.Width = 183; // // treeList // this.treeList.ChildListFieldName = "Children"; this.treeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.colID, this.colParentID, this.colCaption, this.colTestOutcome, this.colTestedBy, this.colTestedDate, this.colURL }); this.treeList.CustomizationFormBounds = new System.Drawing.Rectangle(857, 478, 266, 252); this.treeList.DataSource = this.IReportItemBindingSource; this.treeList.Dock = System.Windows.Forms.DockStyle.Fill; treeListFormatRule1.ApplyToRow = true; treeListFormatRule1.Column = this.colTestOutcome; treeListFormatRule1.Name = "PassedOutcome"; formatConditionRuleExpression1.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); formatConditionRuleExpression1.Appearance.Options.UseForeColor = true; formatConditionRuleExpression1.Expression = "[TestOutcome] = 2"; treeListFormatRule1.Rule = formatConditionRuleExpression1; treeListFormatRule2.ApplyToRow = true; treeListFormatRule2.Column = this.colTestOutcome; treeListFormatRule2.Name = "FailedOutcome"; formatConditionRuleExpression2.Appearance.ForeColor = System.Drawing.Color.Red; formatConditionRuleExpression2.Appearance.Options.UseForeColor = true; formatConditionRuleExpression2.Expression = "[TestOutcome] = 3"; treeListFormatRule2.Rule = formatConditionRuleExpression2; this.treeList.FormatRules.Add(treeListFormatRule1); this.treeList.FormatRules.Add(treeListFormatRule2); this.treeList.ImageIndexFieldName = ""; this.treeList.Location = new System.Drawing.Point(0, 143); this.treeList.Name = "treeList"; this.treeList.OptionsBehavior.PopulateServiceColumns = true; this.treeList.OptionsView.RowImagesShowMode = DevExpress.XtraTreeList.RowImagesShowMode.InIndent; this.treeList.OptionsView.ShowHorzLines = false; this.treeList.OptionsView.ShowTreeLines = DevExpress.Utils.DefaultBoolean.False; this.treeList.OptionsView.ShowVertLines = false; this.treeList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemPictureEdit1, this.repositoryItemHypertextLabel1, this.repItemColIDHyperlinkEdit }); this.treeList.Size = new System.Drawing.Size(790, 425); this.treeList.StateImageList = this.treeListNodeTypesImageCollection; this.treeList.TabIndex = 5; this.treeList.TreeLevelWidth = 12; this.treeList.GetStateImage += new DevExpress.XtraTreeList.GetStateImageEventHandler(this.TreeList_GetStateImage); this.treeList.NodeCellStyle += new DevExpress.XtraTreeList.GetCustomNodeCellStyleEventHandler(this.TreeList_NodeCellStyle); this.treeList.PopupMenuShowing += new DevExpress.XtraTreeList.PopupMenuShowingEventHandler(this.TreeList_PopupMenuShowing); this.treeList.KeyDown += new System.Windows.Forms.KeyEventHandler(this.TreeList_KeyDown); // // colURL // this.colURL.Caption = "Open"; this.colURL.ColumnEdit = this.repItemColIDHyperlinkEdit; this.colURL.FieldName = "URI"; this.colURL.Name = "colURL"; this.colURL.OptionsColumn.ReadOnly = true; this.colURL.Visible = true; this.colURL.VisibleIndex = 5; this.colURL.Width = 42; // // repItemColIDHyperlinkEdit // this.repItemColIDHyperlinkEdit.AutoHeight = false; this.repItemColIDHyperlinkEdit.Image = ((System.Drawing.Image)(resources.GetObject("repItemColIDHyperlinkEdit.Image"))); this.repItemColIDHyperlinkEdit.ImageAlignment = DevExpress.Utils.HorzAlignment.Center; this.repItemColIDHyperlinkEdit.Name = "repItemColIDHyperlinkEdit"; this.repItemColIDHyperlinkEdit.ReadOnly = true; this.repItemColIDHyperlinkEdit.SingleClick = true; // // repositoryItemPictureEdit1 // this.repositoryItemPictureEdit1.Name = "repositoryItemPictureEdit1"; // // treeListPopUpMenuImageCollection // this.treeListPopUpMenuImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("treeListPopUpMenuImageCollection.ImageStream"))); this.treeListPopUpMenuImageCollection.Images.SetKeyName(0, "add_16x16.png"); this.treeListPopUpMenuImageCollection.Images.SetKeyName(1, "remove_16x16.png"); // // testConnectionImageCollection // this.testConnectionImageCollection.ImageSize = new System.Drawing.Size(64, 64); this.testConnectionImageCollection.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("testConnectionImageCollection.ImageStream"))); this.testConnectionImageCollection.Images.SetKeyName(0, "refresh_32x32.png"); this.testConnectionImageCollection.Images.SetKeyName(1, "apply_32x32.png"); this.testConnectionImageCollection.Images.SetKeyName(2, "cancel_32x32.png"); // // ReportGeneratorMainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(790, 599); this.Controls.Add(this.treeList); this.Controls.Add(this.ribbonStatusBar); this.Controls.Add(this.ribbonControl); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "ReportGeneratorMainForm"; this.Ribbon = this.ribbonControl; this.StatusBar = this.ribbonStatusBar; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ReportGeneratorMainForm_FormClosing); ((System.ComponentModel.ISupportInitialize)(this.testResultForReportBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbonControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repItemTestSuiteID)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.templateFileRepItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repItemTFSAddress)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repItemProjectName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.testConnectionRepItem)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbTemplates)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHyperLinkEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.IReportItemBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeListNodeTypesImageCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemHypertextLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repItemColIDHyperlinkEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeListPopUpMenuImageCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.testConnectionImageCollection)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue1 = new DevExpress.XtraEditors.FormatConditionRuleValue(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule2 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue2 = new DevExpress.XtraEditors.FormatConditionRuleValue(); this.treeListColumn2 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treeList1 = new DevExpress.XtraTreeList.TreeList(); this.treeListColumn1 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.button1 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit(); this.SuspendLayout(); // // treeListColumn2 // this.treeListColumn2.Caption = "Number"; this.treeListColumn2.FieldName = "Number"; this.treeListColumn2.Name = "treeListColumn2"; this.treeListColumn2.Visible = true; this.treeListColumn2.VisibleIndex = 1; // // treeList1 // this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.treeListColumn1, this.treeListColumn2 }); this.treeList1.Dock = System.Windows.Forms.DockStyle.Fill; treeListFormatRule1.ApplyToRow = true; treeListFormatRule1.Column = treeListColumn2; treeListFormatRule1.Name = "Format0"; formatConditionRuleValue1.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); formatConditionRuleValue1.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); formatConditionRuleValue1.Appearance.Options.UseBackColor = true; formatConditionRuleValue1.Appearance.Options.UseForeColor = true; formatConditionRuleValue1.Condition = DevExpress.XtraEditors.FormatCondition.NotEqual; formatConditionRuleValue1.Value1 = -12; treeListFormatRule1.Rule = formatConditionRuleValue1; treeListFormatRule2.ApplyToRow = true; treeListFormatRule2.Column = this.treeListColumn2; treeListFormatRule2.Name = "Format1"; formatConditionRuleValue2.Appearance.BackColor = System.Drawing.Color.Lime; formatConditionRuleValue2.Appearance.BackColor2 = System.Drawing.Color.Yellow; formatConditionRuleValue2.Appearance.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.Vertical; formatConditionRuleValue2.Appearance.Options.UseBackColor = true; formatConditionRuleValue2.Condition = DevExpress.XtraEditors.FormatCondition.Equal; formatConditionRuleValue2.Value1 = -12; treeListFormatRule2.Rule = formatConditionRuleValue2; this.treeList1.FormatRules.Add(treeListFormatRule1); this.treeList1.FormatRules.Add(treeListFormatRule2); this.treeList1.Location = new System.Drawing.Point(0, 0); this.treeList1.Name = "treeList1"; this.treeList1.Size = new System.Drawing.Size(572, 482); this.treeList1.TabIndex = 0; // // treeListColumn1 // this.treeListColumn1.Caption = "Name"; this.treeListColumn1.FieldName = "Name"; this.treeListColumn1.Name = "treeListColumn1"; this.treeListColumn1.Visible = true; this.treeListColumn1.VisibleIndex = 0; // // button1 // this.button1.Location = new System.Drawing.Point(123, 360); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(339, 23); this.button1.TabIndex = 1; this.button1.Text = "Test"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(572, 482); this.Controls.Add(this.button1); this.Controls.Add(this.treeList1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleDataBar formatConditionRuleDataBar1 = new DevExpress.XtraEditors.FormatConditionRuleDataBar(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule2 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleDataBar formatConditionRuleDataBar2 = new DevExpress.XtraEditors.FormatConditionRuleDataBar(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ResultsModule)); this.colDeepLength = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colDeepFilesCount = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.resultsTreeList = new DevExpress.XtraTreeList.TreeList(); this.colLevel = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsFolder = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colFullName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colCreationTime = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colLastAccessTime = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colLastWriteTime = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colOwnerName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colAttributes = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsArchive = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsCompressed = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsDevice = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsDirectory = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsEncrypted = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsHidden = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsIntegrityStream = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsNormal = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsNoScrubData = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsNotContentIndexed = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsOffline = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsReadOnly = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsReparsePoint = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsSparseFile = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsSystem = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsTemporary = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colDeepPercent = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colDeepFilesCountPercent = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.resultsBindingSource = new System.Windows.Forms.BindingSource(this.components); this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.barButtonItemExpandTree = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemCollapse = new DevExpress.XtraBars.BarButtonItem(); this.barSubItemExpandLevel = new DevExpress.XtraBars.BarSubItem(); this.barButtonItemExpandLevel1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemExpandLevel2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemExpandLevel3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemExpandLevel4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemExpandLevel5 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemOpenFolder = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemOpenInNewWamby = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemOpenTerminal = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemCopyPath = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemShowProperties = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem(); this.ribbonPageMain = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroupResults = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroupOptions = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.popupMenu = new DevExpress.XtraBars.PopupMenu(this.components); ((System.ComponentModel.ISupportInitialize)(this.resultsTreeList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.resultsBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu)).BeginInit(); this.SuspendLayout(); // // colDeepLength // this.colDeepLength.Caption = "Size (KB)"; this.colDeepLength.FieldName = "DeepLengthInKB"; this.colDeepLength.Format.FormatString = "n0"; this.colDeepLength.Format.FormatType = DevExpress.Utils.FormatType.Numeric; this.colDeepLength.Name = "colDeepLength"; this.colDeepLength.Visible = true; this.colDeepLength.VisibleIndex = 1; this.colDeepLength.Width = 99; // // colDeepFilesCount // this.colDeepFilesCount.Caption = "Files"; this.colDeepFilesCount.FieldName = "DeepFilesCount"; this.colDeepFilesCount.Format.FormatString = "n0"; this.colDeepFilesCount.Format.FormatType = DevExpress.Utils.FormatType.Numeric; this.colDeepFilesCount.Name = "colDeepFilesCount"; this.colDeepFilesCount.Visible = true; this.colDeepFilesCount.VisibleIndex = 3; this.colDeepFilesCount.Width = 54; // // resultsTreeList // this.resultsTreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.colLevel, this.colIsFolder, this.colFullName, this.colDeepLength, this.colDeepFilesCount, this.colCreationTime, this.colLastAccessTime, this.colLastWriteTime, this.colOwnerName, this.colAttributes, this.colIsArchive, this.colIsCompressed, this.colIsDevice, this.colIsDirectory, this.colIsEncrypted, this.colIsHidden, this.colIsIntegrityStream, this.colIsNormal, this.colIsNoScrubData, this.colIsNotContentIndexed, this.colIsOffline, this.colIsReadOnly, this.colIsReparsePoint, this.colIsSparseFile, this.colIsSystem, this.colIsTemporary, this.colDeepPercent, this.colDeepFilesCountPercent }); this.resultsTreeList.Cursor = System.Windows.Forms.Cursors.Default; this.resultsTreeList.DataSource = this.resultsBindingSource; this.resultsTreeList.Dock = System.Windows.Forms.DockStyle.Fill; treeListFormatRule1.Column = this.colDeepLength; treeListFormatRule1.Name = "Format0"; formatConditionRuleDataBar1.PredefinedName = "Mint"; treeListFormatRule1.Rule = formatConditionRuleDataBar1; treeListFormatRule2.Column = this.colDeepFilesCount; treeListFormatRule2.Name = "Format1"; formatConditionRuleDataBar2.PredefinedName = "Violet"; treeListFormatRule2.Rule = formatConditionRuleDataBar2; this.resultsTreeList.FormatRules.Add(treeListFormatRule1); this.resultsTreeList.FormatRules.Add(treeListFormatRule2); this.resultsTreeList.KeyFieldName = "FullName"; this.resultsTreeList.Location = new System.Drawing.Point(0, 31); this.resultsTreeList.Name = "resultsTreeList"; this.resultsTreeList.OptionsBehavior.Editable = false; this.resultsTreeList.OptionsMenu.ShowConditionalFormattingItem = true; this.resultsTreeList.OptionsSelection.SelectNodesOnRightClick = true; this.resultsTreeList.OptionsView.ShowHorzLines = false; this.resultsTreeList.OptionsView.ShowIndicator = false; this.resultsTreeList.ParentFieldName = "ParentFullName"; this.resultsTreeList.Size = new System.Drawing.Size(1012, 493); this.resultsTreeList.TabIndex = 0; // // colLevel // this.colLevel.FieldName = "Level"; this.colLevel.Name = "colLevel"; this.colLevel.Width = 122; // // colIsFolder // this.colIsFolder.FieldName = "IsFolder"; this.colIsFolder.Name = "colIsFolder"; this.colIsFolder.Width = 71; // // colFullName // this.colFullName.Caption = "Folder"; this.colFullName.FieldName = "DisplayName"; this.colFullName.Name = "colFullName"; this.colFullName.Visible = true; this.colFullName.VisibleIndex = 0; this.colFullName.Width = 323; // // colCreationTime // this.colCreationTime.FieldName = "CreationTime"; this.colCreationTime.Format.FormatString = "g"; this.colCreationTime.Format.FormatType = DevExpress.Utils.FormatType.DateTime; this.colCreationTime.Name = "colCreationTime"; this.colCreationTime.OptionsColumn.AllowEdit = false; this.colCreationTime.OptionsColumn.AllowSize = false; this.colCreationTime.OptionsColumn.FixedWidth = true; this.colCreationTime.OptionsColumn.ReadOnly = true; this.colCreationTime.ShowButtonMode = DevExpress.XtraTreeList.ShowButtonModeEnum.ShowOnlyInEditor; this.colCreationTime.Visible = true; this.colCreationTime.VisibleIndex = 5; this.colCreationTime.Width = 100; // // colLastAccessTime // this.colLastAccessTime.FieldName = "LastAccessTime"; this.colLastAccessTime.Format.FormatString = "g"; this.colLastAccessTime.Format.FormatType = DevExpress.Utils.FormatType.DateTime; this.colLastAccessTime.Name = "colLastAccessTime"; this.colLastAccessTime.OptionsColumn.AllowEdit = false; this.colLastAccessTime.OptionsColumn.AllowSize = false; this.colLastAccessTime.OptionsColumn.FixedWidth = true; this.colLastAccessTime.OptionsColumn.ReadOnly = true; this.colLastAccessTime.ShowButtonMode = DevExpress.XtraTreeList.ShowButtonModeEnum.ShowOnlyInEditor; this.colLastAccessTime.Visible = true; this.colLastAccessTime.VisibleIndex = 6; this.colLastAccessTime.Width = 100; // // colLastWriteTime // this.colLastWriteTime.FieldName = "LastWriteTime"; this.colLastWriteTime.Format.FormatString = "g"; this.colLastWriteTime.Format.FormatType = DevExpress.Utils.FormatType.DateTime; this.colLastWriteTime.Name = "colLastWriteTime"; this.colLastWriteTime.OptionsColumn.AllowEdit = false; this.colLastWriteTime.OptionsColumn.AllowSize = false; this.colLastWriteTime.OptionsColumn.FixedWidth = true; this.colLastWriteTime.OptionsColumn.ReadOnly = true; this.colLastWriteTime.ShowButtonMode = DevExpress.XtraTreeList.ShowButtonModeEnum.ShowOnlyInEditor; this.colLastWriteTime.Visible = true; this.colLastWriteTime.VisibleIndex = 7; this.colLastWriteTime.Width = 100; // // colOwnerName // this.colOwnerName.Caption = "Owner"; this.colOwnerName.FieldName = "OwnerName"; this.colOwnerName.Name = "colOwnerName"; this.colOwnerName.Visible = true; this.colOwnerName.VisibleIndex = 8; this.colOwnerName.Width = 46; // // colAttributes // this.colAttributes.AppearanceCell.Options.UseTextOptions = true; this.colAttributes.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colAttributes.FieldName = "Attributes"; this.colAttributes.Name = "colAttributes"; this.colAttributes.OptionsColumn.AllowEdit = false; this.colAttributes.OptionsColumn.ReadOnly = true; this.colAttributes.ShowButtonMode = DevExpress.XtraTreeList.ShowButtonModeEnum.ShowOnlyInEditor; this.colAttributes.Visible = true; this.colAttributes.VisibleIndex = 9; this.colAttributes.Width = 48; // // colIsArchive // this.colIsArchive.FieldName = "IsArchive"; this.colIsArchive.Name = "colIsArchive"; // // colIsCompressed // this.colIsCompressed.FieldName = "IsCompressed"; this.colIsCompressed.Name = "colIsCompressed"; // // colIsDevice // this.colIsDevice.FieldName = "IsDevice"; this.colIsDevice.Name = "colIsDevice"; // // colIsDirectory // this.colIsDirectory.FieldName = "IsDirectory"; this.colIsDirectory.Name = "colIsDirectory"; // // colIsEncrypted // this.colIsEncrypted.FieldName = "IsEncrypted"; this.colIsEncrypted.Name = "colIsEncrypted"; // // colIsHidden // this.colIsHidden.FieldName = "IsHidden"; this.colIsHidden.Name = "colIsHidden"; // // colIsIntegrityStream // this.colIsIntegrityStream.FieldName = "IsIntegrityStream"; this.colIsIntegrityStream.Name = "colIsIntegrityStream"; // // colIsNormal // this.colIsNormal.FieldName = "IsNormal"; this.colIsNormal.Name = "colIsNormal"; // // colIsNoScrubData // this.colIsNoScrubData.FieldName = "IsNoScrubData"; this.colIsNoScrubData.Name = "colIsNoScrubData"; // // colIsNotContentIndexed // this.colIsNotContentIndexed.FieldName = "IsNotContentIndexed"; this.colIsNotContentIndexed.Name = "colIsNotContentIndexed"; // // colIsOffline // this.colIsOffline.FieldName = "IsOffline"; this.colIsOffline.Name = "colIsOffline"; // // colIsReadOnly // this.colIsReadOnly.FieldName = "IsReadOnly"; this.colIsReadOnly.Name = "colIsReadOnly"; // // colIsReparsePoint // this.colIsReparsePoint.FieldName = "IsReparsePoint"; this.colIsReparsePoint.Name = "colIsReparsePoint"; // // colIsSparseFile // this.colIsSparseFile.FieldName = "IsSparseFile"; this.colIsSparseFile.Name = "colIsSparseFile"; // // colIsSystem // this.colIsSystem.FieldName = "IsSystem"; this.colIsSystem.Name = "colIsSystem"; // // colIsTemporary // this.colIsTemporary.FieldName = "IsTemporary"; this.colIsTemporary.Name = "colIsTemporary"; // // colDeepPercent // this.colDeepPercent.Caption = "Size (%)"; this.colDeepPercent.FieldName = "DeepLenghtPercent"; this.colDeepPercent.Format.FormatString = "p0"; this.colDeepPercent.Format.FormatType = DevExpress.Utils.FormatType.Numeric; this.colDeepPercent.Name = "colDeepPercent"; this.colDeepPercent.OptionsColumn.AllowSize = false; this.colDeepPercent.OptionsColumn.FixedWidth = true; this.colDeepPercent.Visible = true; this.colDeepPercent.VisibleIndex = 2; this.colDeepPercent.Width = 70; // // colDeepFilesCountPercent // this.colDeepFilesCountPercent.Caption = "Files (%)"; this.colDeepFilesCountPercent.FieldName = "DeepFilesCountPercent"; this.colDeepFilesCountPercent.Format.FormatString = "p0"; this.colDeepFilesCountPercent.Format.FormatType = DevExpress.Utils.FormatType.Numeric; this.colDeepFilesCountPercent.Name = "colDeepFilesCountPercent"; this.colDeepFilesCountPercent.OptionsColumn.AllowSize = false; this.colDeepFilesCountPercent.OptionsColumn.FixedWidth = true; this.colDeepFilesCountPercent.Visible = true; this.colDeepFilesCountPercent.VisibleIndex = 4; this.colDeepFilesCountPercent.Width = 70; // // resultsBindingSource // this.resultsBindingSource.DataSource = typeof(Wamby.Core.Model.WambyFolderInfo); // // ribbon // this.ribbon.AllowMinimizeRibbon = false; this.ribbon.ExpandCollapseItem.Id = 0; this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbon.ExpandCollapseItem, this.barButtonItemExpandTree, this.barButtonItemCollapse, this.barSubItemExpandLevel, this.barButtonItemExpandLevel1, this.barButtonItemExpandLevel2, this.barButtonItemExpandLevel3, this.barButtonItemExpandLevel4, this.barButtonItemExpandLevel5, this.barButtonItemOpenFolder, this.barButtonItemOpenInNewWamby, this.barButtonItemOpenTerminal, this.barButtonItemCopyPath, this.barButtonItemShowProperties, this.barButtonItemDelete, this.ribbon.SearchEditItem }); this.ribbon.Location = new System.Drawing.Point(0, 0); this.ribbon.MaxItemId = 1; this.ribbon.MdiMergeStyle = DevExpress.XtraBars.Ribbon.RibbonMdiMergeStyle.Always; this.ribbon.Name = "ribbon"; this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPageMain }); this.ribbon.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.OfficeUniversal; this.ribbon.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; this.ribbon.Size = new System.Drawing.Size(1012, 31); // // barButtonItemExpandTree // this.barButtonItemExpandTree.Caption = "Expand"; this.barButtonItemExpandTree.Id = 7; this.barButtonItemExpandTree.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemExpandTree.ImageOptions.SvgImage"))); this.barButtonItemExpandTree.Name = "barButtonItemExpandTree"; this.barButtonItemExpandTree.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithoutText; // // barButtonItemCollapse // this.barButtonItemCollapse.Caption = "Collapse"; this.barButtonItemCollapse.Id = 8; this.barButtonItemCollapse.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemCollapse.ImageOptions.SvgImage"))); this.barButtonItemCollapse.Name = "barButtonItemCollapse"; this.barButtonItemCollapse.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithoutText; // // barSubItemExpandLevel // this.barSubItemExpandLevel.Caption = "Expand level"; this.barSubItemExpandLevel.Id = 10; this.barSubItemExpandLevel.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barSubItemExpandLevel.ImageOptions.SvgImage"))); this.barSubItemExpandLevel.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemExpandLevel1), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemExpandLevel2), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemExpandLevel3), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemExpandLevel4), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemExpandLevel5) }); this.barSubItemExpandLevel.Name = "barSubItemExpandLevel"; // // barButtonItemExpandLevel1 // this.barButtonItemExpandLevel1.Caption = "Level 1"; this.barButtonItemExpandLevel1.Id = 11; this.barButtonItemExpandLevel1.Name = "barButtonItemExpandLevel1"; this.barButtonItemExpandLevel1.Tag = 1; // // barButtonItemExpandLevel2 // this.barButtonItemExpandLevel2.Caption = "Level 2"; this.barButtonItemExpandLevel2.Id = 12; this.barButtonItemExpandLevel2.Name = "barButtonItemExpandLevel2"; this.barButtonItemExpandLevel2.Tag = 2; // // barButtonItemExpandLevel3 // this.barButtonItemExpandLevel3.Caption = "Level 3"; this.barButtonItemExpandLevel3.Id = 13; this.barButtonItemExpandLevel3.Name = "barButtonItemExpandLevel3"; this.barButtonItemExpandLevel3.Tag = 3; // // barButtonItemExpandLevel4 // this.barButtonItemExpandLevel4.Caption = "Level 4"; this.barButtonItemExpandLevel4.Id = 14; this.barButtonItemExpandLevel4.Name = "barButtonItemExpandLevel4"; this.barButtonItemExpandLevel4.Tag = 4; // // barButtonItemExpandLevel5 // this.barButtonItemExpandLevel5.Caption = "Level 5"; this.barButtonItemExpandLevel5.Id = 15; this.barButtonItemExpandLevel5.Name = "barButtonItemExpandLevel5"; this.barButtonItemExpandLevel5.Tag = 5; // // barButtonItemOpenFolder // this.barButtonItemOpenFolder.Caption = "Open folder (Explorer)"; this.barButtonItemOpenFolder.Id = 32; this.barButtonItemOpenFolder.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemOpenFolder.ImageOptions.SvgImage"))); this.barButtonItemOpenFolder.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)); this.barButtonItemOpenFolder.Name = "barButtonItemOpenFolder"; // // barButtonItemOpenInNewWamby // this.barButtonItemOpenInNewWamby.Caption = "Scan in new Wamby"; this.barButtonItemOpenInNewWamby.Id = 33; this.barButtonItemOpenInNewWamby.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemOpenInNewWamby.ImageOptions.SvgImage"))); this.barButtonItemOpenInNewWamby.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.W)); this.barButtonItemOpenInNewWamby.Name = "barButtonItemOpenInNewWamby"; // // barButtonItemOpenTerminal // this.barButtonItemOpenTerminal.Caption = "Open folder (Terminal)"; this.barButtonItemOpenTerminal.Id = 34; this.barButtonItemOpenTerminal.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemOpenTerminal.ImageOptions.SvgImage"))); this.barButtonItemOpenTerminal.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)); this.barButtonItemOpenTerminal.Name = "barButtonItemOpenTerminal"; // // barButtonItemCopyPath // this.barButtonItemCopyPath.Caption = "Copy path"; this.barButtonItemCopyPath.Id = 35; this.barButtonItemCopyPath.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemCopyPath.ImageOptions.SvgImage"))); this.barButtonItemCopyPath.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)); this.barButtonItemCopyPath.Name = "barButtonItemCopyPath"; this.barButtonItemCopyPath.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithoutText; // // barButtonItemShowProperties // this.barButtonItemShowProperties.Caption = "Show properties"; this.barButtonItemShowProperties.Id = 36; this.barButtonItemShowProperties.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemShowProperties.ImageOptions.SvgImage"))); this.barButtonItemShowProperties.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Enter)); this.barButtonItemShowProperties.Name = "barButtonItemShowProperties"; this.barButtonItemShowProperties.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithoutText; // // barButtonItemDelete // this.barButtonItemDelete.Caption = "Delete"; this.barButtonItemDelete.Id = 37; this.barButtonItemDelete.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItemDelete.ImageOptions.SvgImage"))); this.barButtonItemDelete.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.Delete); this.barButtonItemDelete.Name = "barButtonItemDelete"; this.barButtonItemDelete.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonItemStyles.SmallWithoutText; // // ribbonPageMain // this.ribbonPageMain.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroupResults, this.ribbonPageGroupOptions }); this.ribbonPageMain.Name = "ribbonPageMain"; this.ribbonPageMain.Text = "Main Page"; // // ribbonPageGroupResults // this.ribbonPageGroupResults.ItemLinks.Add(this.barButtonItemExpandTree); this.ribbonPageGroupResults.ItemLinks.Add(this.barButtonItemCollapse); this.ribbonPageGroupResults.ItemLinks.Add(this.barSubItemExpandLevel, true); this.ribbonPageGroupResults.Name = "ribbonPageGroupResults"; this.ribbonPageGroupResults.Text = "Results"; // // ribbonPageGroupOptions // this.ribbonPageGroupOptions.ItemLinks.Add(this.barButtonItemOpenFolder); this.ribbonPageGroupOptions.ItemLinks.Add(this.barButtonItemOpenTerminal); this.ribbonPageGroupOptions.ItemLinks.Add(this.barButtonItemOpenInNewWamby); this.ribbonPageGroupOptions.ItemLinks.Add(this.barButtonItemCopyPath, true); this.ribbonPageGroupOptions.ItemLinks.Add(this.barButtonItemShowProperties); this.ribbonPageGroupOptions.ItemLinks.Add(this.barButtonItemDelete); this.ribbonPageGroupOptions.Name = "ribbonPageGroupOptions"; this.ribbonPageGroupOptions.Text = "Options"; // // popupMenu // this.popupMenu.ItemLinks.Add(this.barButtonItemOpenFolder); this.popupMenu.ItemLinks.Add(this.barButtonItemOpenTerminal); this.popupMenu.ItemLinks.Add(this.barButtonItemOpenInNewWamby); this.popupMenu.ItemLinks.Add(this.barButtonItemCopyPath, true); this.popupMenu.ItemLinks.Add(this.barButtonItemShowProperties); this.popupMenu.ItemLinks.Add(this.barButtonItemDelete); this.popupMenu.Name = "popupMenu"; this.popupMenu.Ribbon = this.ribbon; // // ResultsModule // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.resultsTreeList); this.Controls.Add(this.ribbon); this.Name = "ResultsModule"; this.Size = new System.Drawing.Size(1012, 524); ((System.ComponentModel.ISupportInitialize)(this.resultsTreeList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.resultsBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmPhanQuyen)); this.colTenChucNang = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.gridNguoiDung = new Lotus.Libraries.CustomGridControl(); this.nguoiDungBindingSource = new System.Windows.Forms.BindingSource(this.components); this.dATA = new Lotus.Base.DATA(); this.gvNguoiDung = new Lotus.Libraries.CustomGridView(); this.colTenDangNhap = new DevExpress.XtraGrid.Columns.GridColumn(); this.colHoTen = new DevExpress.XtraGrid.Columns.GridColumn(); this.colLoai = new DevExpress.XtraGrid.Columns.GridColumn(); this.repChucDanh = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.colPhong = new DevExpress.XtraGrid.Columns.GridColumn(); this.replkePhong = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.phongBanBindingSource = new System.Windows.Forms.BindingSource(this.components); this.rsearchNhanVien = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit(); this.repositoryItemSearchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colMaNhanVien = new DevExpress.XtraGrid.Columns.GridColumn(); this.colHoVaTen = new DevExpress.XtraGrid.Columns.GridColumn(); this.treeList1 = new DevExpress.XtraTreeList.TreeList(); this.colTruyCap = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colThem = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colSua = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colXoa = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colTatCa = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.imgTreeChucNang = new DevExpress.Utils.ImageCollection(this.components); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem(); this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.splitterItem2 = new DevExpress.XtraLayout.SplitterItem(); this.chiNhanhBindingSource = new System.Windows.Forms.BindingSource(this.components); this.phuongBindingSource = new System.Windows.Forms.BindingSource(this.components); this.nguoiDungTableAdapter = new Lotus.Base.DATATableAdapters.NguoiDungTableAdapter(); this.chucNangAD = new Lotus.Base.DATATableAdapters.ChucNangTableAdapter(); this.phanQuyenAD = new Lotus.Base.DATATableAdapters.PhanQuyenTableAdapter(); this.phongBanTableAdapter = new Lotus.Base.DATATableAdapters.PhongBanTableAdapter(); this.btnResetPWD = new DevExpress.XtraBars.BarButtonItem(); ((System.ComponentModel.ISupportInitialize)(this._dtNhatKy)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bm)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rgCalc)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rgDate)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rgDate.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rgSpin)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridNguoiDung)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nguoiDungBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dATA)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvNguoiDung)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repChucDanh)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.replkePhong)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.phongBanBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rsearchNhanVien)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imgTreeChucNang)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chiNhanhBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.phuongBindingSource)).BeginInit(); this.SuspendLayout(); // // bm // this.bm.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.btnResetPWD }); this.bm.MaxItemId = 12; // // btnClose // this.btnClose.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.ImageOptions.Image"))); // // btnReload // this.btnReload.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnReload.ImageOptions.Image"))); // // btnAdd // this.btnAdd.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnAdd.ImageOptions.Image"))); // // btnEdit // this.btnEdit.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnEdit.ImageOptions.Image"))); // // btnDelete // this.btnDelete.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnDelete.ImageOptions.Image"))); // // btnSave // this.btnSave.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.ImageOptions.Image"))); // // btnPrint // this.btnPrint.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnPrint.ImageOptions.Image"))); // // btnPrintPreview // this.btnPrintPreview.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnPrintPreview.ImageOptions.Image"))); // // rgCollection // this.rgCollection.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.rgCalc, this.rgDate, this.rgSpin }); // // rgCalc // this.rgCalc.DisplayFormat.FormatString = "#,#0.##;(#,#0.##);-"; this.rgCalc.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; this.rgCalc.EditFormat.FormatString = "#,#0.##;(#,#0.##);-"; this.rgCalc.EditFormat.FormatType = DevExpress.Utils.FormatType.Custom; // // rgDate // // // bar1 // this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnReload, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnAdd, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnEdit, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnDelete, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnSave, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnResetPWD, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.btnClose, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph) }); this.bar1.OptionsBar.AllowQuickCustomization = false; this.bar1.OptionsBar.DisableClose = true; this.bar1.OptionsBar.DrawDragBorder = false; this.bar1.OptionsBar.MultiLine = true; this.bar1.OptionsBar.UseWholeRow = true; // // rgSpin // this.rgSpin.DisplayFormat.FormatString = "#,#0.##;(#,#0.##);-"; this.rgSpin.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.rgSpin.EditFormat.FormatString = "#,#0.##;(#,#0.##);-"; this.rgSpin.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; // // colTenChucNang // this.colTenChucNang.Caption = "Chức năng"; this.colTenChucNang.FieldName = "TenChucNang"; this.colTenChucNang.MinWidth = 34; this.colTenChucNang.Name = "colTenChucNang"; this.colTenChucNang.OptionsColumn.AllowEdit = false; this.colTenChucNang.Visible = true; this.colTenChucNang.VisibleIndex = 0; this.colTenChucNang.Width = 284; // // layoutControl1 // this.layoutControl1.Controls.Add(this.gridNguoiDung); this.layoutControl1.Controls.Add(this.treeList1); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 31); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(315, 294, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(1051, 570); this.layoutControl1.TabIndex = 4; this.layoutControl1.Text = "layoutControl1"; // // gridNguoiDung // this.gridNguoiDung.DataSource = this.nguoiDungBindingSource; this.gridNguoiDung.Location = new System.Drawing.Point(7, 31); this.gridNguoiDung.MainView = this.gvNguoiDung; this.gridNguoiDung.MenuManager = this.bm; this.gridNguoiDung.Name = "gridNguoiDung"; this.gridNguoiDung.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.rsearchNhanVien, this.repChucDanh, this.replkePhong }); this.gridNguoiDung.Size = new System.Drawing.Size(359, 532); this.gridNguoiDung.TabIndex = 5; this.gridNguoiDung.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvNguoiDung }); // // nguoiDungBindingSource // this.nguoiDungBindingSource.DataMember = "NguoiDung"; this.nguoiDungBindingSource.DataSource = this.dATA; // // dATA // this.dATA.DataSetName = "DATA"; this.dATA.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gvNguoiDung // this.gvNguoiDung.Appearance.FooterPanel.ForeColor = System.Drawing.Color.Blue; this.gvNguoiDung.Appearance.FooterPanel.Options.UseForeColor = true; this.gvNguoiDung.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gvNguoiDung.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gvNguoiDung.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.gvNguoiDung.AppearancePrint.HeaderPanel.Options.UseTextOptions = true; this.gvNguoiDung.AppearancePrint.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gvNguoiDung.AppearancePrint.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.gvNguoiDung.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colTenDangNhap, this.colHoTen, this.colLoai, this.colPhong }); this.gvNguoiDung.FixedLineWidth = 1; this.gvNguoiDung.FormatCode = null; this.gvNguoiDung.GridControl = this.gridNguoiDung; this.gvNguoiDung.GroupFormat = "[#image]{1} {2}"; this.gvNguoiDung.IndicatorWidth = 31; this.gvNguoiDung.KeyColumn = null; this.gvNguoiDung.Name = "gvNguoiDung"; this.gvNguoiDung.NotNullColumns = null; this.gvNguoiDung.OptionsBehavior.AutoExpandAllGroups = true; this.gvNguoiDung.OptionsDetail.EnableMasterViewMode = false; this.gvNguoiDung.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.None; this.gvNguoiDung.OptionsView.ShowFooter = true; this.gvNguoiDung.ShowIndexIndicator = true; this.gvNguoiDung.UseAutoCode = false; this.gvNguoiDung.UseAutoLog = true; this.gvNguoiDung.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.gvNguoiDung_FocusedRowChanged); this.gvNguoiDung.DoubleClick += new System.EventHandler(this.gvNguoiDung_DoubleClick); // // colTenDangNhap // this.colTenDangNhap.Caption = "Tên đăng nhập"; this.colTenDangNhap.FieldName = "TenDangNhap"; this.colTenDangNhap.Name = "colTenDangNhap"; this.colTenDangNhap.OptionsColumn.AllowEdit = false; this.colTenDangNhap.OptionsColumn.FixedWidth = true; this.colTenDangNhap.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colTenDangNhap.Visible = true; this.colTenDangNhap.VisibleIndex = 0; this.colTenDangNhap.Width = 109; // // colHoTen // this.colHoTen.FieldName = "HoTen"; this.colHoTen.Name = "colHoTen"; this.colHoTen.OptionsColumn.AllowEdit = false; this.colHoTen.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colHoTen.Visible = true; this.colHoTen.VisibleIndex = 1; this.colHoTen.Width = 214; // // colLoai // this.colLoai.ColumnEdit = this.repChucDanh; this.colLoai.FieldName = "Loai"; this.colLoai.Name = "colLoai"; this.colLoai.OptionsColumn.AllowEdit = false; this.colLoai.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colLoai.Visible = true; this.colLoai.VisibleIndex = 2; this.colLoai.Width = 137; // // repChucDanh // this.repChucDanh.AutoHeight = false; this.repChucDanh.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repChucDanh.Name = "repChucDanh"; // // colPhong // this.colPhong.ColumnEdit = this.replkePhong; this.colPhong.FieldName = "Phong"; this.colPhong.Name = "colPhong"; this.colPhong.OptionsColumn.AllowEdit = false; this.colPhong.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colPhong.Visible = true; this.colPhong.VisibleIndex = 3; this.colPhong.Width = 220; // // replkePhong // this.replkePhong.AutoHeight = false; this.replkePhong.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.replkePhong.DataSource = this.phongBanBindingSource; this.replkePhong.DisplayMember = "TenPhong"; this.replkePhong.Name = "replkePhong"; this.replkePhong.ValueMember = "MaPhong"; // // phongBanBindingSource // this.phongBanBindingSource.DataMember = "PhongBan"; this.phongBanBindingSource.DataSource = this.dATA; // // rsearchNhanVien // this.rsearchNhanVien.AutoHeight = false; this.rsearchNhanVien.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.rsearchNhanVien.DisplayMember = "HoVaTen"; this.rsearchNhanVien.Name = "rsearchNhanVien"; this.rsearchNhanVien.ValueMember = "MaNhanVien"; this.rsearchNhanVien.View = this.repositoryItemSearchLookUpEdit1View; // // repositoryItemSearchLookUpEdit1View // this.repositoryItemSearchLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colMaNhanVien, this.colHoVaTen }); this.repositoryItemSearchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.repositoryItemSearchLookUpEdit1View.Name = "repositoryItemSearchLookUpEdit1View"; this.repositoryItemSearchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.repositoryItemSearchLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // colMaNhanVien // this.colMaNhanVien.FieldName = "MaNhanVien"; this.colMaNhanVien.Name = "colMaNhanVien"; this.colMaNhanVien.Visible = true; this.colMaNhanVien.VisibleIndex = 0; this.colMaNhanVien.Width = 221; // // colHoVaTen // this.colHoVaTen.FieldName = "HoVaTen"; this.colHoVaTen.Name = "colHoVaTen"; this.colHoVaTen.Visible = true; this.colHoVaTen.VisibleIndex = 1; this.colHoVaTen.Width = 771; // // treeList1 // this.treeList1.Appearance.HeaderPanel.Options.UseTextOptions = true; this.treeList1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.colTenChucNang, this.colTruyCap, this.colThem, this.colSua, this.colXoa, this.colTatCa }); this.treeList1.Cursor = System.Windows.Forms.Cursors.Default; treeListFormatRule1.ApplyToRow = true; treeListFormatRule1.Column = this.colTenChucNang; treeListFormatRule1.ColumnApplyTo = this.colTenChucNang; treeListFormatRule1.Name = "tatca"; formatConditionRuleExpression1.Appearance.BackColor = System.Drawing.Color.LightYellow; formatConditionRuleExpression1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); formatConditionRuleExpression1.Appearance.Options.UseBackColor = true; formatConditionRuleExpression1.Appearance.Options.UseFont = true; formatConditionRuleExpression1.Expression = "[TenChucNang]=\'Tất cả\'"; treeListFormatRule1.Rule = formatConditionRuleExpression1; this.treeList1.FormatRules.Add(treeListFormatRule1); this.treeList1.KeyFieldName = "Id"; this.treeList1.Location = new System.Drawing.Point(385, 31); this.treeList1.Name = "treeList1"; this.treeList1.OptionsView.AutoWidth = false; this.treeList1.OptionsView.ShowHorzLines = false; this.treeList1.OptionsView.ShowIndicator = false; this.treeList1.OptionsView.ShowVertLines = false; this.treeList1.ParentFieldName = "IdCha"; this.treeList1.RootValue = ""; this.treeList1.SelectImageList = this.imgTreeChucNang; this.treeList1.Size = new System.Drawing.Size(659, 527); this.treeList1.TabIndex = 6; this.treeList1.CustomDrawNodeCell += new DevExpress.XtraTreeList.CustomDrawNodeCellEventHandler(this.treeList1_CustomDrawNodeCell); this.treeList1.CustomDrawNodeImages += new DevExpress.XtraTreeList.CustomDrawNodeImagesEventHandler(this.treeList1_CustomDrawNodeImages); this.treeList1.CellValueChanging += new DevExpress.XtraTreeList.CellValueChangedEventHandler(this.treeList1_CellValueChanging); // // colTruyCap // this.colTruyCap.Caption = "Truy cập"; this.colTruyCap.FieldName = "TruyCap"; this.colTruyCap.Name = "colTruyCap"; this.colTruyCap.OptionsColumn.FixedWidth = true; this.colTruyCap.Visible = true; this.colTruyCap.VisibleIndex = 1; this.colTruyCap.Width = 65; // // colThem // this.colThem.Caption = "Thêm"; this.colThem.FieldName = "Them"; this.colThem.Name = "colThem"; this.colThem.OptionsColumn.FixedWidth = true; this.colThem.Visible = true; this.colThem.VisibleIndex = 2; this.colThem.Width = 60; // // colSua // this.colSua.Caption = "Sửa"; this.colSua.FieldName = "Sua"; this.colSua.Name = "colSua"; this.colSua.OptionsColumn.FixedWidth = true; this.colSua.Visible = true; this.colSua.VisibleIndex = 3; this.colSua.Width = 60; // // colXoa // this.colXoa.Caption = "Xóa"; this.colXoa.FieldName = "Xoa"; this.colXoa.Name = "colXoa"; this.colXoa.OptionsColumn.FixedWidth = true; this.colXoa.Visible = true; this.colXoa.VisibleIndex = 4; this.colXoa.Width = 60; // // colTatCa // this.colTatCa.AppearanceCell.BackColor = System.Drawing.Color.LightYellow; this.colTatCa.AppearanceCell.Options.UseBackColor = true; this.colTatCa.Caption = "Tất cả"; this.colTatCa.FieldName = "TatCa"; this.colTatCa.Name = "colTatCa"; this.colTatCa.OptionsColumn.FixedWidth = true; this.colTatCa.Visible = true; this.colTatCa.VisibleIndex = 5; this.colTatCa.Width = 64; // // imgTreeChucNang // this.imgTreeChucNang.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imgTreeChucNang.ImageStream"))); this.imgTreeChucNang.InsertGalleryImage("properties_16x16.png", "images/setup/properties_16x16.png", DevExpress.Images.ImageResourceCache.Default.GetImage("images/setup/properties_16x16.png"), 0); this.imgTreeChucNang.Images.SetKeyName(0, "properties_16x16.png"); this.imgTreeChucNang.Images.SetKeyName(1, "bullet_red.png"); this.imgTreeChucNang.Images.SetKeyName(2, "bullet_blue.png"); this.imgTreeChucNang.Images.SetKeyName(3, "bullet_green.png"); // // layoutControlGroup1 // this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup4, this.splitterItem1, this.layoutControlGroup3, this.splitterItem2 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup1.Size = new System.Drawing.Size(1051, 570); this.layoutControlGroup1.TextVisible = false; // // layoutControlGroup4 // this.layoutControlGroup4.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlGroup4.AppearanceGroup.Options.UseFont = true; this.layoutControlGroup4.CaptionImage = ((System.Drawing.Image)(resources.GetObject("layoutControlGroup4.CaptionImage"))); this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem2 }); this.layoutControlGroup4.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup4.Name = "layoutControlGroup4"; this.layoutControlGroup4.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2); this.layoutControlGroup4.Size = new System.Drawing.Size(373, 570); this.layoutControlGroup4.Text = "Người dùng"; // // layoutControlItem2 // this.layoutControlItem2.Control = this.gridNguoiDung; this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.MinSize = new System.Drawing.Size(104, 24); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(363, 536); this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextVisible = false; // // splitterItem1 // this.splitterItem1.AllowHotTrack = true; this.splitterItem1.Location = new System.Drawing.Point(378, 565); this.splitterItem1.Name = "splitterItem1"; this.splitterItem1.Size = new System.Drawing.Size(673, 5); // // layoutControlGroup3 // this.layoutControlGroup3.AppearanceGroup.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.layoutControlGroup3.AppearanceGroup.Options.UseFont = true; this.layoutControlGroup3.CaptionImage = ((System.Drawing.Image)(resources.GetObject("layoutControlGroup3.CaptionImage"))); this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem3 }); this.layoutControlGroup3.Location = new System.Drawing.Point(378, 0); this.layoutControlGroup3.Name = "layoutControlGroup3"; this.layoutControlGroup3.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2); this.layoutControlGroup3.Size = new System.Drawing.Size(673, 565); this.layoutControlGroup3.Text = "Chức năng"; // // layoutControlItem3 // this.layoutControlItem3.Control = this.treeList1; this.layoutControlItem3.Location = new System.Drawing.Point(0, 0); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(663, 531); this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextVisible = false; // // splitterItem2 // this.splitterItem2.AllowHotTrack = true; this.splitterItem2.Location = new System.Drawing.Point(373, 0); this.splitterItem2.Name = "splitterItem2"; this.splitterItem2.Size = new System.Drawing.Size(5, 570); // // nguoiDungTableAdapter // this.nguoiDungTableAdapter.ClearBeforeFill = true; // // chucNangAD // this.chucNangAD.ClearBeforeFill = true; // // phanQuyenAD // this.phanQuyenAD.ClearBeforeFill = true; // // phongBanTableAdapter // this.phongBanTableAdapter.ClearBeforeFill = true; // // btnResetPWD // this.btnResetPWD.Caption = "Reset mật khẩu"; this.btnResetPWD.Id = 11; this.btnResetPWD.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnResetPWD.ImageOptions.Image"))); this.btnResetPWD.ImageOptions.LargeImage = ((System.Drawing.Image)(resources.GetObject("btnResetPWD.ImageOptions.LargeImage"))); this.btnResetPWD.Name = "btnResetPWD"; this.btnResetPWD.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.btnResetPWD_ItemClick); // // FrmPhanQuyen // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1051, 601); this.Controls.Add(this.layoutControl1); this.Name = "FrmPhanQuyen"; this.Text = "Phân quyền"; this.Load += new System.EventHandler(this.FrmPhanQuyen_Load); this.Controls.SetChildIndex(this.layoutControl1, 0); ((System.ComponentModel.ISupportInitialize)(this._dtNhatKy)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bm)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rgCalc)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rgDate.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rgDate)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rgSpin)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridNguoiDung)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nguoiDungBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dATA)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvNguoiDung)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repChucDanh)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.replkePhong)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.phongBanBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rsearchNhanVien)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeList1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imgTreeChucNang)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitterItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chiNhanhBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.phuongBindingSource)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraSplashScreen.SplashScreenManager splashScreenManager1 = new DevExpress.XtraSplashScreen.SplashScreenManager(this, null, true, true); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression1 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule2 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression2 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule3 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression3 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule4 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression4 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule5 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression5 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule6 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression6 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule7 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression7 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule8 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression8 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule9 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleExpression formatConditionRuleExpression9 = new DevExpress.XtraEditors.FormatConditionRuleExpression(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.colThickness = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.Material = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colStructCode = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.Operations = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.exportTreeList = new DevExpress.XtraTreeList.TreeList(); this.Parent = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.Number = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.Title = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.ItemDescription = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.Category = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.Qty = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsStock = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.colPlantID = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.HasPdf = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.requiresPDF = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.btnProcess = new System.Windows.Forms.Button(); this.btnLoad = new System.Windows.Forms.Button(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel(); this.spinEditOrderQty = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.txtBoxOrderNumber = new System.Windows.Forms.TextBox(); this.pdfViewer1 = new DevExpress.XtraPdfViewer.PdfViewer(); this.groupBoxOutput = new System.Windows.Forms.GroupBox(); this.btnGroupSawDrawings = new System.Windows.Forms.Button(); this.btnRemoveBatchItem = new System.Windows.Forms.Button(); this.btnRemoveOrder = new System.Windows.Forms.Button(); this.btnFinalize = new System.Windows.Forms.Button(); this.btnSelectOutputFolder = new System.Windows.Forms.Button(); this.outputFolderlbl = new System.Windows.Forms.Label(); this.textBoxOutputFolder = new System.Windows.Forms.TextBox(); this.groupBoxInput = new System.Windows.Forms.GroupBox(); this.btnProcessBatch = new System.Windows.Forms.Button(); this.folderBrowserDialogOutputFolderSelect = new System.Windows.Forms.FolderBrowserDialog(); this.behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(this.components); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.exportTreeList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit(); this.statusStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.spinEditOrderQty)).BeginInit(); this.groupBoxOutput.SuspendLayout(); this.groupBoxInput.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).BeginInit(); this.SuspendLayout(); // // splashScreenManager1 // splashScreenManager1.ClosingDelay = 500; // // colThickness // this.colThickness.Caption = "Thickness"; this.colThickness.ColumnEdit = this.repositoryItemTextEdit1; this.colThickness.FieldName = "MaterialThickness"; this.colThickness.Name = "colThickness"; this.colThickness.OptionsColumn.AllowSort = false; this.colThickness.Visible = true; this.colThickness.VisibleIndex = 5; this.colThickness.Width = 30; // // repositoryItemTextEdit1 // this.repositoryItemTextEdit1.AutoHeight = false; this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; // // Material // this.Material.Caption = "Material"; this.Material.FieldName = "Material"; this.Material.Name = "Material"; this.Material.OptionsColumn.AllowSort = false; this.Material.Visible = true; this.Material.VisibleIndex = 4; // // colStructCode // this.colStructCode.Caption = "Structural Code"; this.colStructCode.ColumnEdit = this.repositoryItemTextEdit1; this.colStructCode.FieldName = "StructCode"; this.colStructCode.Name = "colStructCode"; this.colStructCode.OptionsColumn.AllowSort = false; this.colStructCode.Visible = true; this.colStructCode.VisibleIndex = 6; this.colStructCode.Width = 59; // // Operations // this.Operations.Caption = "Operations"; this.Operations.FieldName = "Operations"; this.Operations.Name = "Operations"; this.Operations.OptionsColumn.AllowSort = false; this.Operations.Visible = true; this.Operations.VisibleIndex = 7; this.Operations.Width = 60; // // exportTreeList // this.exportTreeList.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.Parent, this.Number, this.Title, this.ItemDescription, this.Category, this.Material, this.colThickness, this.colStructCode, this.Operations, this.Qty, this.colIsStock, this.colPlantID, this.HasPdf, this.requiresPDF }); this.exportTreeList.Cursor = System.Windows.Forms.Cursors.SizeWE; treeListFormatRule1.ApplyToRow = true; treeListFormatRule1.Name = "Format0"; formatConditionRuleExpression1.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); formatConditionRuleExpression1.Appearance.Options.UseFont = true; formatConditionRuleExpression1.Expression = "[HasPdf] = True"; treeListFormatRule1.Rule = formatConditionRuleExpression1; treeListFormatRule2.Column = this.colThickness; treeListFormatRule2.ColumnApplyTo = this.colThickness; treeListFormatRule2.Name = "CheckForMatThickness"; formatConditionRuleExpression2.Appearance.BackColor = System.Drawing.Color.Red; formatConditionRuleExpression2.Appearance.ForeColor = System.Drawing.Color.Transparent; formatConditionRuleExpression2.Appearance.Options.UseBackColor = true; formatConditionRuleExpression2.Appearance.Options.UseForeColor = true; formatConditionRuleExpression2.Expression = "[Operations] = \'Laser\' And [MaterialThickness] = \'\'"; treeListFormatRule2.Rule = formatConditionRuleExpression2; treeListFormatRule3.Column = this.Material; treeListFormatRule3.ColumnApplyTo = this.Material; treeListFormatRule3.Name = "CheckForMatType"; formatConditionRuleExpression3.Appearance.BackColor = System.Drawing.Color.Red; formatConditionRuleExpression3.Appearance.ForeColor = System.Drawing.Color.Transparent; formatConditionRuleExpression3.Appearance.Options.UseBackColor = true; formatConditionRuleExpression3.Appearance.Options.UseForeColor = true; formatConditionRuleExpression3.Expression = "[Operations] = \'Laser\' And [Material] = \'\'"; treeListFormatRule3.Rule = formatConditionRuleExpression3; treeListFormatRule4.Column = this.colStructCode; treeListFormatRule4.ColumnApplyTo = this.colStructCode; treeListFormatRule4.Name = "CheckForStructSpecs"; formatConditionRuleExpression4.Appearance.BackColor = System.Drawing.Color.Red; formatConditionRuleExpression4.Appearance.ForeColor = System.Drawing.Color.Transparent; formatConditionRuleExpression4.Appearance.Options.UseBackColor = true; formatConditionRuleExpression4.Appearance.Options.UseForeColor = true; formatConditionRuleExpression4.Expression = "([Operations] = \'Bandsaw\' Or [Operations] = \'Iron Worker\' Or [Operations] = \'Mach" + "ine Shop\') And [StructCode] = \'\'"; treeListFormatRule4.Rule = formatConditionRuleExpression4; treeListFormatRule5.Column = this.Operations; treeListFormatRule5.ColumnApplyTo = this.Operations; treeListFormatRule5.Name = "CheckForOperations"; formatConditionRuleExpression5.Appearance.BackColor = System.Drawing.Color.Red; formatConditionRuleExpression5.Appearance.ForeColor = System.Drawing.Color.Transparent; formatConditionRuleExpression5.Appearance.Options.UseBackColor = true; formatConditionRuleExpression5.Appearance.Options.UseForeColor = true; formatConditionRuleExpression5.Expression = "[Operations] = \'\'"; treeListFormatRule5.Rule = formatConditionRuleExpression5; treeListFormatRule6.Column = this.Operations; treeListFormatRule6.ColumnApplyTo = this.Operations; treeListFormatRule6.Name = "CheckForEmptyPartOps"; formatConditionRuleExpression6.Appearance.BackColor = System.Drawing.Color.Red; formatConditionRuleExpression6.Appearance.ForeColor = System.Drawing.Color.Black; formatConditionRuleExpression6.Appearance.Options.UseBackColor = true; formatConditionRuleExpression6.Appearance.Options.UseForeColor = true; formatConditionRuleExpression6.Expression = "[Category] = \'Part\' And [Operations] = \'N/A\'"; treeListFormatRule6.Rule = formatConditionRuleExpression6; treeListFormatRule7.ApplyToRow = true; treeListFormatRule7.Name = "CheckForPlant2"; formatConditionRuleExpression7.Appearance.BackColor = System.Drawing.SystemColors.Info; formatConditionRuleExpression7.Appearance.BackColor2 = System.Drawing.SystemColors.Info; formatConditionRuleExpression7.Appearance.BorderColor = System.Drawing.Color.White; formatConditionRuleExpression7.Appearance.Options.UseBackColor = true; formatConditionRuleExpression7.Appearance.Options.UseBorderColor = true; formatConditionRuleExpression7.Expression = "[PlantID] = \'Plant 2\'"; treeListFormatRule7.Rule = formatConditionRuleExpression7; treeListFormatRule8.ApplyToRow = true; treeListFormatRule8.Name = "hasPDFItalics"; formatConditionRuleExpression8.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Italic); formatConditionRuleExpression8.Appearance.Options.UseFont = true; formatConditionRuleExpression8.Expression = "[HasPdf] = False"; treeListFormatRule8.Rule = formatConditionRuleExpression8; treeListFormatRule9.ApplyToRow = true; treeListFormatRule9.Name = "noPDFWarning"; formatConditionRuleExpression9.Appearance.BackColor = System.Drawing.Color.Red; formatConditionRuleExpression9.Appearance.BackColor2 = System.Drawing.Color.White; formatConditionRuleExpression9.Appearance.BorderColor = System.Drawing.Color.Red; formatConditionRuleExpression9.Appearance.Options.HighPriority = true; formatConditionRuleExpression9.Appearance.Options.UseBackColor = true; formatConditionRuleExpression9.Appearance.Options.UseBorderColor = true; formatConditionRuleExpression9.Expression = "[HasPdf] = False And [RequiresPdf] = True"; treeListFormatRule9.Rule = formatConditionRuleExpression9; this.exportTreeList.FormatRules.Add(treeListFormatRule1); this.exportTreeList.FormatRules.Add(treeListFormatRule2); this.exportTreeList.FormatRules.Add(treeListFormatRule3); this.exportTreeList.FormatRules.Add(treeListFormatRule4); this.exportTreeList.FormatRules.Add(treeListFormatRule5); this.exportTreeList.FormatRules.Add(treeListFormatRule6); this.exportTreeList.FormatRules.Add(treeListFormatRule7); this.exportTreeList.FormatRules.Add(treeListFormatRule8); this.exportTreeList.FormatRules.Add(treeListFormatRule9); this.exportTreeList.KeyFieldName = ""; this.exportTreeList.Location = new System.Drawing.Point(52, 46); this.exportTreeList.Name = "exportTreeList"; this.exportTreeList.OptionsBehavior.PopulateServiceColumns = true; this.exportTreeList.OptionsSelection.EnableAppearanceFocusedCell = false; this.exportTreeList.OptionsSelection.EnableAppearanceFocusedRow = false; this.exportTreeList.ParentFieldName = ""; this.exportTreeList.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemTextEdit1, this.repositoryItemCheckEdit1 }); this.exportTreeList.Size = new System.Drawing.Size(843, 416); this.exportTreeList.TabIndex = 0; this.exportTreeList.CompareNodeValues += new DevExpress.XtraTreeList.CompareNodeValuesEventHandler(this.exportTreeList_CompareNodeValues); this.exportTreeList.PopupMenuShowing += new DevExpress.XtraTreeList.PopupMenuShowingEventHandler(this.exportTreeList_PopupMenuShowing); this.exportTreeList.MouseDown += new System.Windows.Forms.MouseEventHandler(this.exportTreeList_MouseDown); // // Parent // this.Parent.Caption = "Parent"; this.Parent.FieldName = "Parent"; this.Parent.Name = "Parent"; // // Number // this.Number.Caption = "Number"; this.Number.FieldName = "Number"; this.Number.Name = "Number"; this.Number.OptionsColumn.AllowSort = false; this.Number.Visible = true; this.Number.VisibleIndex = 0; this.Number.Width = 150; // // Title // this.Title.Caption = "Title"; this.Title.FieldName = "Title"; this.Title.Name = "Title"; this.Title.Width = 188; // // ItemDescription // this.ItemDescription.Caption = "Item Description"; this.ItemDescription.FieldName = "ItemDescription"; this.ItemDescription.Name = "ItemDescription"; this.ItemDescription.OptionsColumn.AllowSort = false; this.ItemDescription.Visible = true; this.ItemDescription.VisibleIndex = 1; this.ItemDescription.Width = 150; // // Category // this.Category.Caption = "Category"; this.Category.FieldName = "Category"; this.Category.Name = "Category"; this.Category.OptionsColumn.AllowSort = false; this.Category.Visible = true; this.Category.VisibleIndex = 2; this.Category.Width = 35; // // Qty // this.Qty.Caption = "Qty"; this.Qty.FieldName = "Qty"; this.Qty.MinWidth = 16; this.Qty.Name = "Qty"; this.Qty.OptionsColumn.AllowSort = false; this.Qty.Visible = true; this.Qty.VisibleIndex = 3; this.Qty.Width = 16; // // colIsStock // this.colIsStock.Caption = "Stock"; this.colIsStock.ColumnEdit = this.repositoryItemCheckEdit1; this.colIsStock.FieldName = "IsStock"; this.colIsStock.MinWidth = 16; this.colIsStock.Name = "colIsStock"; this.colIsStock.OptionsColumn.AllowSize = false; this.colIsStock.Visible = true; this.colIsStock.VisibleIndex = 8; this.colIsStock.Width = 16; // // repositoryItemCheckEdit1 // this.repositoryItemCheckEdit1.AutoHeight = false; this.repositoryItemCheckEdit1.Name = "repositoryItemCheckEdit1"; // // colPlantID // this.colPlantID.Caption = "Plant"; this.colPlantID.FieldName = "PlantID"; this.colPlantID.Name = "colPlantID"; this.colPlantID.Visible = true; this.colPlantID.VisibleIndex = 9; // // HasPdf // this.HasPdf.Caption = "HasPdf"; this.HasPdf.FieldName = "HasPdf"; this.HasPdf.Name = "HasPdf"; // // requiresPDF // this.requiresPDF.Caption = "requiresPDF"; this.requiresPDF.FieldName = "RequiresPdf"; this.requiresPDF.Name = "requiresPDF"; this.requiresPDF.Visible = true; this.requiresPDF.VisibleIndex = 10; this.requiresPDF.Width = 25; // // btnProcess // this.btnProcess.Enabled = false; this.btnProcess.Location = new System.Drawing.Point(458, 27); this.btnProcess.Name = "btnProcess"; this.btnProcess.Size = new System.Drawing.Size(89, 23); this.btnProcess.TabIndex = 1; this.btnProcess.Text = "Process Order"; this.btnProcess.UseVisualStyleBackColor = true; this.btnProcess.Click += new System.EventHandler(this.btnProcess_Click); // // btnLoad // this.btnLoad.Location = new System.Drawing.Point(19, 24); this.btnLoad.Name = "btnLoad"; this.btnLoad.Size = new System.Drawing.Size(75, 23); this.btnLoad.TabIndex = 1; this.btnLoad.Text = "Load..."; this.btnLoad.UseVisualStyleBackColor = true; this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click); // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripStatusLabel1 }); this.statusStrip1.Location = new System.Drawing.Point(0, 676); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(1417, 22); this.statusStrip1.TabIndex = 2; this.statusStrip1.Text = "statusStrip1"; // // toolStripStatusLabel1 // this.toolStripStatusLabel1.Name = "toolStripStatusLabel1"; this.toolStripStatusLabel1.Size = new System.Drawing.Size(48, 17); this.toolStripStatusLabel1.Text = "Ready..."; // // spinEditOrderQty // this.spinEditOrderQty.Location = new System.Drawing.Point(106, 27); this.spinEditOrderQty.Maximum = new decimal(new int[] { 9999999, 0, 0, 0 }); this.spinEditOrderQty.Name = "spinEditOrderQty"; this.spinEditOrderQty.Size = new System.Drawing.Size(65, 20); this.spinEditOrderQty.TabIndex = 3; this.spinEditOrderQty.Value = new decimal(new int[] { 1, 0, 0, 0 }); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(17, 32); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(83, 13); this.label1.TabIndex = 4; this.label1.Text = "Number of Units"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(182, 31); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(46, 13); this.label2.TabIndex = 4; this.label2.Text = "Order #:"; // // txtBoxOrderNumber // this.txtBoxOrderNumber.Location = new System.Drawing.Point(235, 27); this.txtBoxOrderNumber.Name = "txtBoxOrderNumber"; this.txtBoxOrderNumber.Size = new System.Drawing.Size(203, 20); this.txtBoxOrderNumber.TabIndex = 5; this.txtBoxOrderNumber.Text = "Order Number"; // // pdfViewer1 // this.pdfViewer1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.pdfViewer1.Location = new System.Drawing.Point(925, 46); this.pdfViewer1.Name = "pdfViewer1"; this.pdfViewer1.Size = new System.Drawing.Size(466, 416); this.pdfViewer1.TabIndex = 6; this.pdfViewer1.ZoomMode = DevExpress.XtraPdfViewer.PdfZoomMode.PageLevel; // // groupBoxOutput // this.groupBoxOutput.Controls.Add(this.btnGroupSawDrawings); this.groupBoxOutput.Controls.Add(this.btnRemoveBatchItem); this.groupBoxOutput.Controls.Add(this.btnRemoveOrder); this.groupBoxOutput.Controls.Add(this.btnFinalize); this.groupBoxOutput.Controls.Add(this.btnSelectOutputFolder); this.groupBoxOutput.Controls.Add(this.outputFolderlbl); this.groupBoxOutput.Controls.Add(this.textBoxOutputFolder); this.groupBoxOutput.Controls.Add(this.label1); this.groupBoxOutput.Controls.Add(this.txtBoxOrderNumber); this.groupBoxOutput.Controls.Add(this.btnProcess); this.groupBoxOutput.Controls.Add(this.label2); this.groupBoxOutput.Controls.Add(this.spinEditOrderQty); this.groupBoxOutput.Location = new System.Drawing.Point(327, 492); this.groupBoxOutput.Name = "groupBoxOutput"; this.groupBoxOutput.Size = new System.Drawing.Size(563, 181); this.groupBoxOutput.TabIndex = 7; this.groupBoxOutput.TabStop = false; this.groupBoxOutput.Text = "Output Data"; this.groupBoxOutput.Enter += new System.EventHandler(this.groupBoxOutput_Enter); // // btnGroupSawDrawings // this.btnGroupSawDrawings.Location = new System.Drawing.Point(197, 88); this.btnGroupSawDrawings.Name = "btnGroupSawDrawings"; this.btnGroupSawDrawings.Size = new System.Drawing.Size(121, 23); this.btnGroupSawDrawings.TabIndex = 11; this.btnGroupSawDrawings.Text = "Group Saw Drawings"; this.btnGroupSawDrawings.UseVisualStyleBackColor = true; this.btnGroupSawDrawings.Click += new System.EventHandler(this.btnGroupSawDrawings_Click); // // btnRemoveBatchItem // this.btnRemoveBatchItem.Location = new System.Drawing.Point(20, 146); this.btnRemoveBatchItem.Name = "btnRemoveBatchItem"; this.btnRemoveBatchItem.Size = new System.Drawing.Size(151, 23); this.btnRemoveBatchItem.TabIndex = 10; this.btnRemoveBatchItem.Text = "Remove Batch Item..."; this.btnRemoveBatchItem.UseVisualStyleBackColor = true; this.btnRemoveBatchItem.Click += new System.EventHandler(this.btnRemoveBatchItem_Click); // // btnRemoveOrder // this.btnRemoveOrder.Location = new System.Drawing.Point(20, 117); this.btnRemoveOrder.Name = "btnRemoveOrder"; this.btnRemoveOrder.Size = new System.Drawing.Size(151, 23); this.btnRemoveOrder.TabIndex = 10; this.btnRemoveOrder.Text = "Remove Order Item..."; this.btnRemoveOrder.UseVisualStyleBackColor = true; this.btnRemoveOrder.Click += new System.EventHandler(this.btnRemoveOrder_Click); // // btnFinalize // this.btnFinalize.Location = new System.Drawing.Point(20, 88); this.btnFinalize.Name = "btnFinalize"; this.btnFinalize.Size = new System.Drawing.Size(151, 23); this.btnFinalize.TabIndex = 9; this.btnFinalize.Text = "Finalize Schedule"; this.btnFinalize.UseVisualStyleBackColor = true; this.btnFinalize.Click += new System.EventHandler(this.btnFinalize_Click); // // btnSelectOutputFolder // this.btnSelectOutputFolder.Location = new System.Drawing.Point(444, 58); this.btnSelectOutputFolder.Name = "btnSelectOutputFolder"; this.btnSelectOutputFolder.Size = new System.Drawing.Size(23, 23); this.btnSelectOutputFolder.TabIndex = 8; this.btnSelectOutputFolder.Text = "..."; this.btnSelectOutputFolder.UseVisualStyleBackColor = true; this.btnSelectOutputFolder.Click += new System.EventHandler(this.btnSelectOutputFolder_Click); // // outputFolderlbl // this.outputFolderlbl.AutoSize = true; this.outputFolderlbl.Location = new System.Drawing.Point(17, 62); this.outputFolderlbl.Name = "outputFolderlbl"; this.outputFolderlbl.Size = new System.Drawing.Size(71, 13); this.outputFolderlbl.TabIndex = 7; this.outputFolderlbl.Text = "Output Folder"; // // textBoxOutputFolder // this.textBoxOutputFolder.Location = new System.Drawing.Point(106, 60); this.textBoxOutputFolder.Name = "textBoxOutputFolder"; this.textBoxOutputFolder.Size = new System.Drawing.Size(332, 20); this.textBoxOutputFolder.TabIndex = 6; // // groupBoxInput // this.groupBoxInput.Controls.Add(this.btnProcessBatch); this.groupBoxInput.Controls.Add(this.btnLoad); this.groupBoxInput.Location = new System.Drawing.Point(52, 492); this.groupBoxInput.Name = "groupBoxInput"; this.groupBoxInput.Size = new System.Drawing.Size(228, 181); this.groupBoxInput.TabIndex = 8; this.groupBoxInput.TabStop = false; this.groupBoxInput.Text = "Input Data"; // // btnProcessBatch // this.btnProcessBatch.Location = new System.Drawing.Point(19, 60); this.btnProcessBatch.Name = "btnProcessBatch"; this.btnProcessBatch.Size = new System.Drawing.Size(100, 23); this.btnProcessBatch.TabIndex = 2; this.btnProcessBatch.Text = "Process Batch..."; this.btnProcessBatch.UseVisualStyleBackColor = true; this.btnProcessBatch.Click += new System.EventHandler(this.btnProcessBatch_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1417, 698); this.Controls.Add(this.groupBoxInput); this.Controls.Add(this.pdfViewer1); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.exportTreeList); this.Controls.Add(this.groupBoxOutput); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Form1"; this.Text = "Vault Item Processor"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.exportTreeList)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).EndInit(); this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.spinEditOrderQty)).EndInit(); this.groupBoxOutput.ResumeLayout(false); this.groupBoxOutput.PerformLayout(); this.groupBoxInput.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRelacionCuentaGrupoEstadosFinancieros)); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule3 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue3 = new DevExpress.XtraEditors.FormatConditionRuleValue(); DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule4 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue4 = new DevExpress.XtraEditors.FormatConditionRuleValue(); this.Tag = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.ColumnDescr = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.TagG = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.btnLimpiar = new DevExpress.XtraEditors.SimpleButton(); this.cmbGrupoEstadoFinanciero = new DevExpress.XtraEditors.ComboBoxEdit(); this.treeCuenta = new DevExpress.XtraTreeList.TreeList(); this.ColumnCuenta = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.columnIDCuenta = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.ColumnIdGrupo2 = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.treeGrupoCuenta = new DevExpress.XtraTreeList.TreeList(); this.ColumnCuentaG = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.ColumnDescrG = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.IDCuenta = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.ColumnIDGrupo = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cmbGrupoEstadoFinanciero.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeCuenta)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.treeGrupoCuenta)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); this.SuspendLayout(); // // Tag // this.Tag.Caption = "Tag"; this.Tag.FieldName = "Tag"; this.Tag.Name = "Tag"; this.Tag.Width = 85; // // ColumnDescr // this.ColumnDescr.Caption = "Descripción"; this.ColumnDescr.FieldName = "Descripcion"; this.ColumnDescr.FilterMode = DevExpress.XtraGrid.ColumnFilterMode.DisplayText; this.ColumnDescr.Name = "ColumnDescr"; this.ColumnDescr.OptionsFilter.AutoFilterCondition = DevExpress.XtraTreeList.Columns.AutoFilterCondition.Contains; this.ColumnDescr.Visible = true; this.ColumnDescr.VisibleIndex = 1; this.ColumnDescr.Width = 198; // // TagG // this.TagG.Caption = "Tag"; this.TagG.FieldName = "Tag"; this.TagG.Name = "TagG"; // // layoutControl1 // this.layoutControl1.Controls.Add(this.btnLimpiar); this.layoutControl1.Controls.Add(this.cmbGrupoEstadoFinanciero); this.layoutControl1.Controls.Add(this.treeCuenta); this.layoutControl1.Controls.Add(this.treeGrupoCuenta); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(857, 409); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // btnLimpiar // this.btnLimpiar.Image = ((System.Drawing.Image)(resources.GetObject("btnLimpiar.Image"))); this.btnLimpiar.Location = new System.Drawing.Point(12, 12); this.btnLimpiar.Name = "btnLimpiar"; this.btnLimpiar.Size = new System.Drawing.Size(116, 38); this.btnLimpiar.StyleController = this.layoutControl1; this.btnLimpiar.TabIndex = 7; this.btnLimpiar.Text = "Limpiar"; this.btnLimpiar.Click += new System.EventHandler(this.btnLimpiar_Click); // // cmbGrupoEstadoFinanciero // this.cmbGrupoEstadoFinanciero.Location = new System.Drawing.Point(187, 54); this.cmbGrupoEstadoFinanciero.Name = "cmbGrupoEstadoFinanciero"; this.cmbGrupoEstadoFinanciero.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cmbGrupoEstadoFinanciero.Properties.Items.AddRange(new object[] { "Estado de Resultado", "Balance General" }); this.cmbGrupoEstadoFinanciero.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.cmbGrupoEstadoFinanciero.Size = new System.Drawing.Size(214, 20); this.cmbGrupoEstadoFinanciero.StyleController = this.layoutControl1; this.cmbGrupoEstadoFinanciero.TabIndex = 6; this.cmbGrupoEstadoFinanciero.SelectedIndexChanged += new System.EventHandler(this.cmbGrupoEstadoFinanciero_SelectedIndexChanged); // // treeCuenta // this.treeCuenta.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.ColumnCuenta, this.ColumnDescr, this.columnIDCuenta, this.ColumnIdGrupo2, this.Tag }); this.treeCuenta.Cursor = System.Windows.Forms.Cursors.Default; treeListFormatRule3.ApplyToRow = true; treeListFormatRule3.Column = this.Tag; treeListFormatRule3.ColumnApplyTo = this.ColumnDescr; treeListFormatRule3.Name = "Bold Parent"; formatConditionRuleValue3.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); formatConditionRuleValue3.Appearance.ForeColor = System.Drawing.SystemColors.Highlight; formatConditionRuleValue3.Appearance.Options.UseFont = true; formatConditionRuleValue3.Appearance.Options.UseForeColor = true; formatConditionRuleValue3.Condition = DevExpress.XtraEditors.FormatCondition.Equal; formatConditionRuleValue3.Value1 = "Root"; treeListFormatRule3.Rule = formatConditionRuleValue3; this.treeCuenta.FormatRules.Add(treeListFormatRule3); this.treeCuenta.KeyFieldName = "IDCuenta"; this.treeCuenta.Location = new System.Drawing.Point(456, 70); this.treeCuenta.Name = "treeCuenta"; this.treeCuenta.OptionsBehavior.Editable = false; this.treeCuenta.OptionsDragAndDrop.AcceptOuterNodes = true; this.treeCuenta.OptionsDragAndDrop.DragNodesMode = DevExpress.XtraTreeList.DragNodesMode.Multiple; this.treeCuenta.OptionsDragAndDrop.DropNodesMode = DevExpress.XtraTreeList.DropNodesMode.Standard; this.treeCuenta.OptionsSelection.MultiSelect = true; this.treeCuenta.ParentFieldName = "IDCuentaMayor"; this.treeCuenta.PreviewFieldName = "IDCuenta"; this.treeCuenta.Size = new System.Drawing.Size(389, 327); this.treeCuenta.TabIndex = 5; // // ColumnCuenta // this.ColumnCuenta.Caption = "Cuenta"; this.ColumnCuenta.FieldName = "Cuenta"; this.ColumnCuenta.Name = "ColumnCuenta"; this.ColumnCuenta.OptionsFilter.AutoFilterCondition = DevExpress.XtraTreeList.Columns.AutoFilterCondition.Contains; this.ColumnCuenta.SortOrder = System.Windows.Forms.SortOrder.Ascending; this.ColumnCuenta.Visible = true; this.ColumnCuenta.VisibleIndex = 0; this.ColumnCuenta.Width = 173; // // columnIDCuenta // this.columnIDCuenta.Caption = "IDCuenta"; this.columnIDCuenta.FieldName = "IDCuenta"; this.columnIDCuenta.Name = "columnIDCuenta"; // // ColumnIdGrupo2 // this.ColumnIdGrupo2.Caption = "IDGrupo"; this.ColumnIdGrupo2.FieldName = "IDGrupo"; this.ColumnIdGrupo2.Name = "ColumnIdGrupo2"; // // treeGrupoCuenta // this.treeGrupoCuenta.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.ColumnCuentaG, this.ColumnDescrG, this.IDCuenta, this.ColumnIDGrupo, this.TagG }); this.treeGrupoCuenta.Cursor = System.Windows.Forms.Cursors.Default; treeListFormatRule4.ApplyToRow = true; treeListFormatRule4.Column = this.TagG; treeListFormatRule4.ColumnApplyTo = this.TagG; treeListFormatRule4.Name = "Bold Node"; formatConditionRuleValue4.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); formatConditionRuleValue4.Appearance.ForeColor = System.Drawing.Color.DeepSkyBlue; formatConditionRuleValue4.Appearance.Options.UseFont = true; formatConditionRuleValue4.Appearance.Options.UseForeColor = true; formatConditionRuleValue4.Condition = DevExpress.XtraEditors.FormatCondition.Equal; formatConditionRuleValue4.Value1 = "Root"; treeListFormatRule4.Rule = formatConditionRuleValue4; this.treeGrupoCuenta.FormatRules.Add(treeListFormatRule4); this.treeGrupoCuenta.KeyFieldName = ""; this.treeGrupoCuenta.Location = new System.Drawing.Point(12, 94); this.treeGrupoCuenta.Name = "treeGrupoCuenta"; this.treeGrupoCuenta.OptionsBehavior.Editable = false; this.treeGrupoCuenta.OptionsDragAndDrop.AcceptOuterNodes = true; this.treeGrupoCuenta.OptionsDragAndDrop.DragNodesMode = DevExpress.XtraTreeList.DragNodesMode.Multiple; this.treeGrupoCuenta.OptionsDragAndDrop.DropNodesMode = DevExpress.XtraTreeList.DropNodesMode.Standard; this.treeGrupoCuenta.OptionsSelection.MultiSelect = true; this.treeGrupoCuenta.ParentFieldName = ""; this.treeGrupoCuenta.RootValue = 1; this.treeGrupoCuenta.Size = new System.Drawing.Size(389, 303); this.treeGrupoCuenta.TabIndex = 4; // // ColumnCuentaG // this.ColumnCuentaG.Caption = "Cuenta"; this.ColumnCuentaG.FieldName = "Cuenta"; this.ColumnCuentaG.Name = "ColumnCuentaG"; this.ColumnCuentaG.Visible = true; this.ColumnCuentaG.VisibleIndex = 0; this.ColumnCuentaG.Width = 141; // // ColumnDescrG // this.ColumnDescrG.Caption = "Descripción"; this.ColumnDescrG.FieldName = "Descripcion"; this.ColumnDescrG.Name = "ColumnDescrG"; this.ColumnDescrG.SortOrder = System.Windows.Forms.SortOrder.Descending; this.ColumnDescrG.Visible = true; this.ColumnDescrG.VisibleIndex = 1; this.ColumnDescrG.Width = 230; // // IDCuenta // this.IDCuenta.Caption = "IDCuenta"; this.IDCuenta.FieldName = "IDCuenta"; this.IDCuenta.Name = "IDCuenta"; // // ColumnIDGrupo // this.ColumnIDGrupo.Caption = "IDGrupo"; this.ColumnIDGrupo.FieldName = "IDGrupo"; this.ColumnIDGrupo.Name = "ColumnIDGrupo"; // // layoutControlGroup1 // this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.emptySpaceItem1, this.layoutControlItem3, this.layoutControlItem4, this.emptySpaceItem2 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(857, 409); this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.treeGrupoCuenta; this.layoutControlItem1.Location = new System.Drawing.Point(0, 66); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(393, 323); this.layoutControlItem1.Text = "Cuenta - Grupo Estados Financieros"; this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Top; this.layoutControlItem1.TextSize = new System.Drawing.Size(172, 13); // // layoutControlItem2 // this.layoutControlItem2.Control = this.treeCuenta; this.layoutControlItem2.Location = new System.Drawing.Point(444, 42); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(393, 347); this.layoutControlItem2.Text = "Cuentas Contables"; this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Top; this.layoutControlItem2.TextSize = new System.Drawing.Size(172, 13); // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.Location = new System.Drawing.Point(393, 42); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(51, 347); this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem3 // this.layoutControlItem3.Control = this.cmbGrupoEstadoFinanciero; this.layoutControlItem3.Location = new System.Drawing.Point(0, 42); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(393, 24); this.layoutControlItem3.Text = "Grupo Estados Financieros:"; this.layoutControlItem3.TextSize = new System.Drawing.Size(172, 13); // // layoutControlItem4 // this.layoutControlItem4.Control = this.btnLimpiar; this.layoutControlItem4.Location = new System.Drawing.Point(0, 0); this.layoutControlItem4.MaxSize = new System.Drawing.Size(120, 42); this.layoutControlItem4.MinSize = new System.Drawing.Size(120, 42); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(120, 42); this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextVisible = false; // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.Location = new System.Drawing.Point(120, 0); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(717, 42); this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // frmRelacionCuentaGrupoEstadosFinancieros // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(857, 409); this.Controls.Add(this.layoutControl1); this.DoubleBuffered = true; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmRelacionCuentaGrupoEstadosFinancieros"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Relación Cuenta - Grupo Estados Financieros"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmRelacionCuentaGrupoEstadosFinancieros_Load); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.cmbGrupoEstadoFinanciero.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeCuenta)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.treeGrupoCuenta)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule treeListFormatRule1 = new DevExpress.XtraTreeList.StyleFormatConditions.TreeListFormatRule(); DevExpress.XtraEditors.FormatConditionRuleValue formatConditionRuleValue1 = new DevExpress.XtraEditors.FormatConditionRuleValue(); this.tree = new DevExpress.XtraTreeList.TreeList(); this.colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colSqlSchema = new DevExpress.XtraTreeList.Columns.TreeListColumn(); this.colIsDisabled = new DevExpress.XtraTreeList.Columns.TreeListColumn(); ((System.ComponentModel.ISupportInitialize)(this.tree)).BeginInit(); this.SuspendLayout(); // // tree // this.tree.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { this.colName, this.colSqlSchema, this.colIsDisabled }); this.tree.Dock = System.Windows.Forms.DockStyle.Fill; treeListFormatRule1.ApplyToRow = true; treeListFormatRule1.Name = "Disabled"; formatConditionRuleValue1.Appearance.ForeColor = System.Drawing.SystemColors.GrayText; formatConditionRuleValue1.Appearance.Options.UseForeColor = true; formatConditionRuleValue1.Condition = DevExpress.XtraEditors.FormatCondition.Equal; formatConditionRuleValue1.Value1 = true; treeListFormatRule1.Rule = formatConditionRuleValue1; this.tree.FormatRules.Add(treeListFormatRule1); this.tree.Location = new System.Drawing.Point(0, 0); this.tree.Name = "tree"; this.tree.Size = new System.Drawing.Size(418, 312); this.tree.TabIndex = 0; this.tree.FocusedNodeChanged += new DevExpress.XtraTreeList.FocusedNodeChangedEventHandler(this.tree_FocusedNodeChanged); this.tree.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.tree_MouseDoubleClick); // // colName // this.colName.Caption = "Name"; this.colName.FieldName = "Name"; this.colName.Name = "colName"; this.colName.OptionsColumn.AllowEdit = false; this.colName.OptionsColumn.AllowFocus = false; this.colName.SortOrder = System.Windows.Forms.SortOrder.Ascending; this.colName.Visible = true; this.colName.VisibleIndex = 0; // // colSqlSchema // this.colSqlSchema.Caption = "SQL Schema"; this.colSqlSchema.FieldName = "SqlSchemaName"; this.colSqlSchema.Name = "colSqlSchema"; this.colSqlSchema.OptionsColumn.AllowEdit = false; this.colSqlSchema.OptionsColumn.AllowFocus = false; this.colSqlSchema.SortOrder = System.Windows.Forms.SortOrder.Ascending; this.colSqlSchema.Visible = true; this.colSqlSchema.VisibleIndex = 1; // // colIsDisabled // this.colIsDisabled.Caption = "treeListColumn1"; this.colIsDisabled.FieldName = "IsDisabled"; this.colIsDisabled.Name = "colIsDisabled"; this.colIsDisabled.OptionsColumn.ShowInCustomizationForm = false; // // SchemaTree // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tree); this.Name = "SchemaTree"; this.Size = new System.Drawing.Size(418, 312); ((System.ComponentModel.ISupportInitialize)(this.tree)).EndInit(); this.ResumeLayout(false); }