| | |
| | | // ribbonControl1 |
| | | // |
| | | ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.EmptyAreaImageOptions.ImagePadding = new Padding(34, 39, 34, 39); |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnAdd, barBtnEdit, barBtnRefresh, barBtnDelete, barBtnUpdateSortCode, barBtnDetail, barBtnUpdateTagName, barCekSearch }); |
| | | ribbonControl1.Location = new Point(0, 0); |
| | | ribbonControl1.Margin = new Padding(3, 4, 3, 4); |
| | | ribbonControl1.MaxItemId = 28; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.OptionsMenuMinWidth = 377; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage }); |
| | | ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; |
| | | ribbonControl1.Size = new Size(818, 104); |
| | | ribbonControl1.Size = new Size(935, 128); |
| | | ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; |
| | | // |
| | | // barBtnAdd |
| | |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colType, colADCode, colTagName, colSortCode, colDescription }); |
| | | treeList1.DataSource = divisionViewModelBindingSource; |
| | | treeList1.Dock = DockStyle.Fill; |
| | | treeList1.Location = new Point(0, 104); |
| | | treeList1.Location = new Point(0, 128); |
| | | treeList1.Margin = new Padding(3, 4, 3, 4); |
| | | treeList1.MenuManager = ribbonControl1; |
| | | treeList1.MinWidth = 23; |
| | | treeList1.Name = "treeList1"; |
| | | treeList1.OptionsView.ShowTreeLines = DevExpress.Utils.DefaultBoolean.True; |
| | | treeList1.Size = new Size(818, 577); |
| | | treeList1.Size = new Size(935, 748); |
| | | treeList1.TabIndex = 24; |
| | | treeList1.TreeLevelWidth = 21; |
| | | treeList1.ViewStyle = DevExpress.XtraTreeList.TreeListViewStyle.TreeList; |
| | | // |
| | | // colName |
| | | // |
| | | colName.Caption = "名称"; |
| | | colName.FieldName = "Name"; |
| | | colName.MinWidth = 23; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 86; |
| | | // |
| | | // colType |
| | | // |
| | | colType.Caption = "类型"; |
| | | colType.FieldName = "Type"; |
| | | colType.MinWidth = 23; |
| | | colType.Name = "colType"; |
| | | colType.Visible = true; |
| | | colType.VisibleIndex = 1; |
| | | colType.Width = 86; |
| | | // |
| | | // colADCode |
| | | // |
| | | colADCode.Caption = "高德编码"; |
| | | colADCode.FieldName = "ADCode"; |
| | | colADCode.MinWidth = 23; |
| | | colADCode.Name = "colADCode"; |
| | | colADCode.Visible = true; |
| | | colADCode.VisibleIndex = 2; |
| | | colADCode.Width = 86; |
| | | // |
| | | // colTagName |
| | | // |
| | | colTagName.Caption = "标签名称"; |
| | | colTagName.FieldName = "TagName"; |
| | | colTagName.MinWidth = 23; |
| | | colTagName.Name = "colTagName"; |
| | | colTagName.Visible = true; |
| | | colTagName.VisibleIndex = 3; |
| | | colTagName.Width = 86; |
| | | // |
| | | // colSortCode |
| | | // |
| | | colSortCode.Caption = "排序码"; |
| | | colSortCode.FieldName = "SortCode"; |
| | | colSortCode.MinWidth = 23; |
| | | colSortCode.Name = "colSortCode"; |
| | | colSortCode.Visible = true; |
| | | colSortCode.VisibleIndex = 4; |
| | | colSortCode.Width = 86; |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.Caption = "说明"; |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.MinWidth = 23; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 5; |
| | | colDescription.VisibleIndex = 4; |
| | | colDescription.Width = 86; |
| | | // |
| | | // DivisionMainPage |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | | Appearance.Options.UseBackColor = true; |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleDimensions = new SizeF(8F, 18F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(treeList1); |
| | | Controls.Add(ribbonControl1); |
| | | Margin = new Padding(3, 5, 3, 5); |
| | | Name = "DivisionMainPage"; |
| | | Size = new Size(818, 681); |
| | | Size = new Size(935, 876); |
| | | ((ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((ISupportInitialize)divisionViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)treeList1).EndInit(); |