| | |
| | | BtnDelete = new DevExpress.XtraBars.BarButtonItem(); |
| | | BarBtnEidtPumpPart = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnSetDefaultStatus = new DevExpress.XtraBars.BarButtonItem(); |
| | | BarBtnEidtProp = new DevExpress.XtraBars.BarButtonItem(); |
| | | ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | |
| | | ExchangerViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colKeyWord = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterialName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | |
| | | dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | ExchangerTreeListCtrl1 = new ExchangerTreeListCtrl(); |
| | | BarBtnEidtProp = new DevExpress.XtraBars.BarButtonItem(); |
| | | ((System.ComponentModel.ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)svgImageCollection1).BeginInit(); |
| | | sidePanel1.SuspendLayout(); |
| | |
| | | barBtnSetDefaultStatus.Name = "barBtnSetDefaultStatus"; |
| | | barBtnSetDefaultStatus.ItemClick += barBtnSetDefaultStatus_ItemClick; |
| | | // |
| | | // BarBtnEidtProp |
| | | // |
| | | BarBtnEidtProp.Caption = "属性编辑"; |
| | | BarBtnEidtProp.Id = 24; |
| | | BarBtnEidtProp.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("BarBtnEidtProp.ImageOptions.SvgImage"); |
| | | BarBtnEidtProp.Name = "BarBtnEidtProp"; |
| | | BarBtnEidtProp.ItemClick += BarBtnEidtProp_ItemClick; |
| | | // |
| | | // ribbonPage1 |
| | | // |
| | | ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1, ribbonPageGroup2 }); |
| | |
| | | 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, colDescription, colKeyWord, colMaterialName, colIsDefault, colCoefficient }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName, colDescription, colKeyWord, colMaterialName, colIsDefault, colCoefficient }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsView.ShowGroupPanel = false; |
| | |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 0; |
| | | colName.Width = 192; |
| | | // |
| | | // colCaliber |
| | | // |
| | | colCaliber.AppearanceCell.Options.UseTextOptions = true; |
| | | colCaliber.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; |
| | | colCaliber.FieldName = "Caliber"; |
| | | colCaliber.Name = "colCaliber"; |
| | | colCaliber.Visible = true; |
| | | colCaliber.VisibleIndex = 3; |
| | | colCaliber.Width = 85; |
| | | colName.Width = 244; |
| | | // |
| | | // colDescription |
| | | // |
| | |
| | | colDescription.FieldName = "Description"; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 5; |
| | | colDescription.Width = 222; |
| | | colDescription.VisibleIndex = 4; |
| | | colDescription.Width = 311; |
| | | // |
| | | // colKeyWord |
| | | // |
| | |
| | | colKeyWord.Name = "colKeyWord"; |
| | | colKeyWord.Visible = true; |
| | | colKeyWord.VisibleIndex = 1; |
| | | colKeyWord.Width = 128; |
| | | colKeyWord.Width = 162; |
| | | // |
| | | // colMaterialName |
| | | // |
| | |
| | | colMaterialName.Name = "colMaterialName"; |
| | | colMaterialName.Visible = true; |
| | | colMaterialName.VisibleIndex = 2; |
| | | colMaterialName.Width = 79; |
| | | colMaterialName.Width = 100; |
| | | // |
| | | // colIsDefault |
| | | // |
| | | colIsDefault.FieldName = "IsDefault"; |
| | | colIsDefault.Name = "colIsDefault"; |
| | | colIsDefault.Visible = true; |
| | | colIsDefault.VisibleIndex = 6; |
| | | colIsDefault.Width = 97; |
| | | colIsDefault.VisibleIndex = 5; |
| | | colIsDefault.Width = 96; |
| | | // |
| | | // colCoefficient |
| | | // |
| | | colCoefficient.FieldName = "Coefficient"; |
| | | colCoefficient.Name = "colCoefficient"; |
| | | colCoefficient.Visible = true; |
| | | colCoefficient.VisibleIndex = 4; |
| | | colCoefficient.VisibleIndex = 3; |
| | | colCoefficient.Width = 95; |
| | | // |
| | | // dockManager1 |
| | | // |
| | |
| | | ExchangerTreeListCtrl1.Size = new Size(193, 491); |
| | | ExchangerTreeListCtrl1.TabIndex = 0; |
| | | // |
| | | // BarBtnEidtProp |
| | | // |
| | | BarBtnEidtProp.Caption = "属性编辑"; |
| | | BarBtnEidtProp.Id = 24; |
| | | BarBtnEidtProp.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barButtonItem1.ImageOptions.SvgImage"); |
| | | BarBtnEidtProp.Name = "BarBtnEidtProp"; |
| | | BarBtnEidtProp.ItemClick += BarBtnEidtProp_ItemClick; |
| | | // |
| | | // ExchangerManageMainPage |
| | | // |
| | | Appearance.BackColor = SystemColors.Control; |
| | |
| | | private DevExpress.XtraGrid.GridControl gridControl1; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCaliber; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | private DevExpress.XtraBars.Docking.DockManager dockManager1; |
| | | private DevExpress.XtraBars.Docking.DockPanel dockPanel1; |