From 750b85dc4c5562b9c0dc9b8c463e5cc5f0ad2553 Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期一, 11 十一月 2024 15:45:32 +0800 Subject: [PATCH] 添加方案 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/04-scheme/01-add/AddXhsSchemeDlg.Designer.cs | 1073 ++++++++++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 792 insertions(+), 281 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/04-scheme/01-add/AddXhsSchemeDlg.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/04-scheme/01-add/AddXhsSchemeDlg.Designer.cs index 92422ca..7a8057d 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/04-scheme/01-add/AddXhsSchemeDlg.Designer.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/04-scheme/01-add/AddXhsSchemeDlg.Designer.cs @@ -29,16 +29,32 @@ private void InitializeComponent() { components = new Container(); + EditorButtonImageOptions editorButtonImageOptions1 = new EditorButtonImageOptions(); ComponentResourceManager resources = new ComponentResourceManager(typeof(AddXhsSchemeDlg)); - DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode(); + 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(); + EditorButtonImageOptions editorButtonImageOptions2 = new EditorButtonImageOptions(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); + gridControl1 = new DevExpress.XtraGrid.GridControl(); + setSchemeParterRecordBindingSource = new BindingSource(components); + gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + colCode = new DevExpress.XtraGrid.Columns.GridColumn(); + colName = new DevExpress.XtraGrid.Columns.GridColumn(); + colBeforeDbId = new DevExpress.XtraGrid.Columns.GridColumn(); + colAfterDbId = new DevExpress.XtraGrid.Columns.GridColumn(); + colBeforeCurveId = new DevExpress.XtraGrid.Columns.GridColumn(); + colAfterCurveId = new DevExpress.XtraGrid.Columns.GridColumn(); + colDelete = new DevExpress.XtraGrid.Columns.GridColumn(); + repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); - barCek = new DevExpress.XtraBars.BarCheckItem(); - ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); - ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); + repositoryItemTextEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); + repositoryItemTextEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); sidePanel3dModel = new SidePanel(); - flyoutPanel1 = new DevExpress.Utils.FlyoutPanel(); - flyoutPanelControl1 = new DevExpress.Utils.FlyoutPanelControl(); - sidePanelModelDetail = new SidePanel(); tabPane1 = new DevExpress.XtraBars.Navigation.TabPane(); tabPagePump = new DevExpress.XtraBars.Navigation.TabNavigationPage(); setSchemePumpListCtrl1 = new SetSchemePumpListCtrl(); @@ -47,263 +63,129 @@ tabPagePipe = new DevExpress.XtraBars.Navigation.TabNavigationPage(); setSchemePipeListCtrl1 = new SetSchemePipeListCtrl(); panelContainer1 = new DevExpress.XtraBars.Docking.DockPanel(); - dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); - dockPanelChangeRecord = new DevExpress.XtraBars.Docking.DockPanel(); - dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); - gridControl1 = new DevExpress.XtraGrid.GridControl(); - gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); - setSchemeParterRecordBindingSource = new BindingSource(components); - colCode = new DevExpress.XtraGrid.Columns.GridColumn(); - colName = new DevExpress.XtraGrid.Columns.GridColumn(); - colBeforeDbId = new DevExpress.XtraGrid.Columns.GridColumn(); - colAfterDbId = new DevExpress.XtraGrid.Columns.GridColumn(); - colBeforeCurveId = new DevExpress.XtraGrid.Columns.GridColumn(); - colAfterCurveId = new DevExpress.XtraGrid.Columns.GridColumn(); + gridControl2 = new DevExpress.XtraGrid.GridControl(); + setSchemeParterRecordItemBindingSource = new BindingSource(components); gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); colName1 = new DevExpress.XtraGrid.Columns.GridColumn(); - colRawValue = new DevExpress.XtraGrid.Columns.GridColumn(); - colCurrentValue = new DevExpress.XtraGrid.Columns.GridColumn(); + colAfterValue = new DevExpress.XtraGrid.Columns.GridColumn(); + colBeforeValue = new DevExpress.XtraGrid.Columns.GridColumn(); + dockManager1 = new DevExpress.XtraBars.Docking.DockManager(components); + dockPanelMenu = new DevExpress.XtraBars.Docking.DockPanel(); + controlContainer1 = new DevExpress.XtraBars.Docking.ControlContainer(); + layoutControl3 = new DevExpress.XtraLayout.LayoutControl(); + buttonEdit = new ButtonEdit(); + layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); + emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); + dockPanel5 = new DevExpress.XtraBars.Docking.DockPanel(); + dockPanelChangeRecord = new DevExpress.XtraBars.Docking.DockPanel(); + dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); + layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); + Root = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + dockPanelScheme = new DevExpress.XtraBars.Docking.DockPanel(); + dockPanel3_Container = new DevExpress.XtraBars.Docking.ControlContainer(); + layoutControl2 = new DevExpress.XtraLayout.LayoutControl(); + setFlagsEditCtrl1 = new SetFlagsEditCtrl(); + imgCmbSchemeType = new ImageComboBoxEdit(); + txtNo = new TextEdit(); + txtName = new TextEdit(); + btnSave = new SimpleButton(); + memoDescription = new MemoEdit(); + layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); + layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); + dockPanelParterList = new DevExpress.XtraBars.Docking.DockPanel(); + dockPanel2_Container = new DevExpress.XtraBars.Docking.ControlContainer(); + dxErrorProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider(components); + layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); + ((ISupportInitialize)gridControl1).BeginInit(); + ((ISupportInitialize)setSchemeParterRecordBindingSource).BeginInit(); + ((ISupportInitialize)gridView1).BeginInit(); + ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); ((ISupportInitialize)ribbon).BeginInit(); - sidePanel3dModel.SuspendLayout(); - ((ISupportInitialize)flyoutPanel1).BeginInit(); - flyoutPanel1.SuspendLayout(); - ((ISupportInitialize)flyoutPanelControl1).BeginInit(); - flyoutPanelControl1.SuspendLayout(); - sidePanelModelDetail.SuspendLayout(); + ((ISupportInitialize)repositoryItemTextEdit1).BeginInit(); + ((ISupportInitialize)repositoryItemTextEdit2).BeginInit(); ((ISupportInitialize)tabPane1).BeginInit(); tabPane1.SuspendLayout(); tabPagePump.SuspendLayout(); tabPageValve.SuspendLayout(); tabPagePipe.SuspendLayout(); + ((ISupportInitialize)gridControl2).BeginInit(); + ((ISupportInitialize)setSchemeParterRecordItemBindingSource).BeginInit(); + ((ISupportInitialize)gridView2).BeginInit(); ((ISupportInitialize)dockManager1).BeginInit(); + dockPanelMenu.SuspendLayout(); + controlContainer1.SuspendLayout(); + ((ISupportInitialize)layoutControl3).BeginInit(); + layoutControl3.SuspendLayout(); + ((ISupportInitialize)buttonEdit.Properties).BeginInit(); + ((ISupportInitialize)layoutControlGroup4).BeginInit(); + ((ISupportInitialize)layoutControlItem6).BeginInit(); + ((ISupportInitialize)emptySpaceItem1).BeginInit(); + dockPanel5.SuspendLayout(); dockPanelChangeRecord.SuspendLayout(); dockPanel1_Container.SuspendLayout(); - ((ISupportInitialize)gridControl1).BeginInit(); - ((ISupportInitialize)gridView1).BeginInit(); - ((ISupportInitialize)setSchemeParterRecordBindingSource).BeginInit(); - ((ISupportInitialize)gridView2).BeginInit(); + ((ISupportInitialize)layoutControl1).BeginInit(); + layoutControl1.SuspendLayout(); + ((ISupportInitialize)Root).BeginInit(); + ((ISupportInitialize)layoutControlGroup1).BeginInit(); + ((ISupportInitialize)layoutControlItem1).BeginInit(); + ((ISupportInitialize)layoutControlGroup2).BeginInit(); + ((ISupportInitialize)layoutControlItem2).BeginInit(); + dockPanelScheme.SuspendLayout(); + dockPanel3_Container.SuspendLayout(); + ((ISupportInitialize)layoutControl2).BeginInit(); + layoutControl2.SuspendLayout(); + ((ISupportInitialize)imgCmbSchemeType.Properties).BeginInit(); + ((ISupportInitialize)txtNo.Properties).BeginInit(); + ((ISupportInitialize)txtName.Properties).BeginInit(); + ((ISupportInitialize)memoDescription.Properties).BeginInit(); + ((ISupportInitialize)layoutControlGroup3).BeginInit(); + ((ISupportInitialize)layoutControlItem5).BeginInit(); + ((ISupportInitialize)layoutControlItem13).BeginInit(); + ((ISupportInitialize)layoutControlItem14).BeginInit(); + ((ISupportInitialize)layoutControlItem12).BeginInit(); + ((ISupportInitialize)layoutControlItem3).BeginInit(); + ((ISupportInitialize)layoutControlItem11).BeginInit(); + dockPanelParterList.SuspendLayout(); + dockPanel2_Container.SuspendLayout(); + ((ISupportInitialize)dxErrorProvider1).BeginInit(); + ((ISupportInitialize)layoutControlItem9).BeginInit(); + ((ISupportInitialize)layoutControlItem10).BeginInit(); SuspendLayout(); - // - // ribbon - // - ribbon.ExpandCollapseItem.Id = 0; - ribbon.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; - ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbon.ExpandCollapseItem, barCek }); - ribbon.Location = new Point(0, 0); - ribbon.MaxItemId = 7; - ribbon.Name = "ribbon"; - ribbon.OptionsExpandCollapseMenu.EnableExpandCollapseMenu = DevExpress.Utils.DefaultBoolean.False; - ribbon.OptionsExpandCollapseMenu.ShowQuickAccessToolbarItem = DevExpress.Utils.DefaultBoolean.False; - ribbon.OptionsExpandCollapseMenu.ShowRibbonGroup = DevExpress.Utils.DefaultBoolean.False; - ribbon.OptionsExpandCollapseMenu.ShowRibbonLayoutGroup = DevExpress.Utils.DefaultBoolean.False; - ribbon.OptionsTouch.TouchUI = DevExpress.Utils.DefaultBoolean.False; - ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { ribbonPage1 }); - ribbon.RibbonCaptionAlignment = DevExpress.XtraBars.Ribbon.RibbonCaptionAlignment.Left; - ribbon.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.TabletOffice; - ribbon.SearchItemPosition = DevExpress.XtraBars.Ribbon.SearchItemPosition.None; - ribbon.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; - ribbon.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; - ribbon.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; - ribbon.ShowMoreCommandsButton = DevExpress.Utils.DefaultBoolean.False; - ribbon.ShowPageHeadersInFormCaption = DevExpress.Utils.DefaultBoolean.False; - ribbon.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; - ribbon.ShowQatLocationSelector = false; - ribbon.ShowToolbarCustomizeItem = false; - ribbon.Size = new Size(1569, 85); - ribbon.Toolbar.ShowCustomizeItem = false; - // - // barCek - // - barCek.Caption = "鎿嶄綔闈㈡澘"; - barCek.Id = 5; - barCek.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("barCek.ImageOptions.SvgImage"); - barCek.Name = "barCek"; - barCek.CheckedChanged += barCek_CheckedChanged; - // - // ribbonPage1 - // - ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { ribbonPageGroup1 }); - ribbonPage1.Name = "ribbonPage1"; - ribbonPage1.Text = "ribbonPage1"; - // - // ribbonPageGroup1 - // - ribbonPageGroup1.ItemLinks.Add(barCek); - ribbonPageGroup1.Name = "ribbonPageGroup1"; - ribbonPageGroup1.Text = "ribbonPageGroup1"; - // - // sidePanel3dModel - // - sidePanel3dModel.Controls.Add(flyoutPanel1); - sidePanel3dModel.Dock = DockStyle.Fill; - sidePanel3dModel.Location = new Point(0, 85); - sidePanel3dModel.Name = "sidePanel3dModel"; - sidePanel3dModel.Size = new Size(1207, 1019); - sidePanel3dModel.TabIndex = 2; - sidePanel3dModel.Text = "sidePanel2"; - // - // flyoutPanel1 - // - flyoutPanel1.Controls.Add(flyoutPanelControl1); - flyoutPanel1.Location = new Point(12, 496); - flyoutPanel1.Name = "flyoutPanel1"; - flyoutPanel1.Options.AnchorType = DevExpress.Utils.Win.PopupToolWindowAnchor.Bottom; - flyoutPanel1.Options.AnimationType = DevExpress.Utils.Win.PopupToolWindowAnimation.Fade; - flyoutPanel1.OwnerControl = sidePanel3dModel; - flyoutPanel1.ParentForm = this; - flyoutPanel1.Size = new Size(981, 422); - flyoutPanel1.TabIndex = 0; - // - // flyoutPanelControl1 - // - flyoutPanelControl1.Controls.Add(sidePanelModelDetail); - flyoutPanelControl1.Dock = DockStyle.Fill; - flyoutPanelControl1.FlyoutPanel = flyoutPanel1; - flyoutPanelControl1.Location = new Point(0, 0); - flyoutPanelControl1.Name = "flyoutPanelControl1"; - flyoutPanelControl1.Size = new Size(981, 422); - flyoutPanelControl1.TabIndex = 0; - // - // sidePanelModelDetail - // - sidePanelModelDetail.Controls.Add(tabPane1); - sidePanelModelDetail.Dock = DockStyle.Fill; - sidePanelModelDetail.Location = new Point(2, 2); - sidePanelModelDetail.Name = "sidePanelModelDetail"; - sidePanelModelDetail.Size = new Size(977, 418); - sidePanelModelDetail.TabIndex = 0; - sidePanelModelDetail.Text = "sidePanel1"; - // - // tabPane1 - // - tabPane1.Controls.Add(tabPagePump); - tabPane1.Controls.Add(tabPageValve); - tabPane1.Controls.Add(tabPagePipe); - tabPane1.Dock = DockStyle.Fill; - tabPane1.Location = new Point(0, 0); - tabPane1.Name = "tabPane1"; - tabPane1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] { tabPagePump, tabPageValve, tabPagePipe }); - tabPane1.RegularSize = new Size(977, 418); - tabPane1.SelectedPage = tabPagePump; - tabPane1.Size = new Size(977, 418); - tabPane1.TabIndex = 0; - tabPane1.Text = "tabPane1"; - // - // tabPagePump - // - tabPagePump.Caption = "姘存车"; - tabPagePump.Controls.Add(setSchemePumpListCtrl1); - tabPagePump.Name = "tabPagePump"; - tabPagePump.Size = new Size(977, 369); - // - // setSchemePumpListCtrl1 - // - setSchemePumpListCtrl1.Dock = DockStyle.Fill; - setSchemePumpListCtrl1.Location = new Point(0, 0); - setSchemePumpListCtrl1.Margin = new Padding(4, 5, 4, 5); - setSchemePumpListCtrl1.Name = "setSchemePumpListCtrl1"; - setSchemePumpListCtrl1.Size = new Size(977, 369); - setSchemePumpListCtrl1.TabIndex = 0; - // - // tabPageValve - // - tabPageValve.Caption = "闃�闂�"; - tabPageValve.Controls.Add(setSchemeValveListCtrl1); - tabPageValve.Name = "tabPageValve"; - tabPageValve.Size = new Size(977, 369); - // - // setSchemeValveListCtrl1 - // - setSchemeValveListCtrl1.Dock = DockStyle.Fill; - setSchemeValveListCtrl1.Location = new Point(0, 0); - setSchemeValveListCtrl1.Margin = new Padding(4, 5, 4, 5); - setSchemeValveListCtrl1.Name = "setSchemeValveListCtrl1"; - setSchemeValveListCtrl1.Size = new Size(977, 369); - setSchemeValveListCtrl1.TabIndex = 2; - // - // tabPagePipe - // - tabPagePipe.Caption = "绠¤矾"; - tabPagePipe.Controls.Add(setSchemePipeListCtrl1); - tabPagePipe.Name = "tabPagePipe"; - tabPagePipe.Size = new Size(977, 369); - // - // setSchemePipeListCtrl1 - // - setSchemePipeListCtrl1.Dock = DockStyle.Fill; - setSchemePipeListCtrl1.Location = new Point(0, 0); - setSchemePipeListCtrl1.Margin = new Padding(4, 5, 4, 5); - setSchemePipeListCtrl1.Name = "setSchemePipeListCtrl1"; - setSchemePipeListCtrl1.Size = new Size(977, 369); - setSchemePipeListCtrl1.TabIndex = 1; - // - // panelContainer1 - // - panelContainer1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; - panelContainer1.DockedAsTabbedDocument = true; - panelContainer1.ID = new Guid("69c11a8a-862c-4240-930a-ff3d90593b2b"); - panelContainer1.Location = new Point(0, 0); - panelContainer1.Name = "panelContainer1"; - panelContainer1.OriginalSize = new Size(200, 200); - panelContainer1.Size = new Size(1526, 527); - panelContainer1.TabsPosition = DevExpress.XtraBars.Docking.TabsPosition.Top; - panelContainer1.Text = "panelContainer1"; - // - // dockManager1 - // - dockManager1.DockingOptions.AllowDockToCenter = DevExpress.Utils.DefaultBoolean.False; - dockManager1.DockingOptions.ShowAutoHideButton = false; - dockManager1.DockingOptions.ShowCloseButton = false; - dockManager1.DockingOptions.ShowMaximizeButton = false; - dockManager1.DockingOptions.ShowMinimizeButton = false; - dockManager1.Form = this; - dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanelChangeRecord }); - dockManager1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; - dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl" }); - // - // dockPanelChangeRecord - // - dockPanelChangeRecord.Controls.Add(dockPanel1_Container); - dockPanelChangeRecord.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; - dockPanelChangeRecord.ID = new Guid("db2d9112-867d-44f8-9169-a120583942ad"); - dockPanelChangeRecord.Location = new Point(1207, 85); - dockPanelChangeRecord.Name = "dockPanelChangeRecord"; - dockPanelChangeRecord.OriginalSize = new Size(362, 200); - dockPanelChangeRecord.Size = new Size(362, 1019); - dockPanelChangeRecord.Text = "鍙樻洿璁板綍"; - // - // dockPanel1_Container - // - dockPanel1_Container.Controls.Add(gridControl1); - dockPanel1_Container.Location = new Point(1, 34); - dockPanel1_Container.Name = "dockPanel1_Container"; - dockPanel1_Container.Size = new Size(361, 985); - dockPanel1_Container.TabIndex = 0; // // gridControl1 // gridControl1.DataSource = setSchemeParterRecordBindingSource; - gridControl1.Dock = DockStyle.Fill; - gridLevelNode1.LevelTemplate = gridView2; - gridLevelNode1.RelationName = "Items"; - gridControl1.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] { gridLevelNode1 }); - gridControl1.Location = new Point(0, 0); + gridControl1.Location = new Point(0, 33); gridControl1.MainView = gridView1; gridControl1.MenuManager = ribbon; gridControl1.Name = "gridControl1"; - gridControl1.Size = new Size(361, 985); + gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); + gridControl1.Size = new Size(393, 421); gridControl1.TabIndex = 0; - gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1, gridView2 }); - // - // gridView1 - // - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colCode, colName, colBeforeDbId, colAfterDbId, colBeforeCurveId, colAfterCurveId }); - gridView1.GridControl = gridControl1; - gridView1.Name = "gridView1"; + gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // // setSchemeParterRecordBindingSource // setSchemeParterRecordBindingSource.DataSource = typeof(SetSchemeParterRecord); + // + // gridView1 + // + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colCode, colName, colBeforeDbId, colAfterDbId, colBeforeCurveId, colAfterCurveId, colDelete }); + gridView1.GridControl = gridControl1; + gridView1.Name = "gridView1"; + gridView1.RowCellClick += gridView1_RowCellClick; + gridView1.FocusedRowChanged += gridView1_FocusedRowChanged; // // colCode // @@ -353,15 +235,171 @@ colAfterCurveId.Name = "colAfterCurveId"; colAfterCurveId.Width = 112; // + // colDelete + // + colDelete.Caption = "鍒犻櫎"; + colDelete.ColumnEdit = repositoryItemButtonEdit1; + colDelete.MaxWidth = 60; + colDelete.MinWidth = 60; + colDelete.Name = "colDelete"; + colDelete.Visible = true; + colDelete.VisibleIndex = 2; + colDelete.Width = 60; + // + // repositoryItemButtonEdit1 + // + repositoryItemButtonEdit1.AutoHeight = false; + editorButtonImageOptions1.EnableTransparency = false; + editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); + editorButtonImageOptions1.SvgImageSize = new Size(20, 20); + repositoryItemButtonEdit1.Buttons.AddRange(new EditorButton[] { new EditorButton(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 = TextEditStyles.HideTextEditor; + // + // ribbon + // + ribbon.ExpandCollapseItem.Id = 0; + ribbon.ItemPanelStyle = DevExpress.XtraBars.Ribbon.RibbonItemPanelStyle.Classic; + ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { ribbon.ExpandCollapseItem }); + ribbon.Location = new Point(0, 0); + ribbon.MaxItemId = 19; + ribbon.Name = "ribbon"; + ribbon.OptionsExpandCollapseMenu.EnableExpandCollapseMenu = DevExpress.Utils.DefaultBoolean.False; + ribbon.OptionsExpandCollapseMenu.ShowQuickAccessToolbarItem = DevExpress.Utils.DefaultBoolean.False; + ribbon.OptionsExpandCollapseMenu.ShowRibbonGroup = DevExpress.Utils.DefaultBoolean.False; + ribbon.OptionsExpandCollapseMenu.ShowRibbonLayoutGroup = DevExpress.Utils.DefaultBoolean.False; + ribbon.OptionsTouch.TouchUI = DevExpress.Utils.DefaultBoolean.False; + ribbon.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemTextEdit1, repositoryItemTextEdit2 }); + ribbon.RibbonCaptionAlignment = DevExpress.XtraBars.Ribbon.RibbonCaptionAlignment.Left; + ribbon.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.TabletOffice; + ribbon.SearchItemPosition = DevExpress.XtraBars.Ribbon.SearchItemPosition.None; + ribbon.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; + ribbon.ShowDisplayOptionsMenuButton = DevExpress.Utils.DefaultBoolean.False; + ribbon.ShowExpandCollapseButton = DevExpress.Utils.DefaultBoolean.False; + ribbon.ShowMoreCommandsButton = DevExpress.Utils.DefaultBoolean.False; + ribbon.ShowPageHeadersInFormCaption = DevExpress.Utils.DefaultBoolean.False; + ribbon.ShowPageHeadersMode = DevExpress.XtraBars.Ribbon.ShowPageHeadersMode.Hide; + ribbon.ShowQatLocationSelector = false; + ribbon.ShowToolbarCustomizeItem = false; + ribbon.Size = new Size(1569, 48); + ribbon.Toolbar.ShowCustomizeItem = false; + // + // repositoryItemTextEdit1 + // + repositoryItemTextEdit1.AutoHeight = false; + repositoryItemTextEdit1.Name = "repositoryItemTextEdit1"; + // + // repositoryItemTextEdit2 + // + repositoryItemTextEdit2.AutoHeight = false; + repositoryItemTextEdit2.Name = "repositoryItemTextEdit2"; + // + // sidePanel3dModel + // + sidePanel3dModel.Dock = DockStyle.Fill; + sidePanel3dModel.Location = new Point(0, 142); + sidePanel3dModel.Name = "sidePanel3dModel"; + sidePanel3dModel.Size = new Size(1175, 615); + sidePanel3dModel.TabIndex = 2; + sidePanel3dModel.Text = "sidePanel2"; + // + // tabPane1 + // + tabPane1.Controls.Add(tabPagePump); + tabPane1.Controls.Add(tabPageValve); + tabPane1.Controls.Add(tabPagePipe); + tabPane1.Dock = DockStyle.Fill; + tabPane1.Location = new Point(0, 0); + tabPane1.Name = "tabPane1"; + tabPane1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] { tabPagePump, tabPageValve, tabPagePipe }); + tabPane1.RegularSize = new Size(1175, 312); + tabPane1.SelectedPage = tabPagePump; + tabPane1.Size = new Size(1175, 312); + tabPane1.TabIndex = 0; + tabPane1.Text = "tabPane1"; + // + // tabPagePump + // + tabPagePump.Caption = "姘存车"; + tabPagePump.Controls.Add(setSchemePumpListCtrl1); + tabPagePump.Name = "tabPagePump"; + tabPagePump.Size = new Size(1175, 263); + // + // setSchemePumpListCtrl1 + // + setSchemePumpListCtrl1.Dock = DockStyle.Fill; + setSchemePumpListCtrl1.Location = new Point(0, 0); + setSchemePumpListCtrl1.Margin = new Padding(4, 5, 4, 5); + setSchemePumpListCtrl1.Name = "setSchemePumpListCtrl1"; + setSchemePumpListCtrl1.Size = new Size(1175, 263); + setSchemePumpListCtrl1.TabIndex = 0; + // + // tabPageValve + // + tabPageValve.Caption = "闃�闂�"; + tabPageValve.Controls.Add(setSchemeValveListCtrl1); + tabPageValve.Name = "tabPageValve"; + tabPageValve.Size = new Size(977, 384); + // + // setSchemeValveListCtrl1 + // + setSchemeValveListCtrl1.Dock = DockStyle.Fill; + setSchemeValveListCtrl1.Location = new Point(0, 0); + setSchemeValveListCtrl1.Margin = new Padding(4, 5, 4, 5); + setSchemeValveListCtrl1.Name = "setSchemeValveListCtrl1"; + setSchemeValveListCtrl1.Size = new Size(977, 384); + setSchemeValveListCtrl1.TabIndex = 2; + // + // tabPagePipe + // + tabPagePipe.Caption = "绠¤矾"; + tabPagePipe.Controls.Add(setSchemePipeListCtrl1); + tabPagePipe.Name = "tabPagePipe"; + tabPagePipe.Size = new Size(977, 384); + // + // setSchemePipeListCtrl1 + // + setSchemePipeListCtrl1.Dock = DockStyle.Fill; + setSchemePipeListCtrl1.Location = new Point(0, 0); + setSchemePipeListCtrl1.Margin = new Padding(4, 5, 4, 5); + setSchemePipeListCtrl1.Name = "setSchemePipeListCtrl1"; + setSchemePipeListCtrl1.Size = new Size(977, 384); + setSchemePipeListCtrl1.TabIndex = 1; + // + // panelContainer1 + // + panelContainer1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Float; + panelContainer1.DockedAsTabbedDocument = true; + panelContainer1.ID = new Guid("69c11a8a-862c-4240-930a-ff3d90593b2b"); + panelContainer1.Location = new Point(0, 0); + panelContainer1.Name = "panelContainer1"; + panelContainer1.OriginalSize = new Size(200, 200); + panelContainer1.Size = new Size(200, 200); + panelContainer1.Text = "panelContainer1"; + // + // gridControl2 + // + gridControl2.DataSource = setSchemeParterRecordItemBindingSource; + gridControl2.Location = new Point(0, 487); + gridControl2.MainView = gridView2; + gridControl2.MenuManager = ribbon; + gridControl2.Name = "gridControl2"; + gridControl2.Size = new Size(393, 230); + gridControl2.TabIndex = 0; + gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView2 }); + // + // setSchemeParterRecordItemBindingSource + // + setSchemeParterRecordItemBindingSource.DataSource = typeof(SetSchemeParterRecordItem); + // // gridView2 // - gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName1, colRawValue, colCurrentValue }); - gridView2.GridControl = gridControl1; + gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName1, colAfterValue, colBeforeValue }); + gridView2.GridControl = gridControl2; gridView2.Name = "gridView2"; // // colName1 // - colName1.Caption = "灞炴��"; colName1.FieldName = "Name"; colName1.MinWidth = 30; colName1.Name = "colName1"; @@ -369,25 +407,425 @@ colName1.VisibleIndex = 0; colName1.Width = 112; // - // colRawValue + // colAfterValue // - colRawValue.Caption = "鍙樻洿鍓�"; - colRawValue.FieldName = "RawValue"; - colRawValue.MinWidth = 30; - colRawValue.Name = "colRawValue"; - colRawValue.Visible = true; - colRawValue.VisibleIndex = 1; - colRawValue.Width = 112; + colAfterValue.Caption = "鍙樻洿鍓�"; + colAfterValue.FieldName = "AfterValue"; + colAfterValue.MinWidth = 30; + colAfterValue.Name = "colAfterValue"; + colAfterValue.Visible = true; + colAfterValue.VisibleIndex = 1; + colAfterValue.Width = 112; // - // colCurrentValue + // colBeforeValue // - colCurrentValue.Caption = "鍙樻洿鍚�"; - colCurrentValue.FieldName = "CurrentValue"; - colCurrentValue.MinWidth = 30; - colCurrentValue.Name = "colCurrentValue"; - colCurrentValue.Visible = true; - colCurrentValue.VisibleIndex = 2; - colCurrentValue.Width = 112; + colBeforeValue.Caption = "鍙樻洿鍚�"; + colBeforeValue.FieldName = "BeforeValue"; + colBeforeValue.MinWidth = 30; + colBeforeValue.Name = "colBeforeValue"; + colBeforeValue.Visible = true; + colBeforeValue.VisibleIndex = 2; + colBeforeValue.Width = 112; + // + // dockManager1 + // + dockManager1.DockingOptions.ShowAutoHideButton = false; + dockManager1.DockingOptions.ShowCloseButton = false; + dockManager1.DockingOptions.ShowMaximizeButton = false; + dockManager1.DockingOptions.ShowMinimizeButton = false; + dockManager1.Form = this; + dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { dockPanelMenu, dockPanel5, dockPanelParterList }); + dockManager1.Style = DevExpress.XtraBars.Docking2010.Views.DockingViewStyle.Light; + dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "DevExpress.XtraBars.StandaloneBarDockControl", "System.Windows.Forms.MenuStrip", "System.Windows.Forms.StatusStrip", "System.Windows.Forms.StatusBar", "DevExpress.XtraBars.Ribbon.RibbonStatusBar", "DevExpress.XtraBars.Ribbon.RibbonControl", "DevExpress.XtraBars.Navigation.OfficeNavigationBar", "DevExpress.XtraBars.Navigation.TileNavPane", "DevExpress.XtraBars.TabFormControl", "DevExpress.XtraBars.FluentDesignSystem.FluentDesignFormControl", "DevExpress.XtraBars.ToolbarForm.ToolbarFormControl" }); + // + // dockPanelMenu + // + dockPanelMenu.Controls.Add(controlContainer1); + dockPanelMenu.Dock = DevExpress.XtraBars.Docking.DockingStyle.Top; + dockPanelMenu.FloatVertical = true; + dockPanelMenu.ID = new Guid("1bb3525e-4915-41ae-84bf-f32262890542"); + dockPanelMenu.Location = new Point(0, 48); + dockPanelMenu.Name = "dockPanelMenu"; + dockPanelMenu.OriginalSize = new Size(200, 94); + dockPanelMenu.Size = new Size(1569, 94); + dockPanelMenu.Text = "鑿滃崟"; + // + // controlContainer1 + // + controlContainer1.Controls.Add(layoutControl3); + controlContainer1.Location = new Point(0, 34); + controlContainer1.Name = "controlContainer1"; + controlContainer1.Size = new Size(1569, 59); + controlContainer1.TabIndex = 0; + // + // layoutControl3 + // + layoutControl3.Controls.Add(buttonEdit); + layoutControl3.Dock = DockStyle.Fill; + layoutControl3.Location = new Point(0, 0); + layoutControl3.Name = "layoutControl3"; + layoutControl3.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(724, 181, 975, 600); + layoutControl3.Root = layoutControlGroup4; + layoutControl3.Size = new Size(1569, 59); + layoutControl3.TabIndex = 0; + layoutControl3.Text = "layoutControl3"; + // + // buttonEdit + // + buttonEdit.Location = new Point(12, 12); + buttonEdit.MenuManager = ribbon; + buttonEdit.Name = "buttonEdit"; + editorButtonImageOptions2.Location = ImageLocation.MiddleLeft; + editorButtonImageOptions2.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions2.SvgImage"); + editorButtonImageOptions2.SvgImageSize = new Size(18, 18); + buttonEdit.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Glyph, "涓�閿樉闅�", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", "showhide", null, DevExpress.Utils.ToolTipAnchor.Default) }); + buttonEdit.Properties.TextEditStyle = TextEditStyles.HideTextEditor; + buttonEdit.Size = new Size(144, 37); + buttonEdit.StyleController = layoutControl3; + buttonEdit.TabIndex = 0; + buttonEdit.ButtonClick += buttonEdit_ButtonClick; + // + // layoutControlGroup4 + // + layoutControlGroup4.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + layoutControlGroup4.GroupBordersVisible = false; + layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem6, emptySpaceItem1 }); + layoutControlGroup4.Name = "Root"; + layoutControlGroup4.Size = new Size(1543, 61); + layoutControlGroup4.TextVisible = false; + // + // layoutControlItem6 + // + layoutControlItem6.ContentHorzAlignment = DevExpress.Utils.HorzAlignment.Center; + layoutControlItem6.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; + layoutControlItem6.Control = buttonEdit; + layoutControlItem6.HighlightFocusedItem = DevExpress.Utils.DefaultBoolean.False; + layoutControlItem6.Location = new Point(0, 0); + layoutControlItem6.Name = "layoutControlItem6"; + layoutControlItem6.Size = new Size(148, 41); + layoutControlItem6.TextSize = new Size(0, 0); + layoutControlItem6.TextVisible = false; + // + // emptySpaceItem1 + // + emptySpaceItem1.AllowHotTrack = false; + emptySpaceItem1.Location = new Point(148, 0); + emptySpaceItem1.Name = "emptySpaceItem1"; + emptySpaceItem1.Size = new Size(1375, 41); + emptySpaceItem1.TextSize = new Size(0, 0); + // + // dockPanel5 + // + dockPanel5.Controls.Add(dockPanelChangeRecord); + dockPanel5.Controls.Add(dockPanelScheme); + dockPanel5.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; + dockPanel5.ID = new Guid("4f9140be-dc44-4cc6-9924-d22c117f4a97"); + dockPanel5.Location = new Point(1175, 142); + dockPanel5.Name = "dockPanel5"; + dockPanel5.OriginalSize = new Size(394, 200); + dockPanel5.Size = new Size(394, 962); + dockPanel5.Text = "panelContainer1"; + // + // dockPanelChangeRecord + // + dockPanelChangeRecord.Controls.Add(dockPanel1_Container); + dockPanelChangeRecord.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; + dockPanelChangeRecord.ID = new Guid("2c97b548-e9c5-4899-b8e1-203e6decf6f7"); + dockPanelChangeRecord.Location = new Point(0, 0); + dockPanelChangeRecord.Name = "dockPanelChangeRecord"; + dockPanelChangeRecord.OriginalSize = new Size(394, 309); + dockPanelChangeRecord.Size = new Size(394, 751); + dockPanelChangeRecord.Text = "鍙樻洿璁板綍"; + // + // dockPanel1_Container + // + dockPanel1_Container.Controls.Add(layoutControl1); + dockPanel1_Container.Location = new Point(1, 34); + dockPanel1_Container.Name = "dockPanel1_Container"; + dockPanel1_Container.Size = new Size(393, 717); + dockPanel1_Container.TabIndex = 0; + // + // layoutControl1 + // + layoutControl1.Controls.Add(gridControl2); + layoutControl1.Controls.Add(gridControl1); + layoutControl1.Dock = DockStyle.Fill; + layoutControl1.Location = new Point(0, 0); + layoutControl1.Name = "layoutControl1"; + layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(565, 389, 975, 600); + layoutControl1.Root = Root; + layoutControl1.Size = new Size(393, 717); + layoutControl1.TabIndex = 0; + layoutControl1.Text = "layoutControl1"; + // + // Root + // + Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + Root.GroupBordersVisible = false; + Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlGroup1, layoutControlGroup2 }); + Root.Name = "Root"; + Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + Root.Size = new Size(393, 717); + Root.TextVisible = false; + // + // layoutControlGroup1 + // + layoutControlGroup1.ExpandButtonVisible = true; + layoutControlGroup1.GroupStyle = DevExpress.Utils.GroupStyle.Title; + layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1 }); + layoutControlGroup1.Location = new Point(0, 0); + layoutControlGroup1.Name = "layoutControlGroup1"; + layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + layoutControlGroup1.ShowInCustomizationForm = false; + layoutControlGroup1.Size = new Size(393, 454); + layoutControlGroup1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + layoutControlGroup1.Text = "璁板綍鍒楄〃"; + // + // layoutControlItem1 + // + layoutControlItem1.Control = gridControl1; + layoutControlItem1.HighlightFocusedItem = DevExpress.Utils.DefaultBoolean.True; + layoutControlItem1.Location = new Point(0, 0); + layoutControlItem1.Name = "layoutControlItem1"; + layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + layoutControlItem1.Size = new Size(393, 421); + layoutControlItem1.TextSize = new Size(0, 0); + layoutControlItem1.TextVisible = false; + // + // layoutControlGroup2 + // + layoutControlGroup2.ExpandButtonVisible = true; + layoutControlGroup2.GroupStyle = DevExpress.Utils.GroupStyle.Title; + layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem2 }); + layoutControlGroup2.Location = new Point(0, 454); + layoutControlGroup2.Name = "layoutControlGroup2"; + layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + layoutControlGroup2.ShowInCustomizationForm = false; + layoutControlGroup2.Size = new Size(393, 263); + layoutControlGroup2.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + layoutControlGroup2.Text = "璁板綍璇︽儏"; + // + // layoutControlItem2 + // + layoutControlItem2.Control = gridControl2; + layoutControlItem2.HighlightFocusedItem = DevExpress.Utils.DefaultBoolean.True; + layoutControlItem2.Location = new Point(0, 0); + layoutControlItem2.Name = "layoutControlItem2"; + layoutControlItem2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + layoutControlItem2.Size = new Size(393, 230); + layoutControlItem2.TextSize = new Size(0, 0); + layoutControlItem2.TextVisible = false; + // + // dockPanelScheme + // + dockPanelScheme.Controls.Add(dockPanel3_Container); + dockPanelScheme.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; + dockPanelScheme.ID = new Guid("39552842-60b6-4e4d-b215-438810b7a737"); + dockPanelScheme.Location = new Point(0, 751); + dockPanelScheme.Name = "dockPanelScheme"; + dockPanelScheme.OriginalSize = new Size(394, 87); + dockPanelScheme.Size = new Size(394, 211); + dockPanelScheme.Text = "鏂规淇℃伅"; + // + // dockPanel3_Container + // + dockPanel3_Container.Controls.Add(layoutControl2); + dockPanel3_Container.Location = new Point(1, 35); + dockPanel3_Container.Name = "dockPanel3_Container"; + dockPanel3_Container.Size = new Size(393, 176); + dockPanel3_Container.TabIndex = 0; + // + // layoutControl2 + // + layoutControl2.Controls.Add(setFlagsEditCtrl1); + layoutControl2.Controls.Add(imgCmbSchemeType); + layoutControl2.Controls.Add(txtNo); + layoutControl2.Controls.Add(txtName); + layoutControl2.Controls.Add(btnSave); + layoutControl2.Controls.Add(memoDescription); + layoutControl2.Dock = DockStyle.Fill; + layoutControl2.Location = new Point(0, 0); + layoutControl2.Name = "layoutControl2"; + layoutControl2.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(71, 697, 975, 600); + layoutControl2.Root = layoutControlGroup3; + layoutControl2.Size = new Size(393, 176); + layoutControl2.TabIndex = 0; + layoutControl2.Text = "layoutControl2"; + // + // setFlagsEditCtrl1 + // + setFlagsEditCtrl1.Location = new Point(262, 44); + setFlagsEditCtrl1.Margin = new Padding(6, 8, 6, 8); + setFlagsEditCtrl1.Name = "setFlagsEditCtrl1"; + setFlagsEditCtrl1.Size = new Size(119, 28); + setFlagsEditCtrl1.TabIndex = 3; + // + // imgCmbSchemeType + // + imgCmbSchemeType.Location = new Point(76, 44); + imgCmbSchemeType.Margin = new Padding(4, 5, 4, 5); + imgCmbSchemeType.Name = "imgCmbSchemeType"; + imgCmbSchemeType.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) }); + imgCmbSchemeType.Size = new Size(118, 28); + imgCmbSchemeType.StyleController = layoutControl2; + imgCmbSchemeType.TabIndex = 4; + // + // txtNo + // + txtNo.Location = new Point(76, 12); + txtNo.Margin = new Padding(4, 5, 4, 5); + txtNo.Name = "txtNo"; + txtNo.Size = new Size(118, 28); + txtNo.StyleController = layoutControl2; + txtNo.TabIndex = 0; + // + // txtName + // + txtName.Location = new Point(262, 12); + txtName.Margin = new Padding(4, 5, 4, 5); + txtName.Name = "txtName"; + txtName.Size = new Size(119, 28); + txtName.StyleController = layoutControl2; + txtName.TabIndex = 2; + // + // btnSave + // + btnSave.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Question; + btnSave.Appearance.Options.UseBackColor = true; + btnSave.Location = new Point(120, 124); + btnSave.Name = "btnSave"; + btnSave.Size = new Size(153, 32); + btnSave.StyleController = layoutControl2; + btnSave.TabIndex = 6; + btnSave.Text = "淇濆瓨"; + btnSave.Click += btnSave_Click; + // + // memoDescription + // + memoDescription.Location = new Point(76, 76); + memoDescription.MenuManager = ribbon; + memoDescription.Name = "memoDescription"; + memoDescription.Properties.ScrollBars = ScrollBars.Horizontal; + memoDescription.Size = new Size(305, 36); + memoDescription.StyleController = layoutControl2; + memoDescription.TabIndex = 5; + // + // layoutControlGroup3 + // + layoutControlGroup3.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + layoutControlGroup3.GroupBordersVisible = false; + layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem5, layoutControlItem13, layoutControlItem14, layoutControlItem12, layoutControlItem3, layoutControlItem11 }); + layoutControlGroup3.Name = "Root"; + layoutControlGroup3.Size = new Size(393, 176); + layoutControlGroup3.TextVisible = false; + // + // layoutControlItem5 + // + layoutControlItem5.Control = btnSave; + layoutControlItem5.Location = new Point(0, 104); + layoutControlItem5.Name = "layoutControlItem5"; + layoutControlItem5.Padding = new DevExpress.XtraLayout.Utils.Padding(110, 110, 10, 10); + layoutControlItem5.Size = new Size(373, 52); + layoutControlItem5.TextSize = new Size(0, 0); + layoutControlItem5.TextVisible = false; + // + // layoutControlItem13 + // + layoutControlItem13.AppearanceItemCaption.Options.UseTextOptions = true; + layoutControlItem13.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; + layoutControlItem13.Control = txtNo; + layoutControlItem13.Location = new Point(0, 0); + layoutControlItem13.Name = "layoutControlItem13"; + layoutControlItem13.Size = new Size(186, 32); + layoutControlItem13.Text = "缂栫爜:"; + layoutControlItem13.TextSize = new Size(52, 22); + // + // layoutControlItem14 + // + layoutControlItem14.AllowHtmlStringInCaption = true; + layoutControlItem14.AppearanceItemCaption.Options.UseTextOptions = true; + layoutControlItem14.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; + layoutControlItem14.Control = txtName; + layoutControlItem14.Location = new Point(186, 0); + layoutControlItem14.Name = "layoutControlItem14"; + layoutControlItem14.Size = new Size(187, 32); + layoutControlItem14.Text = "<color=red>*</color>鍚嶇О:"; + layoutControlItem14.TextSize = new Size(52, 22); + // + // layoutControlItem12 + // + layoutControlItem12.AllowHtmlStringInCaption = true; + layoutControlItem12.AppearanceItemCaption.Options.UseTextOptions = true; + layoutControlItem12.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; + layoutControlItem12.Control = imgCmbSchemeType; + layoutControlItem12.Location = new Point(0, 32); + layoutControlItem12.Name = "layoutControlItem12"; + layoutControlItem12.Size = new Size(186, 32); + layoutControlItem12.Text = "<color=red>*</color>绫诲瀷:"; + layoutControlItem12.TextSize = new Size(52, 22); + // + // layoutControlItem3 + // + layoutControlItem3.AppearanceItemCaption.Options.UseTextOptions = true; + layoutControlItem3.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; + layoutControlItem3.Control = memoDescription; + layoutControlItem3.Location = new Point(0, 64); + layoutControlItem3.Name = "layoutControlItem3"; + layoutControlItem3.Size = new Size(373, 40); + layoutControlItem3.Text = "璇存槑:"; + layoutControlItem3.TextSize = new Size(52, 22); + // + // layoutControlItem11 + // + layoutControlItem11.AllowHtmlStringInCaption = true; + layoutControlItem11.AppearanceItemCaption.Options.UseTextOptions = true; + layoutControlItem11.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; + layoutControlItem11.Control = setFlagsEditCtrl1; + layoutControlItem11.Location = new Point(186, 32); + layoutControlItem11.Name = "layoutControlItem11"; + layoutControlItem11.Size = new Size(187, 32); + layoutControlItem11.Text = "鏍囩:"; + layoutControlItem11.TextSize = new Size(52, 22); + // + // dockPanelParterList + // + dockPanelParterList.Controls.Add(dockPanel2_Container); + dockPanelParterList.Dock = DevExpress.XtraBars.Docking.DockingStyle.Bottom; + dockPanelParterList.ID = new Guid("7be297a3-864b-4041-9aee-de9c1d1f1b52"); + dockPanelParterList.Location = new Point(0, 757); + dockPanelParterList.Name = "dockPanelParterList"; + dockPanelParterList.OriginalSize = new Size(200, 347); + dockPanelParterList.Size = new Size(1175, 347); + dockPanelParterList.Text = "鏋勫缓鍒楄〃"; + // + // dockPanel2_Container + // + dockPanel2_Container.Controls.Add(tabPane1); + dockPanel2_Container.Location = new Point(0, 35); + dockPanel2_Container.Name = "dockPanel2_Container"; + dockPanel2_Container.Size = new Size(1175, 312); + dockPanel2_Container.TabIndex = 0; + // + // dxErrorProvider1 + // + dxErrorProvider1.ContainerControl = this; + // + // layoutControlItem9 + // + layoutControlItem9.AllowHtmlStringInCaption = true; + layoutControlItem9.Location = new Point(0, 32); + layoutControlItem9.Name = "layoutControlItem3"; + layoutControlItem9.Size = new Size(421, 32); + layoutControlItem9.Text = "<color=red>*</color>绫诲瀷锛�"; + layoutControlItem9.TextSize = new Size(64, 22); + // + // layoutControlItem10 + // + layoutControlItem10.Location = new Point(421, 32); + layoutControlItem10.Name = "layoutControlItem4"; + layoutControlItem10.Size = new Size(423, 32); + layoutControlItem10.Text = "鏍囩锛�"; + layoutControlItem10.TextSize = new Size(64, 22); // // AddXhsSchemeDlg // @@ -395,31 +833,68 @@ AutoScaleMode = AutoScaleMode.Font; ClientSize = new Size(1569, 1104); Controls.Add(sidePanel3dModel); - Controls.Add(dockPanelChangeRecord); + Controls.Add(dockPanelParterList); + Controls.Add(dockPanel5); + Controls.Add(dockPanelMenu); Controls.Add(ribbon); Name = "AddXhsSchemeDlg"; Ribbon = ribbon; StartPosition = FormStartPosition.CenterScreen; Text = "鍒涘缓鏂规"; + ((ISupportInitialize)gridControl1).EndInit(); + ((ISupportInitialize)setSchemeParterRecordBindingSource).EndInit(); + ((ISupportInitialize)gridView1).EndInit(); + ((ISupportInitialize)repositoryItemButtonEdit1).EndInit(); ((ISupportInitialize)ribbon).EndInit(); - sidePanel3dModel.ResumeLayout(false); - ((ISupportInitialize)flyoutPanel1).EndInit(); - flyoutPanel1.ResumeLayout(false); - ((ISupportInitialize)flyoutPanelControl1).EndInit(); - flyoutPanelControl1.ResumeLayout(false); - sidePanelModelDetail.ResumeLayout(false); + ((ISupportInitialize)repositoryItemTextEdit1).EndInit(); + ((ISupportInitialize)repositoryItemTextEdit2).EndInit(); ((ISupportInitialize)tabPane1).EndInit(); tabPane1.ResumeLayout(false); tabPagePump.ResumeLayout(false); tabPageValve.ResumeLayout(false); tabPagePipe.ResumeLayout(false); + ((ISupportInitialize)gridControl2).EndInit(); + ((ISupportInitialize)setSchemeParterRecordItemBindingSource).EndInit(); + ((ISupportInitialize)gridView2).EndInit(); ((ISupportInitialize)dockManager1).EndInit(); + dockPanelMenu.ResumeLayout(false); + controlContainer1.ResumeLayout(false); + ((ISupportInitialize)layoutControl3).EndInit(); + layoutControl3.ResumeLayout(false); + ((ISupportInitialize)buttonEdit.Properties).EndInit(); + ((ISupportInitialize)layoutControlGroup4).EndInit(); + ((ISupportInitialize)layoutControlItem6).EndInit(); + ((ISupportInitialize)emptySpaceItem1).EndInit(); + dockPanel5.ResumeLayout(false); dockPanelChangeRecord.ResumeLayout(false); dockPanel1_Container.ResumeLayout(false); - ((ISupportInitialize)gridControl1).EndInit(); - ((ISupportInitialize)gridView1).EndInit(); - ((ISupportInitialize)setSchemeParterRecordBindingSource).EndInit(); - ((ISupportInitialize)gridView2).EndInit(); + ((ISupportInitialize)layoutControl1).EndInit(); + layoutControl1.ResumeLayout(false); + ((ISupportInitialize)Root).EndInit(); + ((ISupportInitialize)layoutControlGroup1).EndInit(); + ((ISupportInitialize)layoutControlItem1).EndInit(); + ((ISupportInitialize)layoutControlGroup2).EndInit(); + ((ISupportInitialize)layoutControlItem2).EndInit(); + dockPanelScheme.ResumeLayout(false); + dockPanel3_Container.ResumeLayout(false); + ((ISupportInitialize)layoutControl2).EndInit(); + layoutControl2.ResumeLayout(false); + ((ISupportInitialize)imgCmbSchemeType.Properties).EndInit(); + ((ISupportInitialize)txtNo.Properties).EndInit(); + ((ISupportInitialize)txtName.Properties).EndInit(); + ((ISupportInitialize)memoDescription.Properties).EndInit(); + ((ISupportInitialize)layoutControlGroup3).EndInit(); + ((ISupportInitialize)layoutControlItem5).EndInit(); + ((ISupportInitialize)layoutControlItem13).EndInit(); + ((ISupportInitialize)layoutControlItem14).EndInit(); + ((ISupportInitialize)layoutControlItem12).EndInit(); + ((ISupportInitialize)layoutControlItem3).EndInit(); + ((ISupportInitialize)layoutControlItem11).EndInit(); + dockPanelParterList.ResumeLayout(false); + dockPanel2_Container.ResumeLayout(false); + ((ISupportInitialize)dxErrorProvider1).EndInit(); + ((ISupportInitialize)layoutControlItem9).EndInit(); + ((ISupportInitialize)layoutControlItem10).EndInit(); ResumeLayout(false); PerformLayout(); } @@ -428,13 +903,7 @@ private DevExpress.XtraBars.Ribbon.RibbonControl ribbon; private SidePanel sidePanel3dModel; - private DevExpress.XtraBars.BarCheckItem barCek; - private DevExpress.XtraBars.Ribbon.RibbonPage ribbonPage1; - private DevExpress.XtraBars.Ribbon.RibbonPageGroup ribbonPageGroup1; private DevExpress.XtraBars.Docking.DockPanel panelContainer1; - private DevExpress.Utils.FlyoutPanel flyoutPanel1; - private DevExpress.Utils.FlyoutPanelControl flyoutPanelControl1; - private SidePanel sidePanelModelDetail; private DevExpress.XtraBars.Navigation.TabPane tabPane1; private DevExpress.XtraBars.Navigation.TabNavigationPage tabPagePump; private DevExpress.XtraBars.Navigation.TabNavigationPage tabPageValve; @@ -442,9 +911,6 @@ private SetSchemePumpListCtrl setSchemePumpListCtrl1; private SetSchemePipeListCtrl setSchemePipeListCtrl1; private SetSchemeValveListCtrl setSchemeValveListCtrl1; - private DevExpress.XtraBars.Docking.DockManager dockManager1; - private DevExpress.XtraBars.Docking.DockPanel dockPanelChangeRecord; - private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; private DevExpress.XtraGrid.GridControl gridControl1; private DevExpress.XtraGrid.Views.Grid.GridView gridView1; private BindingSource setSchemeParterRecordBindingSource; @@ -454,9 +920,54 @@ private DevExpress.XtraGrid.Columns.GridColumn colAfterDbId; private DevExpress.XtraGrid.Columns.GridColumn colBeforeCurveId; private DevExpress.XtraGrid.Columns.GridColumn colAfterCurveId; + private DevExpress.XtraGrid.GridControl gridControl2; private DevExpress.XtraGrid.Views.Grid.GridView gridView2; + private BindingSource setSchemeParterRecordItemBindingSource; private DevExpress.XtraGrid.Columns.GridColumn colName1; - private DevExpress.XtraGrid.Columns.GridColumn colRawValue; - private DevExpress.XtraGrid.Columns.GridColumn colCurrentValue; + private DevExpress.XtraGrid.Columns.GridColumn colAfterValue; + private DevExpress.XtraGrid.Columns.GridColumn colBeforeValue; + private DevExpress.XtraBars.Docking.DockManager dockManager1; + private DevExpress.XtraBars.Docking.DockPanel dockPanelParterList; + private DevExpress.XtraBars.Docking.ControlContainer dockPanel2_Container; + private DevExpress.XtraBars.Docking.DockPanel dockPanel5; + private DevExpress.XtraBars.Docking.DockPanel dockPanelChangeRecord; + private DevExpress.XtraBars.Docking.ControlContainer dockPanel1_Container; + private DevExpress.XtraBars.Docking.DockPanel dockPanelScheme; + private DevExpress.XtraBars.Docking.ControlContainer dockPanel3_Container; + private DevExpress.XtraGrid.Columns.GridColumn colDelete; + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit1; + private DevExpress.XtraEditors.Repository.RepositoryItemTextEdit repositoryItemTextEdit2; + private DevExpress.XtraLayout.LayoutControl layoutControl1; + private DevExpress.XtraLayout.LayoutControlGroup Root; + private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; + private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private DevExpress.XtraLayout.LayoutControl layoutControl2; + private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup3; + private SimpleButton btnSave; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; + private DevExpress.XtraEditors.DXErrorProvider.DXErrorProvider dxErrorProvider1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; + private SetFlagsEditCtrl setFlagsEditCtrl1; + private ImageComboBoxEdit imgCmbSchemeType; + private TextEdit txtNo; + private TextEdit txtName; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14; + private MemoEdit memoDescription; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; + private DevExpress.XtraBars.Docking.DockPanel dockPanelMenu; + private DevExpress.XtraBars.Docking.ControlContainer controlContainer1; + private DevExpress.XtraLayout.LayoutControl layoutControl3; + private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup4; + private ButtonEdit buttonEdit; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; + private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; } } \ No newline at end of file -- Gitblit v1.9.3