-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainForm.Designer.cs
More file actions
242 lines (240 loc) · 11.7 KB
/
MainForm.Designer.cs
File metadata and controls
242 lines (240 loc) · 11.7 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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
namespace TinyCollegeGUI
{
partial class MainForm
{
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Button btnEditStudent;
private System.Windows.Forms.Button btnGenerateStudentReport;
private System.Windows.Forms.Button btnGenerateCourseReport;
private System.Windows.Forms.StatusStrip statusStrip;
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel;
private System.Windows.Forms.Label label1;
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
button1 = new Button();
button2 = new Button();
button3 = new Button();
button4 = new Button();
button5 = new Button();
button6 = new Button();
button7 = new Button();
button8 = new Button();
btnEditStudent = new Button();
btnGenerateStudentReport = new Button();
btnGenerateCourseReport = new Button();
statusStrip = new StatusStrip();
toolStripStatusLabel = new ToolStripStatusLabel();
label1 = new Label();
statusStrip.SuspendLayout();
SuspendLayout();
// these previous lines lay out the names of the different buttons users will utilize on the main design page
//
// button1
//
button1.BackColor = SystemColors.ButtonFace;
button1.Font = new Font("Modern No. 20", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
button1.Location = new Point(50, 97);
button1.Name = "button1";
button1.Size = new Size(239, 77);
button1.TabIndex = 1;
button1.Text = "Add a Student";
button1.UseVisualStyleBackColor = false;
button1.Click += button1_Click;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// button2
//
button2.BackColor = SystemColors.ButtonFace;
button2.Font = new Font("Modern No. 20", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
button2.Location = new Point(50, 338);
button2.Name = "button2";
button2.Size = new Size(239, 70);
button2.TabIndex = 2;
button2.Text = "Display All Students";
button2.UseVisualStyleBackColor = false;
button2.Click += button2_Click;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// button3
//
button3.BackColor = SystemColors.ButtonFace;
button3.Font = new Font("Modern No. 20", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
button3.Location = new Point(50, 256);
button3.Name = "button3";
button3.Size = new Size(239, 76);
button3.TabIndex = 3;
button3.Text = "Enroll a Student in a Course";
button3.UseVisualStyleBackColor = false;
button3.Click += button3_Click;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// button4
//
button4.Location = new Point(0, 0);
button4.Name = "button4";
button4.Size = new Size(75, 23);
button4.TabIndex = 0;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// button5
//
button5.BackColor = SystemColors.ButtonFace;
button5.Font = new Font("Modern No. 20", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
button5.Location = new Point(425, 97);
button5.Name = "button5";
button5.Size = new Size(236, 77);
button5.TabIndex = 5;
button5.Text = "Add a Course";
button5.UseVisualStyleBackColor = false;
button5.Click += button5_Click;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// button6
//
button6.BackColor = SystemColors.ButtonFace;
button6.Font = new Font("Modern No. 20", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
button6.Location = new Point(425, 180);
button6.Name = "button6";
button6.Size = new Size(236, 71);
button6.TabIndex = 6;
button6.Text = "Display All Courses";
button6.UseVisualStyleBackColor = false;
button6.Click += button6_Click;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// button7
//
button7.BackColor = SystemColors.ButtonFace;
button7.Font = new Font("Modern No. 20", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
button7.Location = new Point(425, 257);
button7.Name = "button7";
button7.Size = new Size(236, 75);
button7.TabIndex = 7;
button7.Text = "Who is in a Course";
button7.UseVisualStyleBackColor = false;
button7.Click += button7_Click;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// button8
//
button8.BackColor = SystemColors.ButtonFace;
button8.Font = new Font("Modern No. 20", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
button8.Location = new Point(425, 416);
button8.Name = "button8";
button8.Size = new Size(236, 72);
button8.TabIndex = 8;
button8.Text = "Exit";
button8.UseVisualStyleBackColor = false;
button8.Click += button8_Click;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// btnEditStudent
//
btnEditStudent.BackColor = SystemColors.ButtonFace;
btnEditStudent.Font = new Font("Modern No. 20", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
btnEditStudent.Location = new Point(50, 178);
btnEditStudent.Name = "btnEditStudent";
btnEditStudent.Size = new Size(239, 72);
btnEditStudent.TabIndex = 9;
btnEditStudent.Text = "Edit Student";
btnEditStudent.UseVisualStyleBackColor = false;
btnEditStudent.Click += btnEditStudent_Click;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// btnGenerateStudentReport
//
btnGenerateStudentReport.BackColor = SystemColors.ButtonFace;
btnGenerateStudentReport.Font = new Font("Modern No. 20", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
btnGenerateStudentReport.Location = new Point(50, 416);
btnGenerateStudentReport.Name = "btnGenerateStudentReport";
btnGenerateStudentReport.Size = new Size(239, 72);
btnGenerateStudentReport.TabIndex = 10;
btnGenerateStudentReport.Text = "Generate Student Report";
btnGenerateStudentReport.UseVisualStyleBackColor = false;
btnGenerateStudentReport.Click += btnGenerateStudentReport_Click;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// btnGenerateCourseReport
//
btnGenerateCourseReport.BackColor = SystemColors.ButtonFace;
btnGenerateCourseReport.Font = new Font("Modern No. 20", 20.25F, FontStyle.Bold, GraphicsUnit.Point, 0);
btnGenerateCourseReport.Location = new Point(425, 338);
btnGenerateCourseReport.Name = "btnGenerateCourseReport";
btnGenerateCourseReport.Size = new Size(236, 72);
btnGenerateCourseReport.TabIndex = 11;
btnGenerateCourseReport.Text = "Generate Course Report";
btnGenerateCourseReport.UseVisualStyleBackColor = false;
btnGenerateCourseReport.Click += btnGenerateCourseReport_Click;
// these lines give info on the layout, or appearance, of the given button (front name, font size, button name, etc.)
//
// statusStrip
//
statusStrip.Items.AddRange(new ToolStripItem[] { toolStripStatusLabel });
statusStrip.Location = new Point(0, 598);
statusStrip.Name = "statusStrip";
statusStrip.Size = new Size(738, 22);
statusStrip.TabIndex = 12;
statusStrip.Text = "statusStrip";
// these lines give info on the status strip, which is displays information about an object being viewed on the main Form, the object's components, or contextual information that relates to that object's operation within our application
//
// toolStripStatusLabel
//
toolStripStatusLabel.Name = "toolStripStatusLabel";
toolStripStatusLabel.Size = new Size(0, 17);
//
// label1
//
label1.AutoSize = true;
label1.Font = new Font("Modern No. 20", 23.9999962F, FontStyle.Bold, GraphicsUnit.Point, 0);
label1.ForeColor = Color.Ivory;
label1.Location = new Point(99, 31);
label1.Name = "label1";
label1.Size = new Size(533, 34);
label1.TabIndex = 13;
label1.Text = "Tiny College Course Tracking System";
//
// MainForm
//
AutoScaleDimensions = new SizeF(9F, 21F);
AutoScaleMode = AutoScaleMode.Font;
BackColor = SystemColors.ActiveCaption;
ClientSize = new Size(738, 620);
Controls.Add(label1);
Controls.Add(statusStrip);
Controls.Add(button7);
Controls.Add(button6);
Controls.Add(button5);
Controls.Add(button3);
Controls.Add(button2);
Controls.Add(button1);
Controls.Add(button8);
Controls.Add(btnEditStudent);
Controls.Add(btnGenerateStudentReport);
Controls.Add(btnGenerateCourseReport);
Cursor = Cursors.AppStarting;
Name = "MainForm";
Text = "Welcome";
Load += MainForm_Load;
statusStrip.ResumeLayout(false);
statusStrip.PerformLayout();
ResumeLayout(false);
PerformLayout();
}
}
}