| | |
| | | { |
| | | components = new Container(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(AddXhsSchemeDlg)); |
| | | DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode(); |
| | | ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); |
| | | barCek = new DevExpress.XtraBars.BarCheckItem(); |
| | | ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); |
| | |
| | | sidePanelModelDetail = new SidePanel(); |
| | | tabPane1 = new DevExpress.XtraBars.Navigation.TabPane(); |
| | | tabPagePump = new DevExpress.XtraBars.Navigation.TabNavigationPage(); |
| | | setSchemePumpListCtrl1 = new SetSchemePumpListCtrl(); |
| | | tabPageValve = new DevExpress.XtraBars.Navigation.TabNavigationPage(); |
| | | setSchemeValveListCtrl1 = new SetSchemeValveListCtrl(); |
| | | 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(); |
| | | setSchemePumpListCtrl1 = new SetSchemePumpListCtrl(); |
| | | setSchemePipeListCtrl1 = new SetSchemePipeListCtrl(); |
| | | setSchemeValveListCtrl1 = new SetSchemeValveListCtrl(); |
| | | 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(); |
| | | 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(); |
| | | ((ISupportInitialize)ribbon).BeginInit(); |
| | | sidePanel3dModel.SuspendLayout(); |
| | | ((ISupportInitialize)flyoutPanel1).BeginInit(); |
| | |
| | | tabPagePipe.SuspendLayout(); |
| | | ((ISupportInitialize)dockManager1).BeginInit(); |
| | | dockPanelChangeRecord.SuspendLayout(); |
| | | dockPanel1_Container.SuspendLayout(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)setSchemeParterRecordBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView2).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // ribbon |
| | |
| | | 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.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 |
| | | // |
| | |
| | | // |
| | | // 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; |
| | | // |
| | | // setSchemePumpListCtrl2 |
| | | // gridControl1 |
| | | // |
| | | setSchemePumpListCtrl1.Dock = DockStyle.Fill; |
| | | setSchemePumpListCtrl1.Location = new Point(0, 0); |
| | | setSchemePumpListCtrl1.Margin = new Padding(4, 5, 4, 5); |
| | | setSchemePumpListCtrl1.Name = "setSchemePumpListCtrl2"; |
| | | setSchemePumpListCtrl1.Size = new Size(977, 369); |
| | | setSchemePumpListCtrl1.TabIndex = 0; |
| | | 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.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1, gridView2 }); |
| | | // |
| | | // setSchemePipeListCtrl1 |
| | | // gridView1 |
| | | // |
| | | 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; |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colCode, colName, colBeforeDbId, colAfterDbId, colBeforeCurveId, colAfterCurveId }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | // |
| | | // setSchemeValveListCtrl1 |
| | | // setSchemeParterRecordBindingSource |
| | | // |
| | | 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; |
| | | setSchemeParterRecordBindingSource.DataSource = typeof(SetSchemeParterRecord); |
| | | // |
| | | // colCode |
| | | // |
| | | colCode.Caption = "编码"; |
| | | colCode.FieldName = "Code"; |
| | | colCode.MinWidth = 30; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 0; |
| | | colCode.Width = 112; |
| | | // |
| | | // colName |
| | | // |
| | | colName.Caption = "名称"; |
| | | colName.FieldName = "Name"; |
| | | colName.MinWidth = 30; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 1; |
| | | colName.Width = 112; |
| | | // |
| | | // colBeforeDbId |
| | | // |
| | | colBeforeDbId.FieldName = "BeforeDbId"; |
| | | colBeforeDbId.MinWidth = 30; |
| | | colBeforeDbId.Name = "colBeforeDbId"; |
| | | colBeforeDbId.Width = 112; |
| | | // |
| | | // colAfterDbId |
| | | // |
| | | colAfterDbId.FieldName = "AfterDbId"; |
| | | colAfterDbId.MinWidth = 30; |
| | | colAfterDbId.Name = "colAfterDbId"; |
| | | colAfterDbId.Width = 112; |
| | | // |
| | | // colBeforeCurveId |
| | | // |
| | | colBeforeCurveId.FieldName = "BeforeCurveId"; |
| | | colBeforeCurveId.MinWidth = 30; |
| | | colBeforeCurveId.Name = "colBeforeCurveId"; |
| | | colBeforeCurveId.Width = 112; |
| | | // |
| | | // colAfterCurveId |
| | | // |
| | | colAfterCurveId.FieldName = "AfterCurveId"; |
| | | colAfterCurveId.MinWidth = 30; |
| | | colAfterCurveId.Name = "colAfterCurveId"; |
| | | colAfterCurveId.Width = 112; |
| | | // |
| | | // gridView2 |
| | | // |
| | | gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colName1, colRawValue, colCurrentValue }); |
| | | gridView2.GridControl = gridControl1; |
| | | gridView2.Name = "gridView2"; |
| | | // |
| | | // colName1 |
| | | // |
| | | colName1.Caption = "属性"; |
| | | colName1.FieldName = "Name"; |
| | | colName1.MinWidth = 30; |
| | | colName1.Name = "colName1"; |
| | | colName1.Visible = true; |
| | | colName1.VisibleIndex = 0; |
| | | colName1.Width = 112; |
| | | // |
| | | // colRawValue |
| | | // |
| | | colRawValue.Caption = "变更前"; |
| | | colRawValue.FieldName = "RawValue"; |
| | | colRawValue.MinWidth = 30; |
| | | colRawValue.Name = "colRawValue"; |
| | | colRawValue.Visible = true; |
| | | colRawValue.VisibleIndex = 1; |
| | | colRawValue.Width = 112; |
| | | // |
| | | // colCurrentValue |
| | | // |
| | | colCurrentValue.Caption = "变更后"; |
| | | colCurrentValue.FieldName = "CurrentValue"; |
| | | colCurrentValue.MinWidth = 30; |
| | | colCurrentValue.Name = "colCurrentValue"; |
| | | colCurrentValue.Visible = true; |
| | | colCurrentValue.VisibleIndex = 2; |
| | | colCurrentValue.Width = 112; |
| | | // |
| | | // AddXhsSchemeDlg |
| | | // |
| | |
| | | tabPagePipe.ResumeLayout(false); |
| | | ((ISupportInitialize)dockManager1).EndInit(); |
| | | dockPanelChangeRecord.ResumeLayout(false); |
| | | dockPanel1_Container.ResumeLayout(false); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)setSchemeParterRecordBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView2).EndInit(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | |
| | | 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 colCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colBeforeDbId; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colAfterDbId; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colBeforeCurveId; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colAfterCurveId; |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView2; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colRawValue; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCurrentValue; |
| | | } |
| | | } |