From 0dcff1805b3143dd1c2a25d604afdd724b452803 Mon Sep 17 00:00:00 2001 From: duheng <2286773002@qq.com> Date: 星期二, 18 三月 2025 13:13:54 +0800 Subject: [PATCH] 修复引用报错 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/08-fourlink/HydroFourlinkListCtrl.Designer.cs | 338 ++++++++++++++++++++++--------------------------------- 1 files changed, 137 insertions(+), 201 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/08-fourlink/HydroFourlinkListCtrl.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/08-fourlink/HydroFourlinkListCtrl.Designer.cs index 4f13df1..e60e740 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/08-fourlink/HydroFourlinkListCtrl.Designer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/08-fourlink/HydroFourlinkListCtrl.Designer.cs @@ -29,12 +29,12 @@ private void InitializeComponent() { components = new Container(); - DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.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(); ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroFourlinkListCtrl)); - 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(); hydroFourlinkViewModelBindingSource = new BindingSource(components); gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); @@ -42,24 +42,20 @@ colCode = new DevExpress.XtraGrid.Columns.GridColumn(); colName = new DevExpress.XtraGrid.Columns.GridColumn(); colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); - colHasDb = new DevExpress.XtraGrid.Columns.GridColumn(); colMaterial = new DevExpress.XtraGrid.Columns.GridColumn(); colCaliber = new DevExpress.XtraGrid.Columns.GridColumn(); colElev = new DevExpress.XtraGrid.Columns.GridColumn(); colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); - colCalcuPress = new DevExpress.XtraGrid.Columns.GridColumn(); - colCalcuHead = new DevExpress.XtraGrid.Columns.GridColumn(); + colHasDb = 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(); + generalSearchAndSetCtrl1 = new GeneralSearchAndSetCtrl(); textEdit3 = new DevExpress.XtraEditors.TextEdit(); textEdit2 = new DevExpress.XtraEditors.TextEdit(); textEdit1 = new DevExpress.XtraEditors.TextEdit(); - 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(); @@ -68,15 +64,15 @@ 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(); layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); + layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); + colCalcuPr = new DevExpress.XtraGrid.Columns.GridColumn(); + colCalcuMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); + colBeginGroup = new DevExpress.XtraGrid.Columns.GridColumn(); ((ISupportInitialize)gridControl1).BeginInit(); ((ISupportInitialize)hydroFourlinkViewModelBindingSource).BeginInit(); ((ISupportInitialize)gridView1).BeginInit(); @@ -94,25 +90,22 @@ ((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)layoutControlItem9).BeginInit(); ((ISupportInitialize)simpleLabelItem1).BeginInit(); ((ISupportInitialize)layoutControlItem10).BeginInit(); + ((ISupportInitialize)layoutControlItem1).BeginInit(); ((ISupportInitialize)layoutControlItem11).BeginInit(); SuspendLayout(); // // gridControl1 // gridControl1.DataSource = hydroFourlinkViewModelBindingSource; - gridControl1.Location = new Point(2, 50); + gridControl1.Location = new Point(2, 52); gridControl1.MainView = gridView1; gridControl1.Name = "gridControl1"; gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repositoryItemButtonEdit1 }); - gridControl1.Size = new Size(1242, 571); + gridControl1.Size = new Size(1242, 569); gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // @@ -122,10 +115,9 @@ // // gridView1 // - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colHasDb, colMaterial, colCaliber, colElev, colMinorLoss, colCalcuPress, colCalcuHead, colFlags, colDescription, colSet }); + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colBeginGroup, colCode, colName, colModelType, colMaterial, colCaliber, colElev, colMinorLoss, colHasDb, colFlags, colDescription, colCalcuPr, colCalcuMinorLoss, colSet }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; - gridView1.OptionsFind.AlwaysVisible = true; gridView1.RowCellClick += gridView1_RowCellClick; // // colDbLocked @@ -146,7 +138,7 @@ colCode.MinWidth = 100; colCode.Name = "colCode"; colCode.Visible = true; - colCode.VisibleIndex = 2; + colCode.VisibleIndex = 3; colCode.Width = 100; // // colName @@ -156,7 +148,7 @@ colName.MinWidth = 100; colName.Name = "colName"; colName.Visible = true; - colName.VisibleIndex = 1; + colName.VisibleIndex = 2; colName.Width = 100; // // colModelType @@ -166,18 +158,8 @@ colModelType.MinWidth = 100; colModelType.Name = "colModelType"; colModelType.Visible = true; - colModelType.VisibleIndex = 3; + colModelType.VisibleIndex = 4; colModelType.Width = 100; - // - // colHasDb - // - colHasDb.FieldName = "HasDb"; - colHasDb.MaxWidth = 40; - colHasDb.MinWidth = 40; - colHasDb.Name = "colHasDb"; - colHasDb.Visible = true; - colHasDb.VisibleIndex = 10; - colHasDb.Width = 40; // // colMaterial // @@ -186,7 +168,7 @@ colMaterial.MinWidth = 100; colMaterial.Name = "colMaterial"; colMaterial.Visible = true; - colMaterial.VisibleIndex = 4; + colMaterial.VisibleIndex = 5; colMaterial.Width = 100; // // colCaliber @@ -196,7 +178,7 @@ colCaliber.MinWidth = 80; colCaliber.Name = "colCaliber"; colCaliber.Visible = true; - colCaliber.VisibleIndex = 5; + colCaliber.VisibleIndex = 6; colCaliber.Width = 80; // // colElev @@ -206,7 +188,7 @@ colElev.MinWidth = 80; colElev.Name = "colElev"; colElev.Visible = true; - colElev.VisibleIndex = 6; + colElev.VisibleIndex = 7; colElev.Width = 80; // // colMinorLoss @@ -216,28 +198,18 @@ colMinorLoss.MinWidth = 100; colMinorLoss.Name = "colMinorLoss"; colMinorLoss.Visible = true; - colMinorLoss.VisibleIndex = 7; + colMinorLoss.VisibleIndex = 8; colMinorLoss.Width = 100; // - // colCalcuPress + // colHasDb // - colCalcuPress.FieldName = "CalcuPress"; - colCalcuPress.MaxWidth = 100; - colCalcuPress.MinWidth = 100; - colCalcuPress.Name = "colCalcuPress"; - colCalcuPress.Visible = true; - colCalcuPress.VisibleIndex = 8; - colCalcuPress.Width = 100; - // - // colCalcuHead - // - colCalcuHead.FieldName = "CalcuHead"; - colCalcuHead.MaxWidth = 100; - colCalcuHead.MinWidth = 100; - colCalcuHead.Name = "colCalcuHead"; - colCalcuHead.Visible = true; - colCalcuHead.VisibleIndex = 9; - colCalcuHead.Width = 100; + colHasDb.FieldName = "HasDb"; + colHasDb.MaxWidth = 40; + colHasDb.MinWidth = 40; + colHasDb.Name = "colHasDb"; + colHasDb.Visible = true; + colHasDb.VisibleIndex = 9; + colHasDb.Width = 40; // // colFlags // @@ -246,7 +218,7 @@ colFlags.MinWidth = 100; colFlags.Name = "colFlags"; colFlags.Visible = true; - colFlags.VisibleIndex = 11; + colFlags.VisibleIndex = 10; colFlags.Width = 100; // // colDescription @@ -255,7 +227,7 @@ colDescription.MinWidth = 100; colDescription.Name = "colDescription"; colDescription.Visible = true; - colDescription.VisibleIndex = 12; + colDescription.VisibleIndex = 11; colDescription.Width = 100; // // colSet @@ -267,27 +239,25 @@ colSet.MinWidth = 60; colSet.Name = "colSet"; colSet.Visible = true; - colSet.VisibleIndex = 13; + colSet.VisibleIndex = 14; colSet.Width = 60; // // repositoryItemButtonEdit1 // 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) }); + editorButtonImageOptions2.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("editorButtonImageOptions2.SvgImage"); + editorButtonImageOptions2.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, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; // // layoutControl1 // + layoutControl1.Controls.Add(generalSearchAndSetCtrl1); layoutControl1.Controls.Add(gridControl1); layoutControl1.Controls.Add(textEdit3); layoutControl1.Controls.Add(textEdit2); layoutControl1.Controls.Add(textEdit1); - layoutControl1.Controls.Add(btnReset); - layoutControl1.Controls.Add(btnSet); - layoutControl1.Controls.Add(btnSearch); layoutControl1.Controls.Add(txtName); layoutControl1.Controls.Add(txtModelType); layoutControl1.Controls.Add(txtCode); @@ -300,101 +270,67 @@ layoutControl1.TabIndex = 2; layoutControl1.Text = "layoutControl1"; // + // generalSearchAndSetCtrl1 + // + generalSearchAndSetCtrl1.Location = new Point(782, 14); + generalSearchAndSetCtrl1.Margin = new Padding(2, 2, 2, 2); + generalSearchAndSetCtrl1.Name = "generalSearchAndSetCtrl1"; + generalSearchAndSetCtrl1.Size = new Size(450, 24); + generalSearchAndSetCtrl1.TabIndex = 11; + // // textEdit3 // - textEdit3.Location = new Point(728, 14); + textEdit3.Location = new Point(728, 16); textEdit3.Name = "textEdit3"; textEdit3.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; - textEdit3.Properties.AutoHeight = false; textEdit3.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); textEdit3.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); textEdit3.Properties.NullValuePrompt = "mm"; - textEdit3.Size = new Size(50, 22); + textEdit3.Size = new Size(50, 20); textEdit3.StyleController = layoutControl1; textEdit3.TabIndex = 10; // // textEdit2 // - textEdit2.Location = new Point(654, 14); + textEdit2.Location = new Point(654, 16); textEdit2.Name = "textEdit2"; textEdit2.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; - textEdit2.Properties.AutoHeight = false; textEdit2.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager)); textEdit2.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False"); textEdit2.Properties.NullValuePrompt = "mm"; - textEdit2.Size = new Size(50, 22); + textEdit2.Size = new Size(50, 20); textEdit2.StyleController = layoutControl1; textEdit2.TabIndex = 9; // // textEdit1 // - textEdit1.Location = new Point(504, 14); + textEdit1.Location = new Point(504, 16); textEdit1.Name = "textEdit1"; - textEdit1.Properties.AutoHeight = false; - textEdit1.Size = new Size(106, 22); + textEdit1.Size = new Size(106, 20); textEdit1.StyleController = layoutControl1; textEdit1.TabIndex = 8; // - // btnReset - // - btnReset.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; - btnReset.Appearance.Options.UseBackColor = true; - btnReset.Location = new Point(882, 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(1136, 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(782, 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.Location = new Point(54, 16); txtName.Name = "txtName"; - txtName.Properties.AutoHeight = false; - txtName.Size = new Size(106, 22); + txtName.Size = new Size(106, 20); txtName.StyleController = layoutControl1; txtName.TabIndex = 0; // // txtModelType // - txtModelType.Location = new Point(354, 14); + txtModelType.Location = new Point(354, 16); txtModelType.Name = "txtModelType"; - txtModelType.Properties.AutoHeight = false; - txtModelType.Size = new Size(106, 22); + txtModelType.Size = new Size(106, 20); txtModelType.StyleController = layoutControl1; txtModelType.TabIndex = 3; // // txtCode // - txtCode.Location = new Point(204, 14); + txtCode.Location = new Point(204, 16); txtCode.Name = "txtCode"; - txtCode.Properties.AutoHeight = false; - txtCode.Size = new Size(106, 22); + txtCode.Size = new Size(106, 20); txtCode.StyleController = layoutControl1; txtCode.TabIndex = 2; // @@ -412,113 +348,74 @@ // // groupForHead // - groupForHead.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4, layoutControlItem2, layoutControlItem3, emptySpaceItem1, layoutControlItem5, layoutControlItem6, layoutControlItem7, layoutControlItem8, layoutControlItem9, simpleLabelItem1, layoutControlItem10 }); + groupForHead.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem4, layoutControlItem2, layoutControlItem3, layoutControlItem8, layoutControlItem9, simpleLabelItem1, layoutControlItem10, layoutControlItem1 }); groupForHead.Location = new Point(0, 0); groupForHead.Name = "groupForHead"; - groupForHead.Size = new Size(1246, 50); + groupForHead.Size = new Size(1246, 52); groupForHead.Text = "鏌ヨ鏉′欢"; groupForHead.TextVisible = false; // // layoutControlItem4 // + layoutControlItem4.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; layoutControlItem4.Control = txtName; layoutControlItem4.Location = new Point(0, 0); - layoutControlItem4.MaxSize = new Size(150, 26); - layoutControlItem4.MinSize = new Size(150, 26); + layoutControlItem4.MaxSize = new Size(150, 0); + layoutControlItem4.MinSize = new Size(150, 24); layoutControlItem4.Name = "layoutControlItem4"; - layoutControlItem4.Size = new Size(150, 26); + layoutControlItem4.Size = new Size(150, 28); layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem4.Text = "鍚嶇О:"; layoutControlItem4.TextSize = new Size(28, 14); // // layoutControlItem2 // + layoutControlItem2.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; layoutControlItem2.Control = txtCode; layoutControlItem2.Location = new Point(150, 0); - layoutControlItem2.MaxSize = new Size(150, 26); - layoutControlItem2.MinSize = new Size(150, 26); + layoutControlItem2.MaxSize = new Size(150, 0); + layoutControlItem2.MinSize = new Size(150, 24); layoutControlItem2.Name = "layoutControlItem2"; - layoutControlItem2.Size = new Size(150, 26); + layoutControlItem2.Size = new Size(150, 28); layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem2.Text = "缂栫爜:"; layoutControlItem2.TextSize = new Size(28, 14); // // layoutControlItem3 // + layoutControlItem3.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; layoutControlItem3.Control = txtModelType; layoutControlItem3.Location = new Point(300, 0); - layoutControlItem3.MaxSize = new Size(150, 26); - layoutControlItem3.MinSize = new Size(150, 26); + layoutControlItem3.MaxSize = new Size(150, 0); + layoutControlItem3.MinSize = new Size(150, 24); layoutControlItem3.Name = "layoutControlItem3"; - layoutControlItem3.Size = new Size(150, 26); + layoutControlItem3.Size = new Size(150, 28); layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem3.Text = "鍨嬪彿:"; layoutControlItem3.TextSize = new Size(28, 14); // - // emptySpaceItem1 - // - emptySpaceItem1.AllowHotTrack = false; - emptySpaceItem1.Location = new Point(968, 0); - emptySpaceItem1.Name = "emptySpaceItem1"; - emptySpaceItem1.Size = new Size(154, 26); - emptySpaceItem1.TextSize = new Size(0, 0); - // - // layoutControlItem5 - // - layoutControlItem5.Control = btnSearch; - layoutControlItem5.Location = new Point(768, 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(1122, 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(868, 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.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; layoutControlItem8.Control = textEdit1; layoutControlItem8.Location = new Point(450, 0); - layoutControlItem8.MaxSize = new Size(150, 26); - layoutControlItem8.MinSize = new Size(150, 26); + layoutControlItem8.MaxSize = new Size(150, 0); + layoutControlItem8.MinSize = new Size(150, 24); layoutControlItem8.Name = "layoutControlItem8"; - layoutControlItem8.Size = new Size(150, 26); + layoutControlItem8.Size = new Size(150, 28); layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem8.Text = "鏉愯川:"; layoutControlItem8.TextSize = new Size(28, 14); // // layoutControlItem9 // + layoutControlItem9.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; layoutControlItem9.Control = textEdit2; layoutControlItem9.Location = new Point(600, 0); - layoutControlItem9.MaxSize = new Size(94, 26); - layoutControlItem9.MinSize = new Size(94, 26); + layoutControlItem9.MaxSize = new Size(94, 0); + layoutControlItem9.MinSize = new Size(94, 24); layoutControlItem9.Name = "layoutControlItem9"; - layoutControlItem9.Size = new Size(94, 26); + layoutControlItem9.Size = new Size(94, 28); layoutControlItem9.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem9.Text = "鍙e緞:"; layoutControlItem9.TextSize = new Size(28, 14); @@ -532,7 +429,7 @@ simpleLabelItem1.MaxSize = new Size(20, 18); simpleLabelItem1.MinSize = new Size(20, 18); simpleLabelItem1.Name = "simpleLabelItem1"; - simpleLabelItem1.Size = new Size(20, 26); + simpleLabelItem1.Size = new Size(20, 28); simpleLabelItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; simpleLabelItem1.Text = "-"; simpleLabelItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; @@ -540,25 +437,71 @@ // // layoutControlItem10 // + layoutControlItem10.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center; layoutControlItem10.Control = textEdit3; layoutControlItem10.Location = new Point(714, 0); - layoutControlItem10.MaxSize = new Size(54, 26); - layoutControlItem10.MinSize = new Size(54, 26); + layoutControlItem10.MaxSize = new Size(54, 0); + layoutControlItem10.MinSize = new Size(54, 24); layoutControlItem10.Name = "layoutControlItem10"; - layoutControlItem10.Size = new Size(54, 26); + layoutControlItem10.Size = new Size(54, 28); layoutControlItem10.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; layoutControlItem10.TextSize = new Size(0, 0); layoutControlItem10.TextVisible = false; // + // layoutControlItem1 + // + layoutControlItem1.Control = generalSearchAndSetCtrl1; + layoutControlItem1.Location = new Point(768, 0); + layoutControlItem1.Name = "layoutControlItem1"; + layoutControlItem1.Size = new Size(454, 28); + layoutControlItem1.TextSize = new Size(0, 0); + layoutControlItem1.TextVisible = false; + // // layoutControlItem11 // layoutControlItem11.Control = gridControl1; - layoutControlItem11.Location = new Point(0, 50); + layoutControlItem11.Location = new Point(0, 52); layoutControlItem11.Name = "layoutControlItem11"; layoutControlItem11.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 2, 0, 2); - layoutControlItem11.Size = new Size(1246, 573); + layoutControlItem11.Size = new Size(1246, 571); layoutControlItem11.TextSize = new Size(0, 0); layoutControlItem11.TextVisible = false; + // + // colCalcuPr + // + colCalcuPr.FieldName = "CalcuPr"; + colCalcuPr.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; + colCalcuPr.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuPr.ImageOptions.SvgImage"); + colCalcuPr.ImageOptions.SvgImageSize = new Size(16, 16); + colCalcuPr.MaxWidth = 100; + colCalcuPr.MinWidth = 100; + colCalcuPr.Name = "colCalcuPr"; + colCalcuPr.Visible = true; + colCalcuPr.VisibleIndex = 12; + colCalcuPr.Width = 100; + // + // colCalcuMinorLoss + // + colCalcuMinorLoss.FieldName = "CalcuMinorLoss"; + colCalcuMinorLoss.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right; + colCalcuMinorLoss.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuMinorLoss.ImageOptions.SvgImage"); + colCalcuMinorLoss.ImageOptions.SvgImageSize = new Size(16, 16); + colCalcuMinorLoss.MaxWidth = 100; + colCalcuMinorLoss.MinWidth = 100; + colCalcuMinorLoss.Name = "colCalcuMinorLoss"; + colCalcuMinorLoss.Visible = true; + colCalcuMinorLoss.VisibleIndex = 13; + colCalcuMinorLoss.Width = 100; + // + // colBeginGroup + // + colBeginGroup.FieldName = "BeginGroup"; + colBeginGroup.MaxWidth = 100; + colBeginGroup.MinWidth = 100; + colBeginGroup.Name = "colBeginGroup"; + colBeginGroup.Visible = true; + colBeginGroup.VisibleIndex = 1; + colBeginGroup.Width = 100; // // HydroFourlinkListCtrl // @@ -584,14 +527,11 @@ ((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)layoutControlItem9).EndInit(); ((ISupportInitialize)simpleLabelItem1).EndInit(); ((ISupportInitialize)layoutControlItem10).EndInit(); + ((ISupportInitialize)layoutControlItem1).EndInit(); ((ISupportInitialize)layoutControlItem11).EndInit(); ResumeLayout(false); } @@ -610,16 +550,11 @@ private DevExpress.XtraGrid.Columns.GridColumn colCaliber; private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; private DevExpress.XtraGrid.Columns.GridColumn colModelType; - private DevExpress.XtraGrid.Columns.GridColumn colCalcuPress; - private DevExpress.XtraGrid.Columns.GridColumn colCalcuHead; private DevExpress.XtraGrid.Columns.GridColumn colHasDb; private DevExpress.XtraLayout.LayoutControl layoutControl1; private DevExpress.XtraEditors.TextEdit textEdit3; private DevExpress.XtraEditors.TextEdit textEdit2; private DevExpress.XtraEditors.TextEdit textEdit1; - 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; @@ -628,10 +563,6 @@ 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 layoutControlItem9; private DevExpress.XtraLayout.SimpleLabelItem simpleLabelItem1; @@ -640,5 +571,10 @@ private DevExpress.XtraGrid.Columns.GridColumn colFlags; private DevExpress.XtraGrid.Columns.GridColumn colSet; private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; + private GeneralSearchAndSetCtrl generalSearchAndSetCtrl1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; + private DevExpress.XtraGrid.Columns.GridColumn colBeginGroup; + private DevExpress.XtraGrid.Columns.GridColumn colCalcuPr; + private DevExpress.XtraGrid.Columns.GridColumn colCalcuMinorLoss; } } -- Gitblit v1.9.3