| | |
| | | private void InitializeComponent() |
| | | { |
| | | dataLayoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); |
| | | textEdit2 = new DevExpress.XtraEditors.TextEdit(); |
| | | simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); |
| | | textEdit1 = new DevExpress.XtraEditors.TextEdit(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); |
| | | layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((System.ComponentModel.ISupportInitialize)dataLayoutControl1).BeginInit(); |
| | | dataLayoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)textEdit2.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)textEdit1.Properties).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // dataLayoutControl1 |
| | | // |
| | | dataLayoutControl1.Controls.Add(textEdit2); |
| | | dataLayoutControl1.Controls.Add(simpleButton1); |
| | | dataLayoutControl1.Controls.Add(textEdit1); |
| | | dataLayoutControl1.Dock = DockStyle.Fill; |
| | | dataLayoutControl1.Location = new Point(0, 0); |
| | | dataLayoutControl1.Name = "dataLayoutControl1"; |
| | | dataLayoutControl1.Root = Root; |
| | | dataLayoutControl1.Size = new Size(377, 67); |
| | | dataLayoutControl1.Size = new Size(377, 113); |
| | | dataLayoutControl1.TabIndex = 0; |
| | | dataLayoutControl1.Text = "dataLayoutControl1"; |
| | | // |
| | | // textEdit2 |
| | | // |
| | | textEdit2.Location = new Point(120, 36); |
| | | textEdit2.Name = "textEdit2"; |
| | | textEdit2.Size = new Size(245, 20); |
| | | textEdit2.StyleController = dataLayoutControl1; |
| | | textEdit2.TabIndex = 6; |
| | | // |
| | | // simpleButton1 |
| | | // |
| | | simpleButton1.Location = new Point(259, 12); |
| | | simpleButton1.Location = new Point(190, 60); |
| | | simpleButton1.Name = "simpleButton1"; |
| | | simpleButton1.Size = new Size(106, 22); |
| | | simpleButton1.Size = new Size(175, 22); |
| | | simpleButton1.StyleController = dataLayoutControl1; |
| | | simpleButton1.TabIndex = 5; |
| | | simpleButton1.Text = "确定"; |
| | |
| | | // |
| | | // textEdit1 |
| | | // |
| | | textEdit1.Location = new Point(106, 12); |
| | | textEdit1.Location = new Point(120, 12); |
| | | textEdit1.Name = "textEdit1"; |
| | | textEdit1.Size = new Size(149, 20); |
| | | textEdit1.Size = new Size(245, 20); |
| | | textEdit1.StyleController = dataLayoutControl1; |
| | | textEdit1.TabIndex = 4; |
| | | // |
| | |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, emptySpaceItem1, layoutControlItem2 }); |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, emptySpaceItem1, layoutControlItem3, layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(377, 67); |
| | | Root.Size = new Size(377, 113); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | |
| | | layoutControlItem1.Control = textEdit1; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(247, 26); |
| | | layoutControlItem1.Size = new Size(357, 24); |
| | | layoutControlItem1.Text = "压力(MPa):"; |
| | | layoutControlItem1.TextSize = new Size(82, 14); |
| | | layoutControlItem1.TextSize = new Size(96, 14); |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 26); |
| | | emptySpaceItem1.Location = new Point(0, 48); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(357, 21); |
| | | emptySpaceItem1.Size = new Size(178, 45); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = textEdit2; |
| | | layoutControlItem3.Location = new Point(0, 24); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(357, 24); |
| | | layoutControlItem3.Text = "泵运行效率(%)"; |
| | | layoutControlItem3.TextSize = new Size(96, 14); |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | | layoutControlItem2.Control = simpleButton1; |
| | | layoutControlItem2.Location = new Point(247, 0); |
| | | layoutControlItem2.Location = new Point(178, 48); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(110, 26); |
| | | layoutControlItem2.Size = new Size(179, 45); |
| | | layoutControlItem2.TextSize = new Size(0, 0); |
| | | layoutControlItem2.TextVisible = false; |
| | | // |
| | |
| | | // |
| | | AutoScaleDimensions = new SizeF(7F, 17F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(377, 67); |
| | | ClientSize = new Size(377, 113); |
| | | Controls.Add(dataLayoutControl1); |
| | | MaximizeBox = false; |
| | | MinimizeBox = false; |
| | | Name = "SetPressForm"; |
| | | StartPosition = FormStartPosition.CenterScreen; |
| | | Text = "设置压力"; |
| | | Text = "参数配置"; |
| | | ((System.ComponentModel.ISupportInitialize)dataLayoutControl1).EndInit(); |
| | | dataLayoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)textEdit2.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)textEdit1.Properties).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)emptySpaceItem1).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem3).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)layoutControlItem2).EndInit(); |
| | | ResumeLayout(false); |
| | | } |
| | |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; |
| | | private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; |
| | | private DevExpress.XtraEditors.TextEdit textEdit2; |
| | | private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; |
| | | } |
| | | } |