-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDisplayAllCoursesForm.Designer.cs
More file actions
140 lines (135 loc) · 5.58 KB
/
DisplayAllCoursesForm.Designer.cs
File metadata and controls
140 lines (135 loc) · 5.58 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
namespace TinyCollegeGUI
{
partial class DisplayAllCoursesForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.DataGridView dataGridViewCourses;
private System.Windows.Forms.Button btnClose;
private System.Windows.Forms.Button btnSearch;
private System.Windows.Forms.Button btnDeleteCourse; // Declare the delete button
private System.Windows.Forms.TextBox txtSearch;
/// <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()
{
dataGridViewCourses = new DataGridView();
CourseIDColumn = new DataGridViewTextBoxColumn();
CourseNameColumn = new DataGridViewTextBoxColumn();
CreditsColumn = new DataGridViewTextBoxColumn();
btnClose = new Button();
btnSearch = new Button();
btnDeleteCourse = new Button();
txtSearch = new TextBox();
((System.ComponentModel.ISupportInitialize)dataGridViewCourses).BeginInit();
SuspendLayout();
//
// dataGridViewCourses
//
dataGridViewCourses.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridViewCourses.Columns.AddRange(new DataGridViewColumn[] { CourseIDColumn, CourseNameColumn, CreditsColumn });
dataGridViewCourses.Location = new Point(18, 66);
dataGridViewCourses.Margin = new Padding(4, 5, 4, 5);
dataGridViewCourses.Name = "dataGridViewCourses";
dataGridViewCourses.Size = new Size(1164, 607);
dataGridViewCourses.TabIndex = 0;
dataGridViewCourses.CellContentClick += dataGridViewCourses_CellContentClick_1;
//
// CourseIDColumn
//
CourseIDColumn.HeaderText = "Course ID";
CourseIDColumn.Name = "CourseIDColumn";
//
// CourseNameColumn
//
CourseNameColumn.HeaderText = "Course Name";
CourseNameColumn.Name = "CourseNameColumn";
//
// CreditsColumn
//
CreditsColumn.HeaderText = "Credits";
CreditsColumn.Name = "CreditsColumn";
//
// btnClose
//
btnClose.Location = new Point(1070, 683);
btnClose.Margin = new Padding(4, 5, 4, 5);
btnClose.Name = "btnClose";
btnClose.Size = new Size(112, 37);
btnClose.TabIndex = 1;
btnClose.Text = "Close";
btnClose.UseVisualStyleBackColor = true;
btnClose.Click += btnClose_Click;
//
// btnSearch
//
btnSearch.Location = new Point(1070, 19);
btnSearch.Margin = new Padding(4, 5, 4, 5);
btnSearch.Name = "btnSearch";
btnSearch.Size = new Size(112, 37);
btnSearch.TabIndex = 2;
btnSearch.Text = "Search";
btnSearch.UseVisualStyleBackColor = true;
btnSearch.Click += btnSearch_Click;
//
// btnDeleteCourse
//
btnDeleteCourse.Location = new Point(854, 683);
btnDeleteCourse.Margin = new Padding(4, 5, 4, 5);
btnDeleteCourse.Name = "btnDeleteCourse";
btnDeleteCourse.Size = new Size(188, 37);
btnDeleteCourse.TabIndex = 4;
btnDeleteCourse.Text = "Delete Course";
btnDeleteCourse.UseVisualStyleBackColor = true;
btnDeleteCourse.Click += btnDeleteCourse_Click;
//
// txtSearch
//
txtSearch.Location = new Point(18, 19);
txtSearch.Margin = new Padding(4, 5, 4, 5);
txtSearch.Name = "txtSearch";
txtSearch.Size = new Size(1040, 29);
txtSearch.TabIndex = 3;
//
// DisplayAllCoursesForm
//
AutoScaleDimensions = new SizeF(9F, 21F);
AutoScaleMode = AutoScaleMode.Font;
BackColor = SystemColors.ActiveCaption;
ClientSize = new Size(1200, 727);
Controls.Add(txtSearch);
Controls.Add(btnSearch);
Controls.Add(btnDeleteCourse);
Controls.Add(btnClose);
Controls.Add(dataGridViewCourses);
Margin = new Padding(4, 5, 4, 5);
Name = "DisplayAllCoursesForm";
Text = "Display All Courses";
Load += DisplayAllCoursesForm_Load;
((System.ComponentModel.ISupportInitialize)dataGridViewCourses).EndInit();
ResumeLayout(false);
PerformLayout();
}
#endregion
private System.Windows.Forms.DataGridViewTextBoxColumn CourseIDColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn CourseNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn CreditsColumn;
}
}