| | |
| | | private void InitializeComponent() |
| | | { |
| | | dataLayoutControl1 = new DevExpress.XtraDataLayout.DataLayoutControl(); |
| | | Root = new DevExpress.XtraLayout.LayoutControlGroup(); |
| | | 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(); |
| | | simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); |
| | | layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); |
| | | ((System.ComponentModel.ISupportInitialize)dataLayoutControl1).BeginInit(); |
| | | dataLayoutControl1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)Root).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)layoutControlItem2).BeginInit(); |
| | |
| | | dataLayoutControl1.TabIndex = 0; |
| | | dataLayoutControl1.Text = "dataLayoutControl1"; |
| | | // |
| | | // Root |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, emptySpaceItem1, layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(377, 67); |
| | | Root.TextVisible = false; |
| | | // |
| | | // textEdit1 |
| | | // |
| | | textEdit1.Location = new Point(60, 12); |
| | | textEdit1.Name = "textEdit1"; |
| | | textEdit1.Size = new Size(195, 20); |
| | | textEdit1.StyleController = dataLayoutControl1; |
| | | textEdit1.TabIndex = 4; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = textEdit1; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(247, 26); |
| | | layoutControlItem1.Text = "压力:"; |
| | | layoutControlItem1.TextSize = new Size(36, 14); |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 26); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(357, 21); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // simpleButton1 |
| | | // |
| | | simpleButton1.Location = new Point(259, 12); |
| | |
| | | simpleButton1.TabIndex = 5; |
| | | simpleButton1.Text = "确定"; |
| | | simpleButton1.Click += simpleButton1_Click; |
| | | // |
| | | // textEdit1 |
| | | // |
| | | textEdit1.Location = new Point(106, 12); |
| | | textEdit1.Name = "textEdit1"; |
| | | textEdit1.Size = new Size(149, 20); |
| | | textEdit1.StyleController = dataLayoutControl1; |
| | | textEdit1.TabIndex = 4; |
| | | // |
| | | // Root |
| | | // |
| | | Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, emptySpaceItem1, layoutControlItem2 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(377, 67); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | | // |
| | | layoutControlItem1.Control = textEdit1; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(247, 26); |
| | | layoutControlItem1.Text = "压力(MPa):"; |
| | | layoutControlItem1.TextSize = new Size(82, 14); |
| | | // |
| | | // emptySpaceItem1 |
| | | // |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 26); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(357, 21); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem2 |
| | | // |
| | |
| | | Text = "设置压力"; |
| | | ((System.ComponentModel.ISupportInitialize)dataLayoutControl1).EndInit(); |
| | | dataLayoutControl1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)Root).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)layoutControlItem2).EndInit(); |