-
Notifications
You must be signed in to change notification settings - Fork 0
/
Form1.Designer.cs
155 lines (150 loc) · 5.47 KB
/
Form1.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
namespace MVPAreaFinder
{
partial class Form1
{
/// <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()
{
label1 = new Label();
labelWidth = new Label();
labelHeight = new Label();
buttonCalculate = new Button();
labelResult = new Label();
textBoxWidth = new TextBox();
textBoxHeight = new TextBox();
comboBoxShapes = new ComboBox();
label2 = new Label();
SuspendLayout();
//
// label1
//
label1.AutoSize = true;
label1.Font = new Font("Segoe UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 162);
label1.Location = new Point(47, 20);
label1.Name = "label1";
label1.Size = new Size(225, 15);
label1.TabIndex = 0;
label1.Text = "AREA FINDER WITH MVP PATERN DESIGN";
//
// labelWidth
//
labelWidth.AutoSize = true;
labelWidth.Location = new Point(12, 96);
labelWidth.Name = "labelWidth";
labelWidth.Size = new Size(48, 15);
labelWidth.TabIndex = 1;
labelWidth.Text = "Width :";
//
// labelHeight
//
labelHeight.AutoSize = true;
labelHeight.Location = new Point(12, 128);
labelHeight.Name = "labelHeight";
labelHeight.Size = new Size(49, 15);
labelHeight.TabIndex = 2;
labelHeight.Text = "Height :";
//
// buttonCalculate
//
buttonCalculate.Location = new Point(192, 62);
buttonCalculate.Name = "buttonCalculate";
buttonCalculate.Size = new Size(106, 23);
buttonCalculate.TabIndex = 3;
buttonCalculate.Text = "Calculate";
buttonCalculate.UseVisualStyleBackColor = true;
buttonCalculate.Click += buttonCalculate_Click;
//
// labelResult
//
labelResult.AutoSize = true;
labelResult.Font = new Font("Segoe UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 162);
labelResult.Location = new Point(138, 175);
labelResult.Name = "labelResult";
labelResult.Size = new Size(0, 21);
labelResult.TabIndex = 4;
//
// textBoxWidth
//
textBoxWidth.Location = new Point(71, 93);
textBoxWidth.Name = "textBoxWidth";
textBoxWidth.Size = new Size(227, 23);
textBoxWidth.TabIndex = 5;
//
// textBoxHeight
//
textBoxHeight.Location = new Point(71, 125);
textBoxHeight.Name = "textBoxHeight";
textBoxHeight.Size = new Size(227, 23);
textBoxHeight.TabIndex = 6;
//
// comboBoxShapes
//
comboBoxShapes.DropDownStyle = ComboBoxStyle.DropDownList;
comboBoxShapes.FormattingEnabled = true;
comboBoxShapes.Items.AddRange(new object[] { "Rectangle", "Square" });
comboBoxShapes.Location = new Point(71, 62);
comboBoxShapes.Name = "comboBoxShapes";
comboBoxShapes.Size = new Size(115, 23);
comboBoxShapes.TabIndex = 7;
comboBoxShapes.SelectedIndexChanged += comboBoxShapes_SelectedIndexChanged;
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(12, 65);
label2.Name = "label2";
label2.Size = new Size(48, 15);
label2.TabIndex = 8;
label2.Text = "Shape :";
//
// Form1
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(310, 217);
Controls.Add(label2);
Controls.Add(comboBoxShapes);
Controls.Add(textBoxHeight);
Controls.Add(textBoxWidth);
Controls.Add(labelResult);
Controls.Add(buttonCalculate);
Controls.Add(labelHeight);
Controls.Add(labelWidth);
Controls.Add(label1);
Name = "Form1";
Text = "Form1";
ResumeLayout(false);
PerformLayout();
}
#endregion
private Label label1;
private Label labelWidth;
private Label labelHeight;
private Button buttonCalculate;
private Label labelResult;
private TextBox textBoxWidth;
private TextBox textBoxHeight;
private ComboBox comboBoxShapes;
private Label label2;
}
}