-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAddVehicleForm.Designer.cs
More file actions
225 lines (220 loc) · 8.19 KB
/
Copy pathAddVehicleForm.Designer.cs
File metadata and controls
225 lines (220 loc) · 8.19 KB
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
namespace VehicleRentalSystem
{
partial class AddVehicleForm
{
/// <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()
{
lblRegNumber = new Label();
txtRegNumber = new TextBox();
txtBrand = new TextBox();
lblBrand = new Label();
lblSidecar = new Label();
lblYear = new Label();
numYear = new NumericUpDown();
lblType = new Label();
comboType = new ComboBox();
numDoors = new NumericUpDown();
lblDoors = new Label();
chkSidecar = new CheckBox();
btnAdd = new Button();
((System.ComponentModel.ISupportInitialize)numYear).BeginInit();
((System.ComponentModel.ISupportInitialize)numDoors).BeginInit();
SuspendLayout();
//
// lblRegNumber
//
lblRegNumber.AutoSize = true;
lblRegNumber.Font = new Font("Segoe UI", 9F);
lblRegNumber.Location = new Point(194, 80);
lblRegNumber.Name = "lblRegNumber";
lblRegNumber.Size = new Size(147, 20);
lblRegNumber.TabIndex = 0;
lblRegNumber.Text = "Registration Number";
//
// txtRegNumber
//
txtRegNumber.Font = new Font("Segoe UI", 9F);
txtRegNumber.Location = new Point(401, 75);
txtRegNumber.Name = "txtRegNumber";
txtRegNumber.Size = new Size(184, 27);
txtRegNumber.TabIndex = 1;
//
// txtBrand
//
txtBrand.Font = new Font("Segoe UI", 9F);
txtBrand.Location = new Point(401, 124);
txtBrand.Name = "txtBrand";
txtBrand.Size = new Size(184, 27);
txtBrand.TabIndex = 3;
//
// lblBrand
//
lblBrand.AutoSize = true;
lblBrand.Font = new Font("Segoe UI", 9F);
lblBrand.Location = new Point(194, 129);
lblBrand.Name = "lblBrand";
lblBrand.Size = new Size(48, 20);
lblBrand.TabIndex = 2;
lblBrand.Text = "Brand";
//
// lblSidecar
//
lblSidecar.AutoSize = true;
lblSidecar.Font = new Font("Segoe UI", 9F);
lblSidecar.Location = new Point(194, 286);
lblSidecar.Name = "lblSidecar";
lblSidecar.Size = new Size(87, 20);
lblSidecar.TabIndex = 4;
lblSidecar.Text = "Has Sidecar";
lblSidecar.Visible = false;
//
// lblYear
//
lblYear.AutoSize = true;
lblYear.Font = new Font("Segoe UI", 9F);
lblYear.Location = new Point(194, 179);
lblYear.Name = "lblYear";
lblYear.Size = new Size(37, 20);
lblYear.TabIndex = 6;
lblYear.Text = "Year";
//
// numYear
//
numYear.Font = new Font("Segoe UI", 9F);
numYear.Location = new Point(401, 177);
numYear.Maximum = new decimal(new int[] { 2025, 0, 0, 0 });
numYear.Minimum = new decimal(new int[] { 1900, 0, 0, 0 });
numYear.Name = "numYear";
numYear.Size = new Size(184, 27);
numYear.TabIndex = 7;
numYear.Value = new decimal(new int[] { 2023, 0, 0, 0 });
//
// lblType
//
lblType.AutoSize = true;
lblType.Font = new Font("Segoe UI", 9F);
lblType.Location = new Point(194, 232);
lblType.Name = "lblType";
lblType.Size = new Size(91, 20);
lblType.TabIndex = 8;
lblType.Text = "Vehicle Type";
//
// comboType
//
comboType.Font = new Font("Segoe UI", 9F);
comboType.FormattingEnabled = true;
comboType.Items.AddRange(new object[] { "Car", "Motorbike" });
comboType.Location = new Point(401, 226);
comboType.Name = "comboType";
comboType.Size = new Size(184, 28);
comboType.TabIndex = 9;
comboType.SelectedIndexChanged += comboType_SelectedIndexChanged;
//
// numDoors
//
numDoors.Font = new Font("Segoe UI", 9F);
numDoors.Location = new Point(401, 279);
numDoors.Maximum = new decimal(new int[] { 6, 0, 0, 0 });
numDoors.Minimum = new decimal(new int[] { 2, 0, 0, 0 });
numDoors.Name = "numDoors";
numDoors.Size = new Size(184, 27);
numDoors.TabIndex = 11;
numDoors.Value = new decimal(new int[] { 4, 0, 0, 0 });
//
// lblDoors
//
lblDoors.AutoSize = true;
lblDoors.Font = new Font("Segoe UI", 9F);
lblDoors.Location = new Point(194, 284);
lblDoors.Name = "lblDoors";
lblDoors.Size = new Size(125, 20);
lblDoors.TabIndex = 10;
lblDoors.Text = "Number of Doors";
lblDoors.Visible = false;
//
// chkSidecar
//
chkSidecar.AutoSize = true;
chkSidecar.Font = new Font("Segoe UI", 9F);
chkSidecar.Location = new Point(401, 283);
chkSidecar.Name = "chkSidecar";
chkSidecar.Size = new Size(52, 24);
chkSidecar.TabIndex = 12;
chkSidecar.Text = "Yes";
chkSidecar.UseVisualStyleBackColor = true;
//
// btnAdd
//
btnAdd.Cursor = Cursors.Hand;
btnAdd.Font = new Font("Segoe UI", 9F);
btnAdd.Location = new Point(340, 351);
btnAdd.Name = "btnAdd";
btnAdd.Size = new Size(101, 29);
btnAdd.TabIndex = 13;
btnAdd.Text = "Add Vehicle";
btnAdd.UseVisualStyleBackColor = true;
btnAdd.Click += btnAdd_Click;
//
// AddVehicleForm
//
AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
Controls.Add(btnAdd);
Controls.Add(chkSidecar);
Controls.Add(numDoors);
Controls.Add(lblDoors);
Controls.Add(comboType);
Controls.Add(lblType);
Controls.Add(numYear);
Controls.Add(lblYear);
Controls.Add(lblSidecar);
Controls.Add(txtBrand);
Controls.Add(lblBrand);
Controls.Add(txtRegNumber);
Controls.Add(lblRegNumber);
Name = "AddVehicleForm";
Text = "Add New Vehicle";
Load += AddVehicleForm_Load;
((System.ComponentModel.ISupportInitialize)numYear).EndInit();
((System.ComponentModel.ISupportInitialize)numDoors).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private Label lblRegNumber;
private TextBox txtRegNumber;
private TextBox txtBrand;
private Label lblBrand;
private Label lblSidecar;
private Label lblYear;
private NumericUpDown numYear;
private Label lblType;
private ComboBox comboType;
private NumericUpDown numDoors;
private Label lblDoors;
private CheckBox chkSidecar;
private Button btnAdd;
}
}