-
Notifications
You must be signed in to change notification settings - Fork 2
/
TextGenerator.Designer.cs
305 lines (300 loc) · 11.6 KB
/
TextGenerator.Designer.cs
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
namespace GCEd
{
partial class TextGenerator
{
/// <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 Windows Form 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()
{
tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
label1 = new System.Windows.Forms.Label();
label2 = new System.Windows.Forms.Label();
label3 = new System.Windows.Forms.Label();
label4 = new System.Windows.Forms.Label();
textBoxText = new System.Windows.Forms.TextBox();
textBoxFont = new System.Windows.Forms.TextBox();
textBoxWidth = new System.Windows.Forms.TextBox();
textBoxHeight = new System.Windows.Forms.TextBox();
buttonFont = new System.Windows.Forms.Button();
panelPreview = new DoubleBufferedPanel();
flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
buttonOK = new System.Windows.Forms.Button();
buttonCancel = new System.Windows.Forms.Button();
label5 = new System.Windows.Forms.Label();
label6 = new System.Windows.Forms.Label();
textBoxX = new System.Windows.Forms.TextBox();
textBoxY = new System.Windows.Forms.TextBox();
fontDialog = new System.Windows.Forms.FontDialog();
tableLayoutPanel1.SuspendLayout();
flowLayoutPanel1.SuspendLayout();
SuspendLayout();
//
// tableLayoutPanel1
//
tableLayoutPanel1.ColumnCount = 5;
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
tableLayoutPanel1.Controls.Add(label1, 0, 0);
tableLayoutPanel1.Controls.Add(label2, 0, 1);
tableLayoutPanel1.Controls.Add(label3, 0, 2);
tableLayoutPanel1.Controls.Add(label4, 0, 3);
tableLayoutPanel1.Controls.Add(textBoxText, 1, 0);
tableLayoutPanel1.Controls.Add(textBoxFont, 1, 1);
tableLayoutPanel1.Controls.Add(textBoxWidth, 1, 2);
tableLayoutPanel1.Controls.Add(textBoxHeight, 1, 3);
tableLayoutPanel1.Controls.Add(buttonFont, 4, 1);
tableLayoutPanel1.Controls.Add(panelPreview, 0, 4);
tableLayoutPanel1.Controls.Add(flowLayoutPanel1, 0, 5);
tableLayoutPanel1.Controls.Add(label5, 2, 2);
tableLayoutPanel1.Controls.Add(label6, 2, 3);
tableLayoutPanel1.Controls.Add(textBoxX, 3, 2);
tableLayoutPanel1.Controls.Add(textBoxY, 3, 3);
tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 6;
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
tableLayoutPanel1.Size = new System.Drawing.Size(800, 450);
tableLayoutPanel1.TabIndex = 0;
//
// label1
//
label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
label1.AutoSize = true;
label1.Location = new System.Drawing.Point(18, 22);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(28, 15);
label1.TabIndex = 0;
label1.Text = "Text";
//
// label2
//
label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
label2.AutoSize = true;
label2.Location = new System.Drawing.Point(15, 68);
label2.Name = "label2";
label2.Size = new System.Drawing.Size(31, 15);
label2.TabIndex = 0;
label2.Text = "Font";
//
// label3
//
label3.Anchor = System.Windows.Forms.AnchorStyles.Right;
label3.AutoSize = true;
label3.Location = new System.Drawing.Point(7, 98);
label3.Name = "label3";
label3.Size = new System.Drawing.Size(39, 15);
label3.TabIndex = 0;
label3.Text = "Width";
//
// label4
//
label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
label4.AutoSize = true;
label4.Location = new System.Drawing.Point(3, 127);
label4.Name = "label4";
label4.Size = new System.Drawing.Size(43, 15);
label4.TabIndex = 0;
label4.Text = "Height";
//
// textBoxText
//
textBoxText.AcceptsReturn = true;
textBoxText.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
tableLayoutPanel1.SetColumnSpan(textBoxText, 4);
textBoxText.Location = new System.Drawing.Point(52, 3);
textBoxText.Multiline = true;
textBoxText.Name = "textBoxText";
textBoxText.Size = new System.Drawing.Size(745, 54);
textBoxText.TabIndex = 1;
textBoxText.TextChanged += textBoxText_TextChanged;
//
// textBoxFont
//
textBoxFont.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
tableLayoutPanel1.SetColumnSpan(textBoxFont, 3);
textBoxFont.Location = new System.Drawing.Point(52, 64);
textBoxFont.Name = "textBoxFont";
textBoxFont.Size = new System.Drawing.Size(713, 23);
textBoxFont.TabIndex = 2;
textBoxFont.TextChanged += textBoxFont_TextChanged;
//
// textBoxWidth
//
textBoxWidth.Anchor = System.Windows.Forms.AnchorStyles.Left;
textBoxWidth.Location = new System.Drawing.Point(52, 94);
textBoxWidth.Name = "textBoxWidth";
textBoxWidth.Size = new System.Drawing.Size(74, 23);
textBoxWidth.TabIndex = 3;
textBoxWidth.TextChanged += textBoxWidth_TextChanged;
//
// textBoxHeight
//
textBoxHeight.Anchor = System.Windows.Forms.AnchorStyles.Left;
textBoxHeight.Location = new System.Drawing.Point(52, 123);
textBoxHeight.Name = "textBoxHeight";
textBoxHeight.Size = new System.Drawing.Size(74, 23);
textBoxHeight.TabIndex = 4;
textBoxHeight.TextChanged += textBoxHeight_TextChanged;
//
// buttonFont
//
buttonFont.AutoSize = true;
buttonFont.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
buttonFont.Location = new System.Drawing.Point(771, 63);
buttonFont.Name = "buttonFont";
buttonFont.Size = new System.Drawing.Size(26, 25);
buttonFont.TabIndex = 5;
buttonFont.Text = "...";
buttonFont.UseVisualStyleBackColor = true;
buttonFont.Click += buttonFont_Click;
//
// panelPreview
//
panelPreview.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
tableLayoutPanel1.SetColumnSpan(panelPreview, 5);
panelPreview.Location = new System.Drawing.Point(3, 152);
panelPreview.Name = "panelPreview";
panelPreview.Size = new System.Drawing.Size(794, 260);
panelPreview.TabIndex = 6;
panelPreview.Paint += panelPreview_Paint;
//
// flowLayoutPanel1
//
flowLayoutPanel1.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
flowLayoutPanel1.AutoSize = true;
flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
tableLayoutPanel1.SetColumnSpan(flowLayoutPanel1, 5);
flowLayoutPanel1.Controls.Add(buttonOK);
flowLayoutPanel1.Controls.Add(buttonCancel);
flowLayoutPanel1.Location = new System.Drawing.Point(3, 418);
flowLayoutPanel1.Name = "flowLayoutPanel1";
flowLayoutPanel1.Size = new System.Drawing.Size(794, 29);
flowLayoutPanel1.TabIndex = 7;
//
// buttonOK
//
buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
buttonOK.Location = new System.Drawing.Point(3, 3);
buttonOK.Name = "buttonOK";
buttonOK.Size = new System.Drawing.Size(75, 23);
buttonOK.TabIndex = 0;
buttonOK.Text = "OK";
buttonOK.UseVisualStyleBackColor = true;
//
// buttonCancel
//
buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
buttonCancel.Location = new System.Drawing.Point(84, 3);
buttonCancel.Name = "buttonCancel";
buttonCancel.Size = new System.Drawing.Size(75, 23);
buttonCancel.TabIndex = 1;
buttonCancel.Text = "Cancel";
buttonCancel.UseVisualStyleBackColor = true;
//
// label5
//
label5.Anchor = System.Windows.Forms.AnchorStyles.Right;
label5.AutoSize = true;
label5.Location = new System.Drawing.Point(132, 98);
label5.Name = "label5";
label5.Size = new System.Drawing.Size(14, 15);
label5.TabIndex = 0;
label5.Text = "X";
//
// label6
//
label6.Anchor = System.Windows.Forms.AnchorStyles.Right;
label6.AutoSize = true;
label6.Location = new System.Drawing.Point(132, 127);
label6.Name = "label6";
label6.Size = new System.Drawing.Size(14, 15);
label6.TabIndex = 0;
label6.Text = "Y";
//
// textBoxX
//
textBoxX.Anchor = System.Windows.Forms.AnchorStyles.Left;
textBoxX.Location = new System.Drawing.Point(152, 94);
textBoxX.Name = "textBoxX";
textBoxX.Size = new System.Drawing.Size(74, 23);
textBoxX.TabIndex = 3;
textBoxX.TextChanged += textBoxX_TextChanged;
//
// textBoxY
//
textBoxY.Anchor = System.Windows.Forms.AnchorStyles.Left;
textBoxY.Location = new System.Drawing.Point(152, 123);
textBoxY.Name = "textBoxY";
textBoxY.Size = new System.Drawing.Size(74, 23);
textBoxY.TabIndex = 4;
textBoxY.TextChanged += textBoxY_TextChanged;
//
// fontDialog
//
fontDialog.ShowEffects = false;
//
// TextGenerator
//
AcceptButton = buttonOK;
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
CancelButton = buttonCancel;
ClientSize = new System.Drawing.Size(800, 450);
Controls.Add(tableLayoutPanel1);
Name = "TextGenerator";
Text = "Text generator";
tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel1.PerformLayout();
flowLayoutPanel1.ResumeLayout(false);
ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox textBoxText;
private System.Windows.Forms.TextBox textBoxFont;
private System.Windows.Forms.TextBox textBoxWidth;
private System.Windows.Forms.TextBox textBoxHeight;
private System.Windows.Forms.Button buttonFont;
private DoubleBufferedPanel panelPreview;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
private System.Windows.Forms.Button buttonOK;
private System.Windows.Forms.Button buttonCancel;
private System.Windows.Forms.FontDialog fontDialog;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBoxX;
private System.Windows.Forms.TextBox textBoxY;
}
}