lixiaojun
2024-11-25 839d9f96be96108dc9ca9359b3db32596e7e2454
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
using DevExpress.Utils;
using DevExpress.XtraEditors;
using DevExpress.XtraLayout;
 
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 
    /// </summary>
    partial class SetHydroWorkingBottomCtrl
    {
        /// <summary> 
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
 
        /// <summary> 
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
 
        #region Component Designer generated code
 
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            ComponentResourceManager resources = new ComponentResourceManager(typeof(SetHydroWorkingBottomCtrl));
            layoutControl1 = new LayoutControl();
            btnOk = new SimpleButton();
            btnCancel = new SimpleButton();
            Root = new LayoutControlGroup();
            itemForCancelButton = new LayoutControlItem();
            itemForOkButton = new LayoutControlItem();
            emptySpaceItem1 = new EmptySpaceItem();
            ((ISupportInitialize)layoutControl1).BeginInit();
            layoutControl1.SuspendLayout();
            ((ISupportInitialize)Root).BeginInit();
            ((ISupportInitialize)itemForCancelButton).BeginInit();
            ((ISupportInitialize)itemForOkButton).BeginInit();
            ((ISupportInitialize)emptySpaceItem1).BeginInit();
            SuspendLayout();
            // 
            // layoutControl1
            // 
            layoutControl1.Controls.Add(btnOk);
            layoutControl1.Controls.Add(btnCancel);
            layoutControl1.Dock = DockStyle.Fill;
            layoutControl1.Location = new Point(0, 0);
            layoutControl1.Name = "layoutControl1";
            layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new Rectangle(517, 297, 650, 400);
            layoutControl1.Root = Root;
            layoutControl1.Size = new Size(520, 27);
            layoutControl1.TabIndex = 3;
            layoutControl1.Text = "layoutControl1";
            // 
            // btnOk
            // 
            btnOk.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary;
            btnOk.Appearance.ForeColor = Color.White;
            btnOk.Appearance.Options.UseBackColor = true;
            btnOk.Appearance.Options.UseForeColor = true;
            btnOk.ImageOptions.AllowGlyphSkinning = DefaultBoolean.True;
            btnOk.ImageOptions.ImageToTextAlignment = ImageAlignToText.LeftCenter;
            btnOk.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("btnOk.ImageOptions.SvgImage");
            btnOk.ImageOptions.SvgImageSize = new Size(16, 16);
            btnOk.Location = new Point(320, 2);
            btnOk.Name = "btnOk";
            btnOk.Size = new Size(98, 22);
            btnOk.StyleController = layoutControl1;
            btnOk.TabIndex = 6;
            btnOk.Text = "计算";
            btnOk.Click += btnOk_Click;
            // 
            // btnCancel
            // 
            btnCancel.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Warning;
            btnCancel.Appearance.Options.UseBackColor = true;
            btnCancel.DialogResult = DialogResult.Cancel;
            btnCancel.Location = new Point(422, 2);
            btnCancel.Name = "btnCancel";
            btnCancel.Size = new Size(98, 22);
            btnCancel.StyleController = layoutControl1;
            btnCancel.TabIndex = 5;
            btnCancel.Text = "取消";
            // 
            // Root
            // 
            Root.EnableIndentsWithoutBorders = DefaultBoolean.True;
            Root.GroupBordersVisible = false;
            Root.Items.AddRange(new BaseLayoutItem[] { itemForCancelButton, itemForOkButton, emptySpaceItem1 });
            Root.Name = "Root";
            Root.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            Root.Size = new Size(520, 27);
            Root.TextVisible = false;
            // 
            // itemForCancelButton
            // 
            itemForCancelButton.ContentHorzAlignment = HorzAlignment.Center;
            itemForCancelButton.ContentVertAlignment = VertAlignment.Center;
            itemForCancelButton.Control = btnCancel;
            itemForCancelButton.Location = new Point(420, 0);
            itemForCancelButton.MaxSize = new Size(100, 26);
            itemForCancelButton.MinSize = new Size(100, 26);
            itemForCancelButton.Name = "itemForCancelButton";
            itemForCancelButton.Padding = new DevExpress.XtraLayout.Utils.Padding(2, 0, 0, 0);
            itemForCancelButton.Size = new Size(100, 27);
            itemForCancelButton.SizeConstraintsType = SizeConstraintsType.Custom;
            itemForCancelButton.TextSize = new Size(0, 0);
            itemForCancelButton.TextVisible = false;
            // 
            // itemForOkButton
            // 
            itemForOkButton.ContentHorzAlignment = HorzAlignment.Center;
            itemForOkButton.ContentVertAlignment = VertAlignment.Center;
            itemForOkButton.Control = btnOk;
            itemForOkButton.Location = new Point(320, 0);
            itemForOkButton.MaxSize = new Size(100, 26);
            itemForOkButton.MinSize = new Size(100, 26);
            itemForOkButton.Name = "itemForOkButton";
            itemForOkButton.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 2, 0, 0);
            itemForOkButton.Size = new Size(100, 27);
            itemForOkButton.SizeConstraintsType = SizeConstraintsType.Custom;
            itemForOkButton.TextSize = new Size(0, 0);
            itemForOkButton.TextVisible = false;
            // 
            // emptySpaceItem1
            // 
            emptySpaceItem1.AllowHotTrack = false;
            emptySpaceItem1.Location = new Point(0, 0);
            emptySpaceItem1.MinSize = new Size(1, 1);
            emptySpaceItem1.Name = "emptySpaceItem1";
            emptySpaceItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
            emptySpaceItem1.Size = new Size(320, 27);
            emptySpaceItem1.SizeConstraintsType = SizeConstraintsType.Custom;
            emptySpaceItem1.TextSize = new Size(0, 0);
            // 
            // SetHydroWorkingBottomCtrl
            // 
            AutoScaleDimensions = new SizeF(7F, 14F);
            AutoScaleMode = AutoScaleMode.Font;
            Controls.Add(layoutControl1);
            Name = "SetHydroWorkingBottomCtrl";
            Size = new Size(520, 27);
            ((ISupportInitialize)layoutControl1).EndInit();
            layoutControl1.ResumeLayout(false);
            ((ISupportInitialize)Root).EndInit();
            ((ISupportInitialize)itemForCancelButton).EndInit();
            ((ISupportInitialize)itemForOkButton).EndInit();
            ((ISupportInitialize)emptySpaceItem1).EndInit();
            ResumeLayout(false);
        }
 
        #endregion
 
        private LayoutControl layoutControl1;
        private SimpleButton btnOk;
        private SimpleButton btnCancel;
        private LayoutControlGroup Root;
        private LayoutControlItem itemForCancelButton;
        private LayoutControlItem itemForOkButton;
        private EmptySpaceItem emptySpaceItem1;
    }
}