-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathForm1.Designer.cs
More file actions
134 lines (128 loc) · 4.62 KB
/
Form1.Designer.cs
File metadata and controls
134 lines (128 loc) · 4.62 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
namespace WinFormsMiniLMS
{
partial class TeacherForm
{
/// <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()
{
txtStudentId = new TextBox();
txtStudentName = new TextBox();
txtGPA = new TextBox();
btnAdd = new Button();
btnDelete = new Button();
btnSaveTop = new Button();
dgvStudents = new DataGridView();
((System.ComponentModel.ISupportInitialize)dgvStudents).BeginInit();
SuspendLayout();
//
// txtStudentId
//
txtStudentId.Location = new Point(3, 3);
txtStudentId.Name = "txtStudentId";
txtStudentId.Size = new Size(200, 39);
txtStudentId.TabIndex = 0;
txtStudentId.Text = "Student ID\r\n\r\n";
//
// txtStudentName
//
txtStudentName.Location = new Point(3, 48);
txtStudentName.Name = "txtStudentName";
txtStudentName.Size = new Size(200, 39);
txtStudentName.TabIndex = 1;
txtStudentName.Text = "Student Name";
//
// txtGPA
//
txtGPA.Location = new Point(3, 93);
txtGPA.Name = "txtGPA";
txtGPA.Size = new Size(200, 39);
txtGPA.TabIndex = 2;
txtGPA.Text = "GPA";
//
// btnAdd
//
btnAdd.Location = new Point(585, 3);
btnAdd.Name = "btnAdd";
btnAdd.Size = new Size(193, 46);
btnAdd.TabIndex = 3;
btnAdd.Text = "Add Student ";
btnAdd.UseVisualStyleBackColor = true;
btnAdd.Click += btnAdd_Click;
//
// btnDelete
//
btnDelete.Location = new Point(585, 55);
btnDelete.Name = "btnDelete";
btnDelete.Size = new Size(193, 46);
btnDelete.TabIndex = 4;
btnDelete.Text = "Delete Selected";
btnDelete.UseVisualStyleBackColor = true;
btnDelete.Click += btnDelete_Click;
//
// btnSaveTop
//
btnSaveTop.Location = new Point(481, 107);
btnSaveTop.Name = "btnSaveTop";
btnSaveTop.Size = new Size(297, 46);
btnSaveTop.TabIndex = 5;
btnSaveTop.Text = "Save Highest GPA to File";
btnSaveTop.UseVisualStyleBackColor = true;
//
// dgvStudents
//
dgvStudents.BackgroundColor = SystemColors.ActiveCaption;
dgvStudents.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dgvStudents.Location = new Point(3, 169);
dgvStudents.Name = "dgvStudents";
dgvStudents.RowHeadersWidth = 82;
dgvStudents.Size = new Size(795, 282);
dgvStudents.TabIndex = 6;
//
// TeacherForm
//
AutoScaleDimensions = new SizeF(13F, 32F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(800, 450);
Controls.Add(dgvStudents);
Controls.Add(btnSaveTop);
Controls.Add(btnDelete);
Controls.Add(btnAdd);
Controls.Add(txtGPA);
Controls.Add(txtStudentName);
Controls.Add(txtStudentId);
Name = "TeacherForm";
Text = "Teacher Form";
((System.ComponentModel.ISupportInitialize)dgvStudents).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private TextBox txtStudentId;
private TextBox txtStudentName;
private TextBox txtGPA;
private Button btnAdd;
private Button btnDelete;
private Button btnSaveTop;
private DataGridView dgvStudents;
}
}