| | |
| | | layoutControl1.Name = "layoutControl1"; |
| | | layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(924, 0, 975, 600); |
| | | layoutControl1.Root = Root; |
| | | layoutControl1.Size = new Size(319, 120); |
| | | layoutControl1.Size = new Size(325, 124); |
| | | layoutControl1.TabIndex = 2; |
| | | layoutControl1.Text = "layoutControl1"; |
| | | // |
| | |
| | | btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning; |
| | | btnCancel.Appearance.Options.UseBackColor = true; |
| | | btnCancel.DialogResult = DialogResult.Cancel; |
| | | btnCancel.Location = new Point(235, 76); |
| | | btnCancel.Location = new Point(239, 76); |
| | | btnCancel.Margin = new Padding(4, 5, 4, 5); |
| | | btnCancel.Name = "btnCancel"; |
| | | btnCancel.Size = new Size(72, 32); |
| | | btnCancel.Size = new Size(74, 32); |
| | | btnCancel.StyleController = layoutControl1; |
| | | btnCancel.TabIndex = 10; |
| | | btnCancel.Text = "取消"; |
| | |
| | | // |
| | | btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary; |
| | | btnOk.Appearance.Options.UseBackColor = true; |
| | | btnOk.Location = new Point(161, 76); |
| | | btnOk.Location = new Point(164, 76); |
| | | btnOk.Margin = new Padding(4, 5, 4, 5); |
| | | btnOk.Name = "btnOk"; |
| | | btnOk.Size = new Size(70, 32); |
| | | btnOk.Size = new Size(71, 32); |
| | | btnOk.StyleController = layoutControl1; |
| | | btnOk.TabIndex = 9; |
| | | btnOk.Text = "确定"; |
| | |
| | | // |
| | | txtX.Location = new Point(78, 12); |
| | | txtX.Name = "txtX"; |
| | | txtX.Size = new Size(229, 28); |
| | | txtX.Size = new Size(235, 28); |
| | | txtX.StyleController = layoutControl1; |
| | | txtX.TabIndex = 4; |
| | | // |
| | |
| | | // |
| | | txtY.Location = new Point(78, 44); |
| | | txtY.Name = "txtY"; |
| | | txtY.Size = new Size(229, 28); |
| | | txtY.Size = new Size(235, 28); |
| | | txtY.StyleController = layoutControl1; |
| | | txtY.TabIndex = 5; |
| | | // |
| | |
| | | Root.GroupBordersVisible = false; |
| | | Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { layoutControlItem1, layoutControlItem2, layoutControlItem3, emptySpaceItem1, layoutControlItem4 }); |
| | | Root.Name = "Root"; |
| | | Root.Size = new Size(319, 120); |
| | | Root.Size = new Size(325, 124); |
| | | Root.TextVisible = false; |
| | | // |
| | | // layoutControlItem1 |
| | |
| | | layoutControlItem1.Control = txtX; |
| | | layoutControlItem1.Location = new Point(0, 0); |
| | | layoutControlItem1.Name = "layoutControlItem1"; |
| | | layoutControlItem1.Size = new Size(299, 32); |
| | | layoutControlItem1.Size = new Size(305, 32); |
| | | layoutControlItem1.Text = "流量:"; |
| | | layoutControlItem1.TextSize = new Size(54, 22); |
| | | // |
| | |
| | | layoutControlItem2.Control = txtY; |
| | | layoutControlItem2.Location = new Point(0, 32); |
| | | layoutControlItem2.Name = "layoutControlItem2"; |
| | | layoutControlItem2.Size = new Size(299, 32); |
| | | layoutControlItem2.Size = new Size(305, 32); |
| | | layoutControlItem2.Text = "扬程:"; |
| | | layoutControlItem2.TextSize = new Size(54, 22); |
| | | // |
| | | // layoutControlItem3 |
| | | // |
| | | layoutControlItem3.Control = btnCancel; |
| | | layoutControlItem3.Location = new Point(223, 64); |
| | | layoutControlItem3.Location = new Point(227, 64); |
| | | layoutControlItem3.Name = "layoutControlItem3"; |
| | | layoutControlItem3.Size = new Size(76, 36); |
| | | layoutControlItem3.Size = new Size(78, 40); |
| | | layoutControlItem3.TextSize = new Size(0, 0); |
| | | layoutControlItem3.TextVisible = false; |
| | | // |
| | |
| | | emptySpaceItem1.AllowHotTrack = false; |
| | | emptySpaceItem1.Location = new Point(0, 64); |
| | | emptySpaceItem1.Name = "emptySpaceItem1"; |
| | | emptySpaceItem1.Size = new Size(149, 36); |
| | | emptySpaceItem1.Size = new Size(152, 40); |
| | | emptySpaceItem1.TextSize = new Size(0, 0); |
| | | // |
| | | // layoutControlItem4 |
| | | // |
| | | layoutControlItem4.Control = btnOk; |
| | | layoutControlItem4.Location = new Point(149, 64); |
| | | layoutControlItem4.Location = new Point(152, 64); |
| | | layoutControlItem4.Name = "layoutControlItem4"; |
| | | layoutControlItem4.Size = new Size(74, 36); |
| | | layoutControlItem4.Size = new Size(75, 40); |
| | | layoutControlItem4.TextSize = new Size(0, 0); |
| | | layoutControlItem4.TextVisible = false; |
| | | // |
| | |
| | | // |
| | | AutoScaleDimensions = new SizeF(10F, 22F); |
| | | AutoScaleMode = AutoScaleMode.Font; |
| | | ClientSize = new Size(319, 120); |
| | | ClientSize = new Size(325, 124); |
| | | Controls.Add(layoutControl1); |
| | | IconOptions.ShowIcon = false; |
| | | Margin = new Padding(4, 5, 4, 5); |