| | |
| | | BtnDelete = new DevExpress.XtraBars.BarButtonItem(); |
| | | BarBtnEidtPumpPart = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnValveLine = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnSetDefaultStatus = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnSetCoefficient = new DevExpress.XtraBars.BarButtonItem(); |
| | | ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | svgImageCollection1 = new DevExpress.Utils.SvgImageCollection(components); |
| | | sidePanel1 = new DevExpress.XtraEditors.SidePanel(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCoefficient = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCreateName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCreateTime = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colKeyWord = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colValveSetting = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colValveType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); |
| | | dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | valveTypeTreeListCtrl1 = new ValveTypeTreeListCtrl(); |
| | | colOpenStatus = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImageCollection1).BeginInit(); |
| | | sidePanel1.SuspendLayout(); |
| | |
| | | ribbonControl1.DrawGroupsBorderMode = DevExpress.Utils.DefaultBoolean.True; |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, BtnAdd, BtnEdit, BtnDelete, BarBtnEidtPumpPart, barBtnValveLine }); |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, BtnAdd, BtnEdit, BtnDelete, BarBtnEidtPumpPart, barBtnValveLine, barBtnSetDefaultStatus, barBtnSetCoefficient }); |
| | | ribbonControl1.Location = new Point(0, 0); |
| | | ribbonControl1.MaxItemId = 23; |
| | | ribbonControl1.MaxItemId = 25; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); |
| | | ribbonControl1.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2010; |
| | |
| | | barBtnValveLine.Name = "barBtnValveLine"; |
| | | barBtnValveLine.ItemClick += barBtnValveLine_ItemClick; |
| | | // |
| | | // barBtnSetDefaultStatus |
| | | // |
| | | barBtnSetDefaultStatus.Caption = "设置默认"; |
| | | barBtnSetDefaultStatus.Id = 23; |
| | | barBtnSetDefaultStatus.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSetDefaultStatus.ImageOptions.SvgImage"); |
| | | barBtnSetDefaultStatus.Name = "barBtnSetDefaultStatus"; |
| | | barBtnSetDefaultStatus.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; |
| | | barBtnSetDefaultStatus.ItemClick += barBtnSetDefaultStatus_ItemClick; |
| | | // |
| | | // barBtnSetCoefficient |
| | | // |
| | | barBtnSetCoefficient.Caption = "局阻系数"; |
| | | barBtnSetCoefficient.Id = 24; |
| | | barBtnSetCoefficient.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnSetCoefficient.ImageOptions.SvgImage"); |
| | | barBtnSetCoefficient.Name = "barBtnSetCoefficient"; |
| | | barBtnSetCoefficient.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; |
| | | barBtnSetCoefficient.ItemClick += barBtnSetcoefficient_ItemClick; |
| | | // |
| | | // ribbonPage1 |
| | | // |
| | | ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1 }); |
| | | ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1, ribbonPageGroup2 }); |
| | | ribbonPage1.Name = "ribbonPage1"; |
| | | ribbonPage1.Text = "ribbonPage1"; |
| | | // |
| | |
| | | ribbonPageGroup1.ItemLinks.Add(BtnAdd); |
| | | ribbonPageGroup1.ItemLinks.Add(BtnEdit); |
| | | ribbonPageGroup1.ItemLinks.Add(BtnDelete); |
| | | ribbonPageGroup1.ItemLinks.Add(barBtnValveLine); |
| | | ribbonPageGroup1.Name = "ribbonPageGroup1"; |
| | | ribbonPageGroup1.Text = "基础功能"; |
| | | // |
| | | // ribbonPageGroup2 |
| | | // |
| | | ribbonPageGroup2.ItemLinks.Add(barBtnValveLine); |
| | | ribbonPageGroup2.ItemLinks.Add(barBtnSetDefaultStatus); |
| | | ribbonPageGroup2.ItemLinks.Add(barBtnSetCoefficient); |
| | | ribbonPageGroup2.Name = "ribbonPageGroup2"; |
| | | ribbonPageGroup2.Text = "更多"; |
| | | // |
| | | // svgImageCollection1 |
| | | // |
| | |
| | | gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; |
| | | gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCaliber, colMaterial, colCoefficient, colDescription, colCreateName, colCreateTime, colOpenStatus }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colCaliber, colMaterial, colCoefficient, colDescription, colKeyWord, colValveSetting, colValveType }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | | gridView1.FocusedRowChanged += gridView1_FocusedRowChanged; |
| | | // |
| | | // colName |
| | | // |
| | |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 118; |
| | | colName.Width = 178; |
| | | // |
| | | // colCaliber |
| | | // |
| | |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 3; |
| | | colCaliber.Width = 118; |
| | | colCaliber.Width = 123; |
| | | // |
| | | // colMaterial |
| | | // |
| | |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 4; |
| | | colMaterial.Width = 96; |
| | | colMaterial.Width = 105; |
| | | // |
| | | // colCoefficient |
| | | // |
| | |
| | | colCoefficient.Name = "colCoefficient"; |
| | | colCoefficient.Visible = true; |
| | | colCoefficient.VisibleIndex = 5; |
| | | colCoefficient.Width = 79; |
| | | colCoefficient.Width = 85; |
| | | // |
| | | // colDescription |
| | | // |
| | |
| | | colDescription.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.OptionsFilter.AllowFilter = false; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 7; |
| | | colDescription.Width = 228; |
| | | colDescription.Width = 266; |
| | | // |
| | | // colCreateName |
| | | // colKeyWord |
| | | // |
| | | colCreateName.AppearanceCell.Options.UseTextOptions = true; |
| | | colCreateName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colCreateName.FieldName = "CreateName"; |
| | | colCreateName.Name = "colCreateName"; |
| | | colCreateName.Visible = true; |
| | | colCreateName.VisibleIndex = 1; |
| | | colCreateName.Width = 118; |
| | | colKeyWord.FieldName = "KeyWord"; |
| | | colKeyWord.Name = "colKeyWord"; |
| | | colKeyWord.Visible = true; |
| | | colKeyWord.VisibleIndex = 2; |
| | | // |
| | | // colCreateTime |
| | | // colValveSetting |
| | | // |
| | | colCreateTime.AppearanceCell.Options.UseTextOptions = true; |
| | | colCreateTime.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colCreateTime.FieldName = "CreateTime"; |
| | | colCreateTime.Name = "colCreateTime"; |
| | | colCreateTime.Visible = true; |
| | | colCreateTime.VisibleIndex = 2; |
| | | colCreateTime.Width = 118; |
| | | colValveSetting.FieldName = "ValveSetting"; |
| | | colValveSetting.Name = "colValveSetting"; |
| | | colValveSetting.Visible = true; |
| | | colValveSetting.VisibleIndex = 6; |
| | | // |
| | | // colValveType |
| | | // |
| | | colValveType.FieldName = "ValveType"; |
| | | colValveType.Name = "colValveType"; |
| | | colValveType.Visible = true; |
| | | colValveType.VisibleIndex = 1; |
| | | // |
| | | // dockManager1 |
| | | // |
| | |
| | | dockPanel1.Name = "dockPanel1"; |
| | | dockPanel1.OriginalSize = new Size(204, 200); |
| | | dockPanel1.Size = new Size(204, 520); |
| | | dockPanel1.Text = "阀门类型"; |
| | | dockPanel1.Text = "阀门系列"; |
| | | // |
| | | // dockPanel1_Container |
| | | // |
| | |
| | | valveTypeTreeListCtrl1.Name = "valveTypeTreeListCtrl1"; |
| | | valveTypeTreeListCtrl1.Size = new Size(197, 491); |
| | | valveTypeTreeListCtrl1.TabIndex = 0; |
| | | // |
| | | // colOpenStatus |
| | | // |
| | | colOpenStatus.FieldName = "OpenStatus"; |
| | | colOpenStatus.Name = "colOpenStatus"; |
| | | colOpenStatus.Visible = true; |
| | | colOpenStatus.VisibleIndex = 6; |
| | | colOpenStatus.Width = 83; |
| | | // |
| | | // ValveManageMainPage |
| | | // |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCoefficient; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCreateName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCreateTime; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnValveLine; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colOpenStatus; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colValveLift; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colKeyWord; |
| | | private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup2; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnSetDefaultStatus; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colValveSetting; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colValveType; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnSetCoefficient; |
| | | } |
| | | } |