| | |
| | | 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(); |
| | | 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(); |
| | | barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); |
| | | barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); |
| | | barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); |
| | | ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | | ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); |
| | | 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(); |
| | |
| | | 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); |
| | | dockPanel5 = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanelChangeRecord = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | dockPanelChangeRecordItem = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel3_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | dockPanelParterList = new DevExpress.XtraBars.Docking.DockPanel(); |
| | | dockPanel2_Container = new DevExpress.XtraBars.Docking.ControlContainer(); |
| | | ((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)tabPane1).BeginInit(); |
| | | tabPane1.SuspendLayout(); |
| | | tabPagePump.SuspendLayout(); |
| | | tabPageValve.SuspendLayout(); |
| | | tabPagePipe.SuspendLayout(); |
| | | ((ISupportInitialize)gridControl2).BeginInit(); |
| | | ((ISupportInitialize)setSchemeParterRecordItemBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView2).BeginInit(); |
| | | ((ISupportInitialize)dockManager1).BeginInit(); |
| | | dockPanel5.SuspendLayout(); |
| | | dockPanelChangeRecord.SuspendLayout(); |
| | | dockPanel1_Container.SuspendLayout(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)setSchemeParterRecordBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView2).BeginInit(); |
| | | dockPanelChangeRecordItem.SuspendLayout(); |
| | | dockPanel3_Container.SuspendLayout(); |
| | | dockPanelParterList.SuspendLayout(); |
| | | dockPanel2_Container.SuspendLayout(); |
| | | 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.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(369, 431); |
| | | 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 |
| | | // |
| | |
| | | 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, barButtonItem1, barButtonItem2, barButtonItem3 }); |
| | | ribbon.Location = new Point(0, 0); |
| | | ribbon.MaxItemId = 10; |
| | | 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.MacOffice; |
| | | 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, 174); |
| | | ribbon.Toolbar.ShowCustomizeItem = false; |
| | | // |
| | | // barButtonItem1 |
| | | // |
| | | barButtonItem1.Caption = "barButtonItem1"; |
| | | barButtonItem1.Id = 7; |
| | | barButtonItem1.Name = "barButtonItem1"; |
| | | // |
| | | // barButtonItem2 |
| | | // |
| | | barButtonItem2.Caption = "barButtonItem2"; |
| | | barButtonItem2.Id = 8; |
| | | barButtonItem2.Name = "barButtonItem2"; |
| | | // |
| | | // barButtonItem3 |
| | | // |
| | | barButtonItem3.Caption = "barButtonItem3"; |
| | | barButtonItem3.Id = 9; |
| | | barButtonItem3.Name = "barButtonItem3"; |
| | | // |
| | | // ribbonPage1 |
| | | // |
| | | ribbonPage1.Name = "ribbonPage1"; |
| | | ribbonPage1.Text = "ribbonPage1"; |
| | | // |
| | | // sidePanel3dModel |
| | | // |
| | | sidePanel3dModel.Dock = DockStyle.Fill; |
| | | sidePanel3dModel.Location = new Point(0, 174); |
| | | sidePanel3dModel.Name = "sidePanel3dModel"; |
| | | sidePanel3dModel.Size = new Size(1199, 583); |
| | | 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(1199, 312); |
| | | tabPane1.SelectedPage = tabPagePump; |
| | | tabPane1.Size = new Size(1199, 312); |
| | | tabPane1.TabIndex = 0; |
| | | tabPane1.Text = "tabPane1"; |
| | | // |
| | | // tabPagePump |
| | | // |
| | | tabPagePump.Caption = "水泵"; |
| | | tabPagePump.Controls.Add(setSchemePumpListCtrl1); |
| | | tabPagePump.Name = "tabPagePump"; |
| | | tabPagePump.Size = new Size(1199, 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(1199, 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.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"; |
| | | // |
| | | // gridControl2 |
| | | // |
| | | gridControl2.DataSource = setSchemeParterRecordItemBindingSource; |
| | | gridControl2.Dock = DockStyle.Fill; |
| | | gridControl2.Location = new Point(0, 0); |
| | | gridControl2.MainView = gridView2; |
| | | gridControl2.MenuManager = ribbon; |
| | | gridControl2.Name = "gridControl2"; |
| | | gridControl2.Size = new Size(369, 430); |
| | | 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"; |
| | |
| | | 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[] { 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" }); |
| | | // |
| | | // dockPanel5 |
| | | // |
| | | dockPanel5.Controls.Add(dockPanelChangeRecord); |
| | | dockPanel5.Controls.Add(dockPanelChangeRecordItem); |
| | | dockPanel5.Dock = DevExpress.XtraBars.Docking.DockingStyle.Right; |
| | | dockPanel5.ID = new Guid("4f9140be-dc44-4cc6-9924-d22c117f4a97"); |
| | | dockPanel5.Location = new Point(1199, 174); |
| | | dockPanel5.Name = "dockPanel5"; |
| | | dockPanel5.OriginalSize = new Size(370, 200); |
| | | dockPanel5.Size = new Size(370, 930); |
| | | 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(370, 245); |
| | | dockPanelChangeRecord.Size = new Size(370, 465); |
| | | 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(369, 431); |
| | | dockPanel1_Container.TabIndex = 0; |
| | | // |
| | | // dockPanelChangeRecordItem |
| | | // |
| | | dockPanelChangeRecordItem.Controls.Add(dockPanel3_Container); |
| | | dockPanelChangeRecordItem.Dock = DevExpress.XtraBars.Docking.DockingStyle.Fill; |
| | | dockPanelChangeRecordItem.ID = new Guid("39552842-60b6-4e4d-b215-438810b7a737"); |
| | | dockPanelChangeRecordItem.Location = new Point(0, 465); |
| | | dockPanelChangeRecordItem.Name = "dockPanelChangeRecordItem"; |
| | | dockPanelChangeRecordItem.OriginalSize = new Size(370, 245); |
| | | dockPanelChangeRecordItem.Size = new Size(370, 465); |
| | | dockPanelChangeRecordItem.Text = "变更记录详细"; |
| | | // |
| | | // dockPanel3_Container |
| | | // |
| | | dockPanel3_Container.Controls.Add(gridControl2); |
| | | dockPanel3_Container.Location = new Point(1, 35); |
| | | dockPanel3_Container.Name = "dockPanel3_Container"; |
| | | dockPanel3_Container.Size = new Size(369, 430); |
| | | dockPanel3_Container.TabIndex = 0; |
| | | // |
| | | // 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(1199, 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(1199, 312); |
| | | dockPanel2_Container.TabIndex = 0; |
| | | // |
| | | // AddXhsSchemeDlg |
| | | // |
| | |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(1569, 1104); |
| | | Controls.Add(sidePanel3dModel); |
| | | Controls.Add(dockPanelChangeRecord); |
| | | Controls.Add(dockPanelParterList); |
| | | Controls.Add(dockPanel5); |
| | | 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)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(); |
| | | dockPanel5.ResumeLayout(false); |
| | | dockPanelChangeRecord.ResumeLayout(false); |
| | | dockPanel1_Container.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)setSchemeParterRecordBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView2).EndInit(); |
| | | dockPanelChangeRecordItem.ResumeLayout(false); |
| | | dockPanel3_Container.ResumeLayout(false); |
| | | dockPanelParterList.ResumeLayout(false); |
| | | dockPanel2_Container.ResumeLayout(false); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | |
| | | |
| | | 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; |
| | |
| | | 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; |
| | |
| | | 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 dockPanelChangeRecordItem; |
| | | private DevExpress.XtraBars.Docking.ControlContainer dockPanel3_Container; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDelete; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; |
| | | private DevExpress.XtraBars.BarButtonItem barButtonItem1; |
| | | private DevExpress.XtraBars.BarButtonItem barButtonItem2; |
| | | private DevExpress.XtraBars.BarButtonItem barButtonItem3; |
| | | } |
| | | } |