| | |
| | | private void InitializeComponent() |
| | | { |
| | | components = new Container(); |
| | | DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); |
| | | ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroValveListCtrl)); |
| | | 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(); |
| | | hydroValveViewModelBindingSource = new BindingSource(components); |
| | | gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); |
| | | colDbLocked = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colName = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlagsString = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colStartCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colEndCode = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colLinkStatus = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDiameter = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colValveType = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colValveSetting = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuFlow = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuVelocity = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colCalcuHeadLoss = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colHasDb = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colOpeningDegree = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colFlags = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | colSet = new DevExpress.XtraGrid.Columns.GridColumn(); |
| | | repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); |
| | | layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); |
| | | imgCmbLinkStatus = new DevExpress.XtraEditors.ImageComboBoxEdit(); |
| | | btnReset = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnSet = new DevExpress.XtraEditors.SimpleButton(); |
| | | btnSearch = new DevExpress.XtraEditors.SimpleButton(); |
| | | txtName = new DevExpress.XtraEditors.TextEdit(); |
| | | txtModelType = new DevExpress.XtraEditors.TextEdit(); |
| | | txtCode = new DevExpress.XtraEditors.TextEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | groupForHead = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((ISupportInitialize)gridControl1).BeginInit(); |
| | | ((ISupportInitialize)hydroValveViewModelBindingSource).BeginInit(); |
| | | ((ISupportInitialize)gridView1).BeginInit(); |
| | | ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit(); |
| | | ((ISupportInitialize)layoutControl1).BeginInit(); |
| | | layoutControl1.SuspendLayout(); |
| | | ((ISupportInitialize)imgCmbLinkStatus.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtName.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtModelType.Properties).BeginInit(); |
| | | ((ISupportInitialize)txtCode.Properties).BeginInit(); |
| | | ((ISupportInitialize)Root).BeginInit(); |
| | | ((ISupportInitialize)groupForHead).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem4).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem5).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem6).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem7).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem8).BeginInit(); |
| | | ((ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // gridControl1 |
| | | // |
| | | gridControl1.DataSource = hydroValveViewModelBindingSource; |
| | | gridControl1.Dock = DockStyle.Fill; |
| | | gridControl1.Location = new Point(0, 0); |
| | | gridControl1.Location = new Point(2, 50); |
| | | gridControl1.MainView = gridView1; |
| | | gridControl1.Name = "gridControl1"; |
| | | gridControl1.Size = new Size(1720, 573); |
| | | gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); |
| | | gridControl1.Size = new Size(1716, 521); |
| | | gridControl1.TabIndex = 0; |
| | | gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); |
| | | // |
| | |
| | | // |
| | | // gridView1 |
| | | // |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colHasDb, colStartCode, colEndCode, colLinkStatus, colMaterial, colDiameter, colMinorLoss, colValveType, colOpeningDegree, colValveSetting, colCalcuFlow, colCalcuVelocity, colCalcuHeadLoss, colFlagsString, colDescription }); |
| | | gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colName, colCode, colModelType, colLinkStatus, colMaterial, colDiameter, colMinorLoss, colValveType, colCalcuFlow, colCalcuVelocity, colCalcuHeadLoss, colHasDb, colFlags, colDescription, colSet }); |
| | | gridView1.GridControl = gridControl1; |
| | | gridView1.Name = "gridView1"; |
| | | gridView1.OptionsFind.AlwaysVisible = true; |
| | | gridView1.RowClick += gridView1_RowClick; |
| | | gridView1.RowCellClick += gridView1_RowCellClick; |
| | | // |
| | | // colDbLocked |
| | | // |
| | | colDbLocked.FieldName = "DbLocked"; |
| | | colDbLocked.MaxWidth = 60; |
| | | colDbLocked.MinWidth = 60; |
| | | colDbLocked.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Left; |
| | | colDbLocked.MaxWidth = 40; |
| | | colDbLocked.MinWidth = 40; |
| | | colDbLocked.Name = "colDbLocked"; |
| | | colDbLocked.Visible = true; |
| | | colDbLocked.VisibleIndex = 0; |
| | | colDbLocked.Width = 60; |
| | | // |
| | | // colCode |
| | | // |
| | | colCode.FieldName = "Code"; |
| | | colCode.MaxWidth = 150; |
| | | colCode.MinWidth = 100; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 1; |
| | | colCode.Width = 100; |
| | | colDbLocked.Width = 40; |
| | | // |
| | | // colName |
| | | // |
| | |
| | | colName.MinWidth = 100; |
| | | colName.Name = "colName"; |
| | | colName.Visible = true; |
| | | colName.VisibleIndex = 2; |
| | | colName.VisibleIndex = 1; |
| | | colName.Width = 100; |
| | | // |
| | | // colCode |
| | | // |
| | | colCode.FieldName = "Code"; |
| | | colCode.MaxWidth = 150; |
| | | colCode.MinWidth = 100; |
| | | colCode.Name = "colCode"; |
| | | colCode.Visible = true; |
| | | colCode.VisibleIndex = 2; |
| | | colCode.Width = 100; |
| | | // |
| | | // colModelType |
| | | // |
| | |
| | | colModelType.VisibleIndex = 3; |
| | | colModelType.Width = 100; |
| | | // |
| | | // colFlagsString |
| | | // |
| | | colFlagsString.FieldName = "FlagsString"; |
| | | colFlagsString.MaxWidth = 200; |
| | | colFlagsString.MinWidth = 100; |
| | | colFlagsString.Name = "colFlagsString"; |
| | | colFlagsString.Visible = true; |
| | | colFlagsString.VisibleIndex = 17; |
| | | colFlagsString.Width = 100; |
| | | // |
| | | // colStartCode |
| | | // |
| | | colStartCode.FieldName = "StartCode"; |
| | | colStartCode.MaxWidth = 150; |
| | | colStartCode.MinWidth = 100; |
| | | colStartCode.Name = "colStartCode"; |
| | | colStartCode.Visible = true; |
| | | colStartCode.VisibleIndex = 5; |
| | | colStartCode.Width = 100; |
| | | // |
| | | // colEndCode |
| | | // |
| | | colEndCode.FieldName = "EndCode"; |
| | | colEndCode.MaxWidth = 150; |
| | | colEndCode.MinWidth = 100; |
| | | colEndCode.Name = "colEndCode"; |
| | | colEndCode.Visible = true; |
| | | colEndCode.VisibleIndex = 6; |
| | | colEndCode.Width = 100; |
| | | // |
| | | // colLinkStatus |
| | | // |
| | | colLinkStatus.FieldName = "LinkStatus"; |
| | |
| | | colLinkStatus.MinWidth = 100; |
| | | colLinkStatus.Name = "colLinkStatus"; |
| | | colLinkStatus.Visible = true; |
| | | colLinkStatus.VisibleIndex = 7; |
| | | colLinkStatus.VisibleIndex = 5; |
| | | colLinkStatus.Width = 100; |
| | | // |
| | | // colMaterial |
| | | // |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.MaxWidth = 100; |
| | | colMaterial.MinWidth = 100; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 6; |
| | | colMaterial.Width = 100; |
| | | // |
| | | // colDiameter |
| | | // |
| | |
| | | colDiameter.MinWidth = 100; |
| | | colDiameter.Name = "colDiameter"; |
| | | colDiameter.Visible = true; |
| | | colDiameter.VisibleIndex = 9; |
| | | colDiameter.VisibleIndex = 7; |
| | | colDiameter.Width = 100; |
| | | // |
| | | // colMinorLoss |
| | |
| | | colMinorLoss.MinWidth = 100; |
| | | colMinorLoss.Name = "colMinorLoss"; |
| | | colMinorLoss.Visible = true; |
| | | colMinorLoss.VisibleIndex = 10; |
| | | colMinorLoss.VisibleIndex = 8; |
| | | colMinorLoss.Width = 100; |
| | | // |
| | | // colValveType |
| | |
| | | colValveType.MinWidth = 100; |
| | | colValveType.Name = "colValveType"; |
| | | colValveType.Visible = true; |
| | | colValveType.VisibleIndex = 11; |
| | | colValveType.VisibleIndex = 4; |
| | | colValveType.Width = 100; |
| | | // |
| | | // colValveSetting |
| | | // |
| | | colValveSetting.FieldName = "ValveSetting"; |
| | | colValveSetting.MaxWidth = 100; |
| | | colValveSetting.MinWidth = 100; |
| | | colValveSetting.Name = "colValveSetting"; |
| | | colValveSetting.Visible = true; |
| | | colValveSetting.VisibleIndex = 13; |
| | | colValveSetting.Width = 100; |
| | | // |
| | | // colCalcuFlow |
| | | // |
| | |
| | | colCalcuFlow.MinWidth = 100; |
| | | colCalcuFlow.Name = "colCalcuFlow"; |
| | | colCalcuFlow.Visible = true; |
| | | colCalcuFlow.VisibleIndex = 14; |
| | | colCalcuFlow.VisibleIndex = 9; |
| | | colCalcuFlow.Width = 100; |
| | | // |
| | | // colCalcuVelocity |
| | |
| | | colCalcuVelocity.MinWidth = 100; |
| | | colCalcuVelocity.Name = "colCalcuVelocity"; |
| | | colCalcuVelocity.Visible = true; |
| | | colCalcuVelocity.VisibleIndex = 15; |
| | | colCalcuVelocity.VisibleIndex = 10; |
| | | colCalcuVelocity.Width = 100; |
| | | // |
| | | // colCalcuHeadLoss |
| | |
| | | colCalcuHeadLoss.MinWidth = 100; |
| | | colCalcuHeadLoss.Name = "colCalcuHeadLoss"; |
| | | colCalcuHeadLoss.Visible = true; |
| | | colCalcuHeadLoss.VisibleIndex = 16; |
| | | colCalcuHeadLoss.VisibleIndex = 11; |
| | | colCalcuHeadLoss.Width = 100; |
| | | // |
| | | // colHasDb |
| | | // |
| | | colHasDb.FieldName = "HasDb"; |
| | | colHasDb.MaxWidth = 40; |
| | | colHasDb.MinWidth = 40; |
| | | colHasDb.Name = "colHasDb"; |
| | | colHasDb.Visible = true; |
| | | colHasDb.VisibleIndex = 12; |
| | | colHasDb.Width = 40; |
| | | // |
| | | // colFlags |
| | | // |
| | | colFlags.FieldName = "Flags"; |
| | | colFlags.MaxWidth = 200; |
| | | colFlags.MinWidth = 100; |
| | | colFlags.Name = "colFlags"; |
| | | colFlags.Visible = true; |
| | | colFlags.VisibleIndex = 13; |
| | | colFlags.Width = 100; |
| | | // |
| | | // colDescription |
| | | // |
| | |
| | | colDescription.MinWidth = 100; |
| | | colDescription.Name = "colDescription"; |
| | | colDescription.Visible = true; |
| | | colDescription.VisibleIndex = 18; |
| | | colDescription.VisibleIndex = 14; |
| | | colDescription.Width = 100; |
| | | // |
| | | // colHasDb |
| | | // colSet |
| | | // |
| | | colHasDb.FieldName = "HasDb"; |
| | | colHasDb.MaxWidth = 60; |
| | | colHasDb.MinWidth = 60; |
| | | colHasDb.Name = "colHasDb"; |
| | | colHasDb.Visible = true; |
| | | colHasDb.VisibleIndex = 4; |
| | | colHasDb.Width = 60; |
| | | colSet.Caption = "设置"; |
| | | colSet.ColumnEdit = repositoryItemButtonEdit1; |
| | | colSet.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; |
| | | colSet.MaxWidth = 60; |
| | | colSet.MinWidth = 60; |
| | | colSet.Name = "colSet"; |
| | | colSet.Visible = true; |
| | | colSet.VisibleIndex = 15; |
| | | colSet.Width = 60; |
| | | // |
| | | // colMaterial |
| | | // repositoryItemButtonEdit1 |
| | | // |
| | | colMaterial.FieldName = "Material"; |
| | | colMaterial.MaxWidth = 100; |
| | | colMaterial.MinWidth = 100; |
| | | colMaterial.Name = "colMaterial"; |
| | | colMaterial.Visible = true; |
| | | colMaterial.VisibleIndex = 8; |
| | | colMaterial.Width = 100; |
| | | repositoryItemButtonEdit1.AutoHeight = false; |
| | | editorButtonImageOptions1.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions1.SvgImage"); |
| | | editorButtonImageOptions1.SvgImageSize = new Size(20, 20); |
| | | repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); |
| | | repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; |
| | | repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; |
| | | // |
| | | // colOpeningDegree |
| | | // layoutControl1 |
| | | // |
| | | colOpeningDegree.FieldName = "OpeningDegree"; |
| | | colOpeningDegree.MaxWidth = 100; |
| | | colOpeningDegree.MinWidth = 100; |
| | | colOpeningDegree.Name = "colOpeningDegree"; |
| | | colOpeningDegree.Visible = true; |
| | | colOpeningDegree.VisibleIndex = 12; |
| | | colOpeningDegree.Width = 100; |
| | | layoutControl1.Controls.Add(gridControl1); |
| | | layoutControl1.Controls.Add(imgCmbLinkStatus); |
| | | layoutControl1.Controls.Add(btnReset); |
| | | layoutControl1.Controls.Add(btnSet); |
| | | layoutControl1.Controls.Add(btnSearch); |
| | | layoutControl1.Controls.Add(txtName); |
| | | layoutControl1.Controls.Add(txtModelType); |
| | | layoutControl1.Controls.Add(txtCode); |
| | | layoutControl1.Dock = DockStyle.Fill; |
| | | layoutControl1.Location = new Point(0, 0); |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(1227, 184, 650, 400); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(1720, 573); |
| | | layoutControl1.TabIndex = 3; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | | // imgCmbLinkStatus |
| | | // |
| | | imgCmbLinkStatus.Location = new Point(654, 14); |
| | | imgCmbLinkStatus.Name = "imgCmbLinkStatus"; |
| | | imgCmbLinkStatus.Properties.AutoHeight = false; |
| | | imgCmbLinkStatus.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); |
| | | imgCmbLinkStatus.Size = new Size(156, 22); |
| | | imgCmbLinkStatus.StyleController = layoutControl1; |
| | | imgCmbLinkStatus.TabIndex = 8; |
| | | // |
| | | // btnReset |
| | | // |
| | | btnReset.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | btnReset.Appearance.Options.UseBackColor = true; |
| | | btnReset.Location = new Point(914, 14); |
| | | btnReset.Name = "btnReset"; |
| | | btnReset.Size = new Size(96, 22); |
| | | btnReset.StyleController = layoutControl1; |
| | | btnReset.TabIndex = 7; |
| | | btnReset.Text = "重置"; |
| | | btnReset.Click += btnReset_Click; |
| | | // |
| | | // btnSet |
| | | // |
| | | btnSet.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Success; |
| | | btnSet.Appearance.Options.UseBackColor = true; |
| | | btnSet.Location = new Point(1610, 14); |
| | | btnSet.Name = "btnSet"; |
| | | btnSet.Size = new Size(96, 22); |
| | | btnSet.StyleController = layoutControl1; |
| | | btnSet.TabIndex = 6; |
| | | btnSet.Text = "设置"; |
| | | btnSet.Click += btnSet_Click; |
| | | // |
| | | // btnSearch |
| | | // |
| | | btnSearch.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | btnSearch.Appearance.Options.UseBackColor = true; |
| | | btnSearch.Location = new Point(814, 14); |
| | | btnSearch.Name = "btnSearch"; |
| | | btnSearch.Size = new Size(96, 22); |
| | | btnSearch.StyleController = layoutControl1; |
| | | btnSearch.TabIndex = 5; |
| | | btnSearch.Text = "查询"; |
| | | btnSearch.Click += btnSearch_Click; |
| | | // |
| | | // txtName |
| | | // |
| | | txtName.Location = new Point(54, 14); |
| | | txtName.Name = "txtName"; |
| | | txtName.Properties.AutoHeight = false; |
| | | txtName.Size = new Size(156, 22); |
| | | txtName.StyleController = layoutControl1; |
| | | txtName.TabIndex = 0; |
| | | // |
| | | // txtModelType |
| | | // |
| | | txtModelType.Location = new Point(454, 14); |
| | | txtModelType.Name = "txtModelType"; |
| | | txtModelType.Properties.AutoHeight = false; |
| | | txtModelType.Size = new Size(156, 22); |
| | | txtModelType.StyleController = layoutControl1; |
| | | txtModelType.TabIndex = 3; |
| | | // |
| | | // txtCode |
| | | // |
| | | txtCode.Location = new Point(254, 14); |
| | | txtCode.Name = "txtCode"; |
| | | txtCode.Properties.AutoHeight = false; |
| | | txtCode.Size = new Size(156, 22); |
| | | txtCode.StyleController = layoutControl1; |
| | | txtCode.TabIndex = 2; |
| | | // |
| | | // Root |
| | | // |
| | | Root.AppearanceItemCaption.Options.UseTextOptions = true; |
| | | Root.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { groupForHead, layoutControlItem1 }); |
| | | Root.Name = "Root"; |
| | | Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); |
| | | Root.Size = new Size(1720, 573); |
| | | Root.TextVisible = false; |
| | | // |
| | | // groupForHead |
| | | // |
| | | groupForHead.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4, layoutControlItem2, layoutControlItem3, emptySpaceItem1, layoutControlItem5, layoutControlItem6, layoutControlItem7, layoutControlItem8 }); |
| | | groupForHead.Location = new Point(0, 0); |
| | | groupForHead.Name = "groupForHead"; |
| | | groupForHead.Size = new Size(1720, 50); |
| | | groupForHead.Text = "查询条件"; |
| | | groupForHead.TextVisible = false; |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = txtName; |
| | | layoutControlItem4.Location = new Point(0, 0); |
| | | layoutControlItem4.MaxSize = new Size(200, 26); |
| | | layoutControlItem4.MinSize = new Size(200, 26); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(200, 26); |
| | | layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem4.Text = "名称:"; |
| | | layoutControlItem4.TextSize = new Size(28, 14); |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = txtCode; |
| | | layoutControlItem2.Location = new Point(200, 0); |
| | | layoutControlItem2.MaxSize = new Size(200, 26); |
| | | layoutControlItem2.MinSize = new Size(200, 26); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(200, 26); |
| | | layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem2.Text = "编码:"; |
| | | layoutControlItem2.TextSize = new Size(28, 14); |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = txtModelType; |
| | | layoutControlItem3.Location = new Point(400, 0); |
| | | layoutControlItem3.MaxSize = new Size(200, 26); |
| | | layoutControlItem3.MinSize = new Size(200, 26); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(200, 26); |
| | | layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem3.Text = "型号:"; |
| | | layoutControlItem3.TextSize = new Size(28, 14); |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(1000, 0); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(596, 26); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem5 |
| | | // |
| | | layoutControlItem5.Control = btnSearch; |
| | | layoutControlItem5.Location = new Point(800, 0); |
| | | layoutControlItem5.MaxSize = new Size(100, 26); |
| | | layoutControlItem5.MinSize = new Size(100, 26); |
| | | layoutControlItem5.Name = "layoutControlItem5"; |
| | | layoutControlItem5.Size = new Size(100, 26); |
| | | layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem5.TextSize = new Size(0, 0); |
| | | layoutControlItem5.TextVisible = false; |
| | | // |
| | | // layoutControlItem6 |
| | | // |
| | | layoutControlItem6.Control = btnSet; |
| | | layoutControlItem6.Location = new Point(1596, 0); |
| | | layoutControlItem6.MaxSize = new Size(100, 26); |
| | | layoutControlItem6.MinSize = new Size(100, 26); |
| | | layoutControlItem6.Name = "layoutControlItem6"; |
| | | layoutControlItem6.Size = new Size(100, 26); |
| | | layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem6.TextSize = new Size(0, 0); |
| | | layoutControlItem6.TextVisible = false; |
| | | // |
| | | // layoutControlItem7 |
| | | // |
| | | layoutControlItem7.Control = btnReset; |
| | | layoutControlItem7.Location = new Point(900, 0); |
| | | layoutControlItem7.MaxSize = new Size(100, 26); |
| | | layoutControlItem7.MinSize = new Size(100, 26); |
| | | layoutControlItem7.Name = "layoutControlItem7"; |
| | | layoutControlItem7.Size = new Size(100, 26); |
| | | layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem7.TextSize = new Size(0, 0); |
| | | layoutControlItem7.TextVisible = false; |
| | | // |
| | | // layoutControlItem8 |
| | | // |
| | | layoutControlItem8.Control = imgCmbLinkStatus; |
| | | layoutControlItem8.Location = new Point(600, 0); |
| | | layoutControlItem8.MaxSize = new Size(200, 0); |
| | | layoutControlItem8.MinSize = new Size(200, 24); |
| | | layoutControlItem8.Name = "layoutControlItem8"; |
| | | layoutControlItem8.Size = new Size(200, 26); |
| | | layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; |
| | | layoutControlItem8.Text = "状态:"; |
| | | layoutControlItem8.TextSize = new Size(28, 14); |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = gridControl1; |
| | | layoutControlItem1.Location = new Point(0, 50); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 0, 2); |
| | | layoutControlItem1.Size = new Size(1720, 523); |
| | | layoutControlItem1.TextSize = new Size(0, 0); |
| | | layoutControlItem1.TextVisible = false; |
| | | // |
| | | // HydroValveListCtrl |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 14F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | Controls.Add(gridControl1); |
| | | Controls.Add(layoutControl1); |
| | | Name = "HydroValveListCtrl"; |
| | | Size = new Size(1720, 573); |
| | | ((ISupportInitialize)gridControl1).EndInit(); |
| | | ((ISupportInitialize)hydroValveViewModelBindingSource).EndInit(); |
| | | ((ISupportInitialize)gridView1).EndInit(); |
| | | ((ISupportInitialize)repositoryItemButtonEdit1).EndInit(); |
| | | ((ISupportInitialize)layoutControl1).EndInit(); |
| | | layoutControl1.ResumeLayout(false); |
| | | ((ISupportInitialize)imgCmbLinkStatus.Properties).EndInit(); |
| | | ((ISupportInitialize)txtName.Properties).EndInit(); |
| | | ((ISupportInitialize)txtModelType.Properties).EndInit(); |
| | | ((ISupportInitialize)txtCode.Properties).EndInit(); |
| | | ((ISupportInitialize)Root).EndInit(); |
| | | ((ISupportInitialize)groupForHead).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem4).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem5).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem6).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem7).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem8).EndInit(); |
| | | ((ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | | |
| | |
| | | private DevExpress.XtraGrid.Views.Grid.GridView gridView1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colName; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colFlagsString; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDescription; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colStartCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colEndCode; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colLinkStatus; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDiameter; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; |
| | | private BindingSource hydroValveViewModelBindingSource; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colValveType; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colValveSetting; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colDbLocked; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colModelType; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuFlow; |
| | |
| | | private DevExpress.XtraGrid.Columns.GridColumn colCalcuHeadLoss; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colHasDb; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colMaterial; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colOpeningDegree; |
| | | private DevExpress.XtraLayout.LayoutControl layoutControl1; |
| | | private DevExpress.XtraEditors.ImageComboBoxEdit imgCmbLinkStatus; |
| | | private DevExpress.XtraEditors.SimpleButton btnReset; |
| | | private DevExpress.XtraEditors.SimpleButton btnSet; |
| | | private DevExpress.XtraEditors.SimpleButton btnSearch; |
| | | private DevExpress.XtraEditors.TextEdit txtName; |
| | | private DevExpress.XtraEditors.TextEdit txtModelType; |
| | | private DevExpress.XtraEditors.TextEdit txtCode; |
| | | private DevExpress.XtraLayout.LayoutControlGroup Root; |
| | | private DevExpress.XtraLayout.LayoutControlGroup groupForHead; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colFlags; |
| | | private DevExpress.XtraGrid.Columns.GridColumn colSet; |
| | | private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; |
| | | } |
| | | } |