| | |
| | | { |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(AssetsExchangerMainMgrPage)); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); |
| | | ribbonControl1 = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
| | | barBtnAdd = new DevExpress.XtraBars.BarButtonItem(); |
| | | barBtnEdit = new DevExpress.XtraBars.BarButtonItem(); |
| | |
| | | ribPageGroupForMore = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | panelControl1 = new DevExpress.XtraEditors.PanelControl(); |
| | | gridControl1 = new DevExpress.XtraGrid.GridControl(); |
| | | assetsExchangerMainMgrViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colID = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDiameter = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colKeyWords = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlags = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colTagName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | |
| | | repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | | behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(components); |
| | | dragDropEvents1 = new DevExpress.Utils.DragDrop.DragDropEvents(components); |
| | | assetsExchangerMainMgrViewModelBindingSource = new BindingSource(components); |
| | | colDiameter = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | barBtnCurve = new DevExpress.XtraBars.BarButtonItem(); |
| | | ((ISupportInitialize)ribbonControl1).BeginInit(); |
| | | ((ISupportInitialize)panelControl1).BeginInit(); |
| | | panelControl1.SuspendLayout(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)assetsExchangerMainMgrViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); |
| | | ((ISupportInitialize)behaviorManager1).BeginInit(); |
| | | ((ISupportInitialize)assetsExchangerMainMgrViewModelBindingSource).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // ribbonControl1 |
| | | // |
| | | ribbonControl1.ExpandCollapseItem.Id = 0; |
| | | ribbonControl1.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnAdd, barBtnEdit, barBtnDelete, barBtnInfo, barBtnSearch, barBtnRefresh, barBtnUp, barBtnDown, barCkDrag, barBtnFactor }); |
| | | ribbonControl1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbonControl1.ExpandCollapseItem, barBtnAdd, barBtnEdit, barBtnDelete, barBtnInfo, barBtnSearch, barBtnRefresh, barBtnUp, barBtnDown, barCkDrag, barBtnFactor, barBtnCurve }); |
| | | ribbonControl1.Location = new Point(1, 1); |
| | | ribbonControl1.MaxItemId = 19; |
| | | ribbonControl1.MaxItemId = 20; |
| | | ribbonControl1.Name = "ribbonControl1"; |
| | | ribbonControl1.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); |
| | | ribbonControl1.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; |
| | |
| | | // |
| | | // ribPageGroupForMore |
| | | // |
| | | ribPageGroupForMore.ItemLinks.Add(barBtnCurve); |
| | | ribPageGroupForMore.ItemLinks.Add(barBtnFactor); |
| | | ribPageGroupForMore.ItemLinks.Add(barBtnSearch); |
| | | ribPageGroupForMore.ItemLinks.Add(barBtnRefresh); |
| | |
| | | gridControl1.Size = new Size(1107, 539); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | | // assetsExchangerMainMgrViewModelBindingSource |
| | | // |
| | | assetsExchangerMainMgrViewModelBindingSource.DataSource = typeof(AssetsExchangerMainMgrViewModel); |
| | | // |
| | | // gridView1 |
| | | // |
| | |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 1; |
| | | colMaterial.Width = 150; |
| | | // |
| | | // colDiameter |
| | | // |
| | | colDiameter.FieldName = "Diameter"; |
| | | colDiameter.MaxWidth = 100; |
| | | colDiameter.MinWidth = 100; |
| | | colDiameter.Name = "colDiameter"; |
| | | colDiameter.Visible = true; |
| | | colDiameter.VisibleIndex = 2; |
| | | colDiameter.Width = 100; |
| | | // |
| | | // colMinorLoss |
| | | // |
| | | colMinorLoss.FieldName = "MinorLoss"; |
| | | colMinorLoss.MaxWidth = 100; |
| | | colMinorLoss.MinWidth = 100; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 3; |
| | | colMinorLoss.Width = 100; |
| | | // |
| | | // colKeyWords |
| | | // |
| | |
| | | // repositoryItemButtonEdit1 |
| | | // |
| | | repositoryItemButtonEdit1.AutoHeight = false; |
| | | editorButtonImageOptions3.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions3.SvgImage"); |
| | | editorButtonImageOptions3.SvgImageSize = new Size(20, 20); |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); |
| | | editorButtonImageOptions1.SvgImageSize = new Size(20, 20); |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; |
| | | repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; |
| | | // |
| | |
| | | // |
| | | dragDropEvents1.DragDrop += dragDropEvents1_DragDrop; |
| | | // |
| | | // assetsExchangerMainMgrViewModelBindingSource |
| | | // barBtnCurve |
| | | // |
| | | assetsExchangerMainMgrViewModelBindingSource.DataSource = typeof(AssetsExchangerMainMgrViewModel); |
| | | // |
| | | // colDiameter |
| | | // |
| | | colDiameter.FieldName = "Diameter"; |
| | | colDiameter.MaxWidth = 100; |
| | | colDiameter.MinWidth = 100; |
| | | colDiameter.Name = "colDiameter"; |
| | | colDiameter.Visible = true; |
| | | colDiameter.VisibleIndex = 3; |
| | | colDiameter.Width = 100; |
| | | // |
| | | // colMinorLoss |
| | | // |
| | | colMinorLoss.FieldName = "MinorLoss"; |
| | | colMinorLoss.MaxWidth = 100; |
| | | colMinorLoss.MinWidth = 100; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 4; |
| | | colMinorLoss.Width = 100; |
| | | barBtnCurve.Caption = "水头损失曲线"; |
| | | barBtnCurve.Id = 19; |
| | | barBtnCurve.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barBtnCurve.ImageOptions.SvgImage"); |
| | | barBtnCurve.Name = "barBtnCurve"; |
| | | barBtnCurve.ItemClick += barBtnCurve_ItemClick; |
| | | // |
| | | // AssetsExchangerMainMgrPage |
| | | // |
| | |
| | | ((ISupportInitialize)panelControl1).EndInit(); |
| | | panelControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)assetsExchangerMainMgrViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)repositoryItemButtonEdit1).EndInit(); |
| | | ((ISupportInitialize)behaviorManager1).EndInit(); |
| | | ((ISupportInitialize)assetsExchangerMainMgrViewModelBindingSource).EndInit(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | |
| | | private BindingSource assetsExchangerMainMgrViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDiameter; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; |
| | | private DevExpress.XtraBars.BarButtonItem barBtnCurve; |
| | | } |
| | | } |