| | |
| | | barBtnEditPumpCurve = new DevExpress.XtraBars.BarButtonItem(); |
| | | BtnAdd = new DevExpress.XtraBars.BarButtonItem(); |
| | | BtnDelete = new DevExpress.XtraBars.BarButtonItem(); |
| | | BtnAddChild = new DevExpress.XtraBars.BarButtonItem(); |
| | | ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); |
| | | dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | typeTreeListCtrl2 = new TypeTreeListCtrl(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | treeList1 = new DevExpress.XtraTreeList.TreeList(); |
| | | colName = new DevExpress.XtraTreeList.Columns.TreeListColumn(); |
| | |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dockManager1).BeginInit(); |
| | | dockPanel1.SuspendLayout(); |
| | | dockPanel1_Container.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).BeginInit(); |
| | |
| | | ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.False; |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnEditPumpCurve, BtnAdd, BtnDelete }); |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnEditPumpCurve, BtnAdd, BtnDelete, BtnAddChild }); |
| | | ribbonControl1.Location = new Point(0, 0); |
| | | ribbonControl1.MaxItemId = 17; |
| | | ribbonControl1.MaxItemId = 18; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); |
| | | ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
| | |
| | | // |
| | | // barBtnEditPumpCurve |
| | | // |
| | | barBtnEditPumpCurve.Caption = "编辑属性"; |
| | | barBtnEditPumpCurve.Caption = "编辑分类"; |
| | | barBtnEditPumpCurve.Id = 13; |
| | | barBtnEditPumpCurve.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnEditPumpCurve.ImageOptions.SvgImage"); |
| | | barBtnEditPumpCurve.Name = "barBtnEditPumpCurve"; |
| | |
| | | // |
| | | // BtnAdd |
| | | // |
| | | BtnAdd.Caption = "增加属性"; |
| | | BtnAdd.Caption = "增加父级分类"; |
| | | BtnAdd.Id = 15; |
| | | BtnAdd.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnAdd.ImageOptions.SvgImage"); |
| | | BtnAdd.Name = "BtnAdd"; |
| | |
| | | // |
| | | // BtnDelete |
| | | // |
| | | BtnDelete.Caption = "删除属性"; |
| | | BtnDelete.Caption = "删除分类"; |
| | | BtnDelete.Id = 16; |
| | | BtnDelete.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnDelete.ImageOptions.SvgImage"); |
| | | BtnDelete.Name = "BtnDelete"; |
| | | BtnDelete.ItemClick += BtnDelete_ItemClick; |
| | | // |
| | | // BtnAddChild |
| | | // |
| | | BtnAddChild.Caption = "增加子级分类"; |
| | | BtnAddChild.Id = 17; |
| | | BtnAddChild.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BtnAddChild.ImageOptions.SvgImage"); |
| | | BtnAddChild.Name = "BtnAddChild"; |
| | | BtnAddChild.ItemClick += BtnAddChild_ItemClick; |
| | | // |
| | | // ribbonPage1 |
| | | // |
| | |
| | | // ribbonPageGroup1 |
| | | // |
| | | ribbonPageGroup1.ItemLinks.Add(BtnAdd); |
| | | ribbonPageGroup1.ItemLinks.Add(BtnAddChild); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnEditPumpCurve); |
| | | ribbonPageGroup1.ItemLinks.Add(BtnDelete); |
| | | ribbonPageGroup1.Name = "ribbonPageGroup1"; |
| | |
| | | // |
| | | // dockPanel1_Container |
| | | // |
| | | dockPanel1_Container.Controls.Add(typeTreeListCtrl2); |
| | | dockPanel1_Container.Location = new Point(3, 26); |
| | | dockPanel1_Container.Name = "dockPanel1_Container"; |
| | | dockPanel1_Container.Size = new Size(193, 441); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // typeTreeListCtrl2 |
| | | // |
| | | typeTreeListCtrl2.Appearance.BackColor = SystemColors.Control; |
| | | typeTreeListCtrl2.Appearance.Options.UseBackColor = true; |
| | | typeTreeListCtrl2.Dock = DockStyle.Fill; |
| | | typeTreeListCtrl2.Location = new Point(0, 0); |
| | | typeTreeListCtrl2.Name = "typeTreeListCtrl2"; |
| | | typeTreeListCtrl2.Size = new Size(193, 441); |
| | | typeTreeListCtrl2.TabIndex = 0; |
| | | // |
| | | // layoutControl1 |
| | | // |
| | |
| | | // |
| | | // treeList1 |
| | | // |
| | | treeList1.Appearance.HeaderPanel.Options.UseTextOptions = true; |
| | | treeList1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | treeList1.Columns.AddRange(new DevExpress.XtraTreeList.Columns.TreeListColumn[] { colName, colCode, colSortCode, colDescription }); |
| | | treeList1.DataSource = catlogViewModelBindingSource; |
| | | treeList1.Location = new Point(2, 2); |
| | | treeList1.MenuManager = ribbonControl1; |
| | | treeList1.Name = "treeList1"; |
| | | treeList1.OptionsBehavior.Editable = false; |
| | | treeList1.Size = new Size(929, 466); |
| | | treeList1.TabIndex = 4; |
| | | // |
| | | // colName |
| | | // |
| | | colName.AppearanceCell.Options.UseTextOptions = true; |
| | | colName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colName.Caption = "名称"; |
| | | colName.FieldName = "Name"; |
| | | colName.Name = "colName"; |
| | |
| | | // |
| | | // colCode |
| | | // |
| | | colCode.AppearanceCell.Options.UseTextOptions = true; |
| | | colCode.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colCode.Caption = "编码"; |
| | | colCode.FieldName = "Code"; |
| | | colCode.Name = "colCode"; |
| | |
| | | // |
| | | // colSortCode |
| | | // |
| | | colSortCode.AppearanceCell.Options.UseTextOptions = true; |
| | | colSortCode.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colSortCode.Caption = "排序码"; |
| | | colSortCode.FieldName = "SortCode"; |
| | | colSortCode.Name = "colSortCode"; |
| | |
| | | // |
| | | // colDescription |
| | | // |
| | | colDescription.AppearanceCell.Options.UseTextOptions = true; |
| | | colDescription.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colDescription.Caption = "说明"; |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)dockManager1).EndInit(); |
| | | dockPanel1.ResumeLayout(false); |
| | | dockPanel1_Container.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)treeList1).EndInit(); |
| | |
| | | private DevExpress.XtraBars.BarButtonItem BtnAdd; |
| | | private DevExpress.XtraBars.BarButtonItem BtnDelete; |
| | | private DevExpress.XtraBars.BarButtonItem barButtonItem1; |
| | | private TypeTreeListCtrl typeTreeListCtrl1; |
| | | private DevExpress.XtraTreeList.TreeList treeList1; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colName; |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colCode; |
| | |
| | | private DevExpress.XtraTreeList.Columns.TreeListColumn colDescription; |
| | | private BindingSource catlogViewModelBindingSource; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private TypeTreeListCtrl typeTreeListCtrl2; |
| | | private DevExpress.XtraBars.BarButtonItem BtnAddChild; |
| | | } |
| | | } |