Updated Design

This commit is contained in:
lindellian 2020-04-30 11:05:02 -07:00
parent ad594106d4
commit a6b272af9a
3 changed files with 183 additions and 124 deletions

298
Form1.Designer.cs generated
View File

@ -51,6 +51,7 @@
this.reportsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.reportsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.studentBySchoolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.studentBySchoolToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.studentsByProgramToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.studentsByProgramToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exitWithoutSavingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exitsavesDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitsavesDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.studentBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components); this.studentBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components);
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton(); this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
@ -93,7 +94,6 @@
this.lblFoundStudents = new System.Windows.Forms.Label(); this.lblFoundStudents = new System.Windows.Forms.Label();
this.studentDbID = new System.Windows.Forms.NumericUpDown(); this.studentDbID = new System.Windows.Forms.NumericUpDown();
this.studentBindingSource = new System.Windows.Forms.BindingSource(this.components); this.studentBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.exitWithoutSavingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
lastNameLabel = new System.Windows.Forms.Label(); lastNameLabel = new System.Windows.Forms.Label();
firstNameLabel = new System.Windows.Forms.Label(); firstNameLabel = new System.Windows.Forms.Label();
student_idLabel = new System.Windows.Forms.Label(); student_idLabel = new System.Windows.Forms.Label();
@ -122,117 +122,139 @@
// lastNameLabel // lastNameLabel
// //
lastNameLabel.AutoSize = true; lastNameLabel.AutoSize = true;
lastNameLabel.Location = new System.Drawing.Point(183, 38); lastNameLabel.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
lastNameLabel.Location = new System.Drawing.Point(506, 48);
lastNameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
lastNameLabel.Name = "lastNameLabel"; lastNameLabel.Name = "lastNameLabel";
lastNameLabel.Size = new System.Drawing.Size(90, 20); lastNameLabel.Size = new System.Drawing.Size(122, 35);
lastNameLabel.TabIndex = 3; lastNameLabel.TabIndex = 3;
lastNameLabel.Text = "Last Name:"; lastNameLabel.Text = "Last Name:";
// //
// firstNameLabel // firstNameLabel
// //
firstNameLabel.AutoSize = true; firstNameLabel.AutoSize = true;
firstNameLabel.Location = new System.Drawing.Point(380, 38); firstNameLabel.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
firstNameLabel.Location = new System.Drawing.Point(247, 48);
firstNameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
firstNameLabel.Name = "firstNameLabel"; firstNameLabel.Name = "firstNameLabel";
firstNameLabel.Size = new System.Drawing.Size(90, 20); firstNameLabel.Size = new System.Drawing.Size(126, 35);
firstNameLabel.TabIndex = 4; firstNameLabel.TabIndex = 4;
firstNameLabel.Text = "First Name:"; firstNameLabel.Text = "First Name:";
// //
// student_idLabel // student_idLabel
// //
student_idLabel.AutoSize = true; student_idLabel.AutoSize = true;
student_idLabel.Location = new System.Drawing.Point(12, 200); student_idLabel.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
student_idLabel.Location = new System.Drawing.Point(8, 260);
student_idLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
student_idLabel.Name = "student_idLabel"; student_idLabel.Name = "student_idLabel";
student_idLabel.Size = new System.Drawing.Size(83, 20); student_idLabel.Size = new System.Drawing.Size(123, 35);
student_idLabel.TabIndex = 6; student_idLabel.TabIndex = 6;
student_idLabel.Text = "student id:"; student_idLabel.Text = "Student ID:";
// //
// dOBLabel // dOBLabel
// //
dOBLabel.AutoSize = true; dOBLabel.AutoSize = true;
dOBLabel.Location = new System.Drawing.Point(10, 266); dOBLabel.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dOBLabel.Location = new System.Drawing.Point(247, 129);
dOBLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
dOBLabel.Name = "dOBLabel"; dOBLabel.Name = "dOBLabel";
dOBLabel.Size = new System.Drawing.Size(48, 20); dOBLabel.Size = new System.Drawing.Size(65, 35);
dOBLabel.TabIndex = 8; dOBLabel.TabIndex = 8;
dOBLabel.Text = "DOB:"; dOBLabel.Text = "DOB:";
// //
// programNameLabel // programNameLabel
// //
programNameLabel.AutoSize = true; programNameLabel.AutoSize = true;
programNameLabel.Location = new System.Drawing.Point(380, 108); programNameLabel.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
programNameLabel.Location = new System.Drawing.Point(507, 129);
programNameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
programNameLabel.Name = "programNameLabel"; programNameLabel.Name = "programNameLabel";
programNameLabel.Size = new System.Drawing.Size(73, 20); programNameLabel.Size = new System.Drawing.Size(104, 35);
programNameLabel.TabIndex = 10; programNameLabel.TabIndex = 10;
programNameLabel.Text = "Program:"; programNameLabel.Text = "Program:";
// //
// addressLabel // addressLabel
// //
addressLabel.AutoSize = true; addressLabel.AutoSize = true;
addressLabel.Location = new System.Drawing.Point(185, 177); addressLabel.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
addressLabel.Location = new System.Drawing.Point(246, 311);
addressLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
addressLabel.Name = "addressLabel"; addressLabel.Name = "addressLabel";
addressLabel.Size = new System.Drawing.Size(70, 20); addressLabel.Size = new System.Drawing.Size(96, 35);
addressLabel.TabIndex = 12; addressLabel.TabIndex = 12;
addressLabel.Text = "address:"; addressLabel.Text = "Address:";
// //
// schoolLabel // schoolLabel
// //
schoolLabel.AutoSize = true; schoolLabel.AutoSize = true;
schoolLabel.Location = new System.Drawing.Point(380, 177); schoolLabel.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
schoolLabel.Location = new System.Drawing.Point(507, 219);
schoolLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
schoolLabel.Name = "schoolLabel"; schoolLabel.Name = "schoolLabel";
schoolLabel.Size = new System.Drawing.Size(62, 20); schoolLabel.Size = new System.Drawing.Size(84, 35);
schoolLabel.TabIndex = 14; schoolLabel.TabIndex = 14;
schoolLabel.Text = "School:"; schoolLabel.Text = "School:";
// //
// genderLabel // genderLabel
// //
genderLabel.AutoSize = true; genderLabel.AutoSize = true;
genderLabel.Location = new System.Drawing.Point(185, 108); genderLabel.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
genderLabel.Location = new System.Drawing.Point(246, 219);
genderLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
genderLabel.Name = "genderLabel"; genderLabel.Name = "genderLabel";
genderLabel.Size = new System.Drawing.Size(67, 20); genderLabel.Size = new System.Drawing.Size(91, 35);
genderLabel.TabIndex = 16; genderLabel.TabIndex = 16;
genderLabel.Text = "Gender:"; genderLabel.Text = "Gender:";
// //
// gradeLevelLabel // gradeLevelLabel
// //
gradeLevelLabel.AutoSize = true; gradeLevelLabel.AutoSize = true;
gradeLevelLabel.Location = new System.Drawing.Point(390, 262); gradeLevelLabel.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
gradeLevelLabel.Location = new System.Drawing.Point(506, 311);
gradeLevelLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
gradeLevelLabel.Name = "gradeLevelLabel"; gradeLevelLabel.Name = "gradeLevelLabel";
gradeLevelLabel.Size = new System.Drawing.Size(99, 20); gradeLevelLabel.Size = new System.Drawing.Size(134, 35);
gradeLevelLabel.TabIndex = 18; gradeLevelLabel.TabIndex = 18;
gradeLevelLabel.Text = "Grade Level:"; gradeLevelLabel.Text = "Grade Level:";
// //
// lastNameLabel1 // lastNameLabel1
// //
lastNameLabel1.AutoSize = true; lastNameLabel1.AutoSize = true;
lastNameLabel1.Location = new System.Drawing.Point(34, 42); lastNameLabel1.Location = new System.Drawing.Point(45, 52);
lastNameLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
lastNameLabel1.Name = "lastNameLabel1"; lastNameLabel1.Name = "lastNameLabel1";
lastNameLabel1.Size = new System.Drawing.Size(90, 20); lastNameLabel1.Size = new System.Drawing.Size(122, 35);
lastNameLabel1.TabIndex = 0; lastNameLabel1.TabIndex = 0;
lastNameLabel1.Text = "Last Name:"; lastNameLabel1.Text = "Last Name:";
// //
// firstNameLabel1 // firstNameLabel1
// //
firstNameLabel1.AutoSize = true; firstNameLabel1.AutoSize = true;
firstNameLabel1.Location = new System.Drawing.Point(34, 90); firstNameLabel1.Location = new System.Drawing.Point(45, 112);
firstNameLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
firstNameLabel1.Name = "firstNameLabel1"; firstNameLabel1.Name = "firstNameLabel1";
firstNameLabel1.Size = new System.Drawing.Size(90, 20); firstNameLabel1.Size = new System.Drawing.Size(126, 35);
firstNameLabel1.TabIndex = 2; firstNameLabel1.TabIndex = 2;
firstNameLabel1.Text = "First Name:"; firstNameLabel1.Text = "First Name:";
// //
// phoneNumberLabel // phoneNumberLabel
// //
phoneNumberLabel.AutoSize = true; phoneNumberLabel.AutoSize = true;
phoneNumberLabel.Location = new System.Drawing.Point(6, 139); phoneNumberLabel.Location = new System.Drawing.Point(8, 174);
phoneNumberLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
phoneNumberLabel.Name = "phoneNumberLabel"; phoneNumberLabel.Name = "phoneNumberLabel";
phoneNumberLabel.Size = new System.Drawing.Size(119, 20); phoneNumberLabel.Size = new System.Drawing.Size(164, 35);
phoneNumberLabel.TabIndex = 4; phoneNumberLabel.TabIndex = 4;
phoneNumberLabel.Text = "Phone Number:"; phoneNumberLabel.Text = "Phone Number:";
// //
// emailAddressLabel // emailAddressLabel
// //
emailAddressLabel.AutoSize = true; emailAddressLabel.AutoSize = true;
emailAddressLabel.Location = new System.Drawing.Point(10, 192); emailAddressLabel.Location = new System.Drawing.Point(13, 240);
emailAddressLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
emailAddressLabel.Name = "emailAddressLabel"; emailAddressLabel.Name = "emailAddressLabel";
emailAddressLabel.Size = new System.Drawing.Size(115, 20); emailAddressLabel.Size = new System.Drawing.Size(157, 35);
emailAddressLabel.TabIndex = 6; emailAddressLabel.TabIndex = 6;
emailAddressLabel.Text = "Email Address:"; emailAddressLabel.Text = "Email Address:";
// //
@ -240,27 +262,28 @@
// //
this.topTableLayoutPanel.ColumnCount = 2; this.topTableLayoutPanel.ColumnCount = 2;
this.topTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.topTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.topTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 382F)); this.topTableLayoutPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 509F));
this.topTableLayoutPanel.Controls.Add(this.mainMenuStrip, 0, 0); this.topTableLayoutPanel.Controls.Add(this.mainMenuStrip, 0, 0);
this.topTableLayoutPanel.Controls.Add(this.studentBindingNavigator, 1, 0); this.topTableLayoutPanel.Controls.Add(this.studentBindingNavigator, 1, 0);
this.topTableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Top; this.topTableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Top;
this.topTableLayoutPanel.Location = new System.Drawing.Point(0, 0); this.topTableLayoutPanel.Location = new System.Drawing.Point(0, 0);
this.topTableLayoutPanel.Margin = new System.Windows.Forms.Padding(4);
this.topTableLayoutPanel.Name = "topTableLayoutPanel"; this.topTableLayoutPanel.Name = "topTableLayoutPanel";
this.topTableLayoutPanel.RowCount = 1; this.topTableLayoutPanel.RowCount = 1;
this.topTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.topTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.topTableLayoutPanel.Size = new System.Drawing.Size(992, 35); this.topTableLayoutPanel.Size = new System.Drawing.Size(1424, 44);
this.topTableLayoutPanel.TabIndex = 0; this.topTableLayoutPanel.TabIndex = 0;
// //
// mainMenuStrip // mainMenuStrip
// //
this.mainMenuStrip.Dock = System.Windows.Forms.DockStyle.Fill; this.mainMenuStrip.Dock = System.Windows.Forms.DockStyle.Fill;
this.mainMenuStrip.GripMargin = new System.Windows.Forms.Padding(2, 2, 0, 2);
this.mainMenuStrip.ImageScalingSize = new System.Drawing.Size(24, 24); this.mainMenuStrip.ImageScalingSize = new System.Drawing.Size(24, 24);
this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem}); this.fileToolStripMenuItem});
this.mainMenuStrip.Location = new System.Drawing.Point(0, 0); this.mainMenuStrip.Location = new System.Drawing.Point(0, 0);
this.mainMenuStrip.Name = "mainMenuStrip"; this.mainMenuStrip.Name = "mainMenuStrip";
this.mainMenuStrip.Size = new System.Drawing.Size(610, 35); this.mainMenuStrip.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
this.mainMenuStrip.Size = new System.Drawing.Size(915, 44);
this.mainMenuStrip.TabIndex = 0; this.mainMenuStrip.TabIndex = 0;
this.mainMenuStrip.Text = "mainMenuStrip"; this.mainMenuStrip.Text = "mainMenuStrip";
// //
@ -273,20 +296,20 @@
this.exitWithoutSavingToolStripMenuItem, this.exitWithoutSavingToolStripMenuItem,
this.exitsavesDataToolStripMenuItem}); this.exitsavesDataToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(54, 31); this.fileToolStripMenuItem.Size = new System.Drawing.Size(72, 40);
this.fileToolStripMenuItem.Text = "&File"; this.fileToolStripMenuItem.Text = "&File";
// //
// newStudentToolStripMenuItem // newStudentToolStripMenuItem
// //
this.newStudentToolStripMenuItem.Name = "newStudentToolStripMenuItem"; this.newStudentToolStripMenuItem.Name = "newStudentToolStripMenuItem";
this.newStudentToolStripMenuItem.Size = new System.Drawing.Size(270, 34); this.newStudentToolStripMenuItem.Size = new System.Drawing.Size(349, 44);
this.newStudentToolStripMenuItem.Text = "&New Student"; this.newStudentToolStripMenuItem.Text = "&New Student";
this.newStudentToolStripMenuItem.Click += new System.EventHandler(this.newStudentToolStripMenuItem_Click); this.newStudentToolStripMenuItem.Click += new System.EventHandler(this.newStudentToolStripMenuItem_Click);
// //
// saveStudentToolStripMenuItem // saveStudentToolStripMenuItem
// //
this.saveStudentToolStripMenuItem.Name = "saveStudentToolStripMenuItem"; this.saveStudentToolStripMenuItem.Name = "saveStudentToolStripMenuItem";
this.saveStudentToolStripMenuItem.Size = new System.Drawing.Size(270, 34); this.saveStudentToolStripMenuItem.Size = new System.Drawing.Size(349, 44);
this.saveStudentToolStripMenuItem.Text = "&Save Student"; this.saveStudentToolStripMenuItem.Text = "&Save Student";
this.saveStudentToolStripMenuItem.Click += new System.EventHandler(this.saveStudentToolStripMenuItem_Click); this.saveStudentToolStripMenuItem.Click += new System.EventHandler(this.saveStudentToolStripMenuItem_Click);
// //
@ -296,25 +319,32 @@
this.studentBySchoolToolStripMenuItem, this.studentBySchoolToolStripMenuItem,
this.studentsByProgramToolStripMenuItem}); this.studentsByProgramToolStripMenuItem});
this.reportsToolStripMenuItem.Name = "reportsToolStripMenuItem"; this.reportsToolStripMenuItem.Name = "reportsToolStripMenuItem";
this.reportsToolStripMenuItem.Size = new System.Drawing.Size(270, 34); this.reportsToolStripMenuItem.Size = new System.Drawing.Size(349, 44);
this.reportsToolStripMenuItem.Text = "Reports"; this.reportsToolStripMenuItem.Text = "Reports";
// //
// studentBySchoolToolStripMenuItem // studentBySchoolToolStripMenuItem
// //
this.studentBySchoolToolStripMenuItem.Name = "studentBySchoolToolStripMenuItem"; this.studentBySchoolToolStripMenuItem.Name = "studentBySchoolToolStripMenuItem";
this.studentBySchoolToolStripMenuItem.Size = new System.Drawing.Size(283, 34); this.studentBySchoolToolStripMenuItem.Size = new System.Drawing.Size(373, 44);
this.studentBySchoolToolStripMenuItem.Text = "Students by school"; this.studentBySchoolToolStripMenuItem.Text = "Students by school";
// //
// studentsByProgramToolStripMenuItem // studentsByProgramToolStripMenuItem
// //
this.studentsByProgramToolStripMenuItem.Name = "studentsByProgramToolStripMenuItem"; this.studentsByProgramToolStripMenuItem.Name = "studentsByProgramToolStripMenuItem";
this.studentsByProgramToolStripMenuItem.Size = new System.Drawing.Size(283, 34); this.studentsByProgramToolStripMenuItem.Size = new System.Drawing.Size(373, 44);
this.studentsByProgramToolStripMenuItem.Text = "Students by program"; this.studentsByProgramToolStripMenuItem.Text = "Students by program";
// //
// exitWithoutSavingToolStripMenuItem
//
this.exitWithoutSavingToolStripMenuItem.Name = "exitWithoutSavingToolStripMenuItem";
this.exitWithoutSavingToolStripMenuItem.Size = new System.Drawing.Size(349, 44);
this.exitWithoutSavingToolStripMenuItem.Text = "Exit without saving";
this.exitWithoutSavingToolStripMenuItem.Click += new System.EventHandler(this.exitWithoutSavingToolStripMenuItem_Click);
//
// exitsavesDataToolStripMenuItem // exitsavesDataToolStripMenuItem
// //
this.exitsavesDataToolStripMenuItem.Name = "exitsavesDataToolStripMenuItem"; this.exitsavesDataToolStripMenuItem.Name = "exitsavesDataToolStripMenuItem";
this.exitsavesDataToolStripMenuItem.Size = new System.Drawing.Size(270, 34); this.exitsavesDataToolStripMenuItem.Size = new System.Drawing.Size(349, 44);
this.exitsavesDataToolStripMenuItem.Text = "E&xit (saves data)"; this.exitsavesDataToolStripMenuItem.Text = "E&xit (saves data)";
this.exitsavesDataToolStripMenuItem.Click += new System.EventHandler(this.exitsavesDataToolStripMenuItem_Click); this.exitsavesDataToolStripMenuItem.Click += new System.EventHandler(this.exitsavesDataToolStripMenuItem_Click);
// //
@ -339,14 +369,15 @@
this.bindingNavigatorAddNewItem, this.bindingNavigatorAddNewItem,
this.bindingNavigatorDeleteItem, this.bindingNavigatorDeleteItem,
this.studentBindingNavigatorSaveItem}); this.studentBindingNavigatorSaveItem});
this.studentBindingNavigator.Location = new System.Drawing.Point(610, 0); this.studentBindingNavigator.Location = new System.Drawing.Point(813, 0);
this.studentBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem; this.studentBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
this.studentBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem; this.studentBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem;
this.studentBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem; this.studentBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem;
this.studentBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem; this.studentBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
this.studentBindingNavigator.Name = "studentBindingNavigator"; this.studentBindingNavigator.Name = "studentBindingNavigator";
this.studentBindingNavigator.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0);
this.studentBindingNavigator.PositionItem = this.bindingNavigatorPositionItem; this.studentBindingNavigator.PositionItem = this.bindingNavigatorPositionItem;
this.studentBindingNavigator.Size = new System.Drawing.Size(382, 35); this.studentBindingNavigator.Size = new System.Drawing.Size(509, 44);
this.studentBindingNavigator.TabIndex = 2; this.studentBindingNavigator.TabIndex = 2;
this.studentBindingNavigator.Text = "bindingNavigator1"; this.studentBindingNavigator.Text = "bindingNavigator1";
this.studentBindingNavigator.Visible = false; this.studentBindingNavigator.Visible = false;
@ -357,13 +388,13 @@
this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image"))); this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem"; this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(34, 30); this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(46, 38);
this.bindingNavigatorAddNewItem.Text = "Add new"; this.bindingNavigatorAddNewItem.Text = "Add new";
// //
// bindingNavigatorCountItem // bindingNavigatorCountItem
// //
this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem"; this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
this.bindingNavigatorCountItem.Size = new System.Drawing.Size(54, 30); this.bindingNavigatorCountItem.Size = new System.Drawing.Size(71, 38);
this.bindingNavigatorCountItem.Text = "of {0}"; this.bindingNavigatorCountItem.Text = "of {0}";
this.bindingNavigatorCountItem.ToolTipText = "Total number of items"; this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
// //
@ -373,7 +404,7 @@
this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image"))); this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem"; this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(34, 30); this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(46, 38);
this.bindingNavigatorDeleteItem.Text = "Delete"; this.bindingNavigatorDeleteItem.Text = "Delete";
// //
// bindingNavigatorMoveFirstItem // bindingNavigatorMoveFirstItem
@ -382,7 +413,7 @@
this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image"))); this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem"; this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(34, 30); this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(46, 38);
this.bindingNavigatorMoveFirstItem.Text = "Move first"; this.bindingNavigatorMoveFirstItem.Text = "Move first";
// //
// bindingNavigatorMovePreviousItem // bindingNavigatorMovePreviousItem
@ -391,28 +422,27 @@
this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image"))); this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem"; this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(34, 30); this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(46, 38);
this.bindingNavigatorMovePreviousItem.Text = "Move previous"; this.bindingNavigatorMovePreviousItem.Text = "Move previous";
// //
// bindingNavigatorSeparator // bindingNavigatorSeparator
// //
this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator"; this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 35); this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 44);
// //
// bindingNavigatorPositionItem // bindingNavigatorPositionItem
// //
this.bindingNavigatorPositionItem.AccessibleName = "Position"; this.bindingNavigatorPositionItem.AccessibleName = "Position";
this.bindingNavigatorPositionItem.AutoSize = false; this.bindingNavigatorPositionItem.AutoSize = false;
this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("Segoe UI", 9F);
this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 31); this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(65, 39);
this.bindingNavigatorPositionItem.Text = "0"; this.bindingNavigatorPositionItem.Text = "0";
this.bindingNavigatorPositionItem.ToolTipText = "Current position"; this.bindingNavigatorPositionItem.ToolTipText = "Current position";
// //
// bindingNavigatorSeparator1 // bindingNavigatorSeparator1
// //
this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1"; this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 35); this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 44);
// //
// bindingNavigatorMoveNextItem // bindingNavigatorMoveNextItem
// //
@ -420,7 +450,7 @@
this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image"))); this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem"; this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(34, 30); this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(46, 38);
this.bindingNavigatorMoveNextItem.Text = "Move next"; this.bindingNavigatorMoveNextItem.Text = "Move next";
// //
// bindingNavigatorMoveLastItem // bindingNavigatorMoveLastItem
@ -429,13 +459,13 @@
this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image"))); this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem"; this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true; this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(34, 30); this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(46, 38);
this.bindingNavigatorMoveLastItem.Text = "Move last"; this.bindingNavigatorMoveLastItem.Text = "Move last";
// //
// bindingNavigatorSeparator2 // bindingNavigatorSeparator2
// //
this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2"; this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 35); this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 44);
// //
// studentBindingNavigatorSaveItem // studentBindingNavigatorSaveItem
// //
@ -443,16 +473,17 @@
this.studentBindingNavigatorSaveItem.Enabled = false; this.studentBindingNavigatorSaveItem.Enabled = false;
this.studentBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("studentBindingNavigatorSaveItem.Image"))); this.studentBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("studentBindingNavigatorSaveItem.Image")));
this.studentBindingNavigatorSaveItem.Name = "studentBindingNavigatorSaveItem"; this.studentBindingNavigatorSaveItem.Name = "studentBindingNavigatorSaveItem";
this.studentBindingNavigatorSaveItem.Size = new System.Drawing.Size(34, 30); this.studentBindingNavigatorSaveItem.Size = new System.Drawing.Size(46, 38);
this.studentBindingNavigatorSaveItem.Text = "Save Data"; this.studentBindingNavigatorSaveItem.Text = "Save Data";
// //
// student_pictureBox // student_pictureBox
// //
this.student_pictureBox.BackColor = System.Drawing.SystemColors.Window; this.student_pictureBox.BackColor = System.Drawing.SystemColors.Window;
this.student_pictureBox.Image = ((System.Drawing.Image)(resources.GetObject("student_pictureBox.Image"))); this.student_pictureBox.Image = ((System.Drawing.Image)(resources.GetObject("student_pictureBox.Image")));
this.student_pictureBox.Location = new System.Drawing.Point(12, 38); this.student_pictureBox.Location = new System.Drawing.Point(13, 48);
this.student_pictureBox.Margin = new System.Windows.Forms.Padding(4);
this.student_pictureBox.Name = "student_pictureBox"; this.student_pictureBox.Name = "student_pictureBox";
this.student_pictureBox.Size = new System.Drawing.Size(156, 156); this.student_pictureBox.Size = new System.Drawing.Size(208, 195);
this.student_pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.student_pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.student_pictureBox.TabIndex = 1; this.student_pictureBox.TabIndex = 1;
this.student_pictureBox.TabStop = false; this.student_pictureBox.TabStop = false;
@ -462,57 +493,69 @@
// lastNameTextBox // lastNameTextBox
// //
this.lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "LastName", true)); this.lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "LastName", true));
this.lastNameTextBox.Location = new System.Drawing.Point(187, 61); this.lastNameTextBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lastNameTextBox.Location = new System.Drawing.Point(512, 87);
this.lastNameTextBox.Margin = new System.Windows.Forms.Padding(4);
this.lastNameTextBox.Name = "lastNameTextBox"; this.lastNameTextBox.Name = "lastNameTextBox";
this.lastNameTextBox.Size = new System.Drawing.Size(167, 26); this.lastNameTextBox.Size = new System.Drawing.Size(221, 38);
this.lastNameTextBox.TabIndex = 4; this.lastNameTextBox.TabIndex = 4;
this.lastNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating); this.lastNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating);
// //
// firstNameTextBox // firstNameTextBox
// //
this.firstNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "FirstName", true)); this.firstNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "FirstName", true));
this.firstNameTextBox.Location = new System.Drawing.Point(384, 61); this.firstNameTextBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.firstNameTextBox.Location = new System.Drawing.Point(252, 87);
this.firstNameTextBox.Margin = new System.Windows.Forms.Padding(4);
this.firstNameTextBox.Name = "firstNameTextBox"; this.firstNameTextBox.Name = "firstNameTextBox";
this.firstNameTextBox.Size = new System.Drawing.Size(177, 26); this.firstNameTextBox.Size = new System.Drawing.Size(235, 38);
this.firstNameTextBox.TabIndex = 5; this.firstNameTextBox.TabIndex = 5;
this.firstNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating); this.firstNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating);
// //
// student_idTextBox // student_idTextBox
// //
this.student_idTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "student_id", true)); this.student_idTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "student_id", true));
this.student_idTextBox.Location = new System.Drawing.Point(12, 223); this.student_idTextBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.student_idTextBox.Location = new System.Drawing.Point(13, 298);
this.student_idTextBox.Margin = new System.Windows.Forms.Padding(4);
this.student_idTextBox.Name = "student_idTextBox"; this.student_idTextBox.Name = "student_idTextBox";
this.student_idTextBox.Size = new System.Drawing.Size(135, 26); this.student_idTextBox.Size = new System.Drawing.Size(179, 38);
this.student_idTextBox.TabIndex = 7; this.student_idTextBox.TabIndex = 7;
this.student_idTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.student_idTextBox_Validating); this.student_idTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.student_idTextBox_Validating);
// //
// dob_dateTimePicker // dob_dateTimePicker
// //
this.dob_dateTimePicker.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.dob_dateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Short; this.dob_dateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Short;
this.dob_dateTimePicker.Location = new System.Drawing.Point(12, 289); this.dob_dateTimePicker.Location = new System.Drawing.Point(252, 168);
this.dob_dateTimePicker.Margin = new System.Windows.Forms.Padding(4);
this.dob_dateTimePicker.MinDate = new System.DateTime(1900, 1, 1, 0, 0, 0, 0); this.dob_dateTimePicker.MinDate = new System.DateTime(1900, 1, 1, 0, 0, 0, 0);
this.dob_dateTimePicker.Name = "dob_dateTimePicker"; this.dob_dateTimePicker.Name = "dob_dateTimePicker";
this.dob_dateTimePicker.Size = new System.Drawing.Size(135, 26); this.dob_dateTimePicker.Size = new System.Drawing.Size(179, 38);
this.dob_dateTimePicker.TabIndex = 9; this.dob_dateTimePicker.TabIndex = 9;
this.dob_dateTimePicker.Validating += new System.ComponentModel.CancelEventHandler(this.dob_dateTimePicker_Validating); this.dob_dateTimePicker.Validating += new System.ComponentModel.CancelEventHandler(this.dob_dateTimePicker_Validating);
// //
// programComboBox // programComboBox
// //
this.programComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.programComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.programComboBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.programComboBox.FormattingEnabled = true; this.programComboBox.FormattingEnabled = true;
this.programComboBox.Location = new System.Drawing.Point(384, 131); this.programComboBox.Location = new System.Drawing.Point(513, 168);
this.programComboBox.Margin = new System.Windows.Forms.Padding(4);
this.programComboBox.Name = "programComboBox"; this.programComboBox.Name = "programComboBox";
this.programComboBox.Size = new System.Drawing.Size(177, 28); this.programComboBox.Size = new System.Drawing.Size(235, 43);
this.programComboBox.TabIndex = 11; this.programComboBox.TabIndex = 11;
this.programComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating); this.programComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating);
// //
// addressTextBox // addressTextBox
// //
this.addressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "address", true)); this.addressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "address", true));
this.addressTextBox.Location = new System.Drawing.Point(187, 200); this.addressTextBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.addressTextBox.Location = new System.Drawing.Point(252, 347);
this.addressTextBox.Margin = new System.Windows.Forms.Padding(4);
this.addressTextBox.Multiline = true; this.addressTextBox.Multiline = true;
this.addressTextBox.Name = "addressTextBox"; this.addressTextBox.Name = "addressTextBox";
this.addressTextBox.Size = new System.Drawing.Size(167, 115); this.addressTextBox.Size = new System.Drawing.Size(221, 81);
this.addressTextBox.TabIndex = 13; this.addressTextBox.TabIndex = 13;
this.addressTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating); this.addressTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating);
// //
@ -520,10 +563,12 @@
// //
this.schoolComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "School.name", true)); this.schoolComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "School.name", true));
this.schoolComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.schoolComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.schoolComboBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.schoolComboBox.FormattingEnabled = true; this.schoolComboBox.FormattingEnabled = true;
this.schoolComboBox.Location = new System.Drawing.Point(384, 200); this.schoolComboBox.Location = new System.Drawing.Point(512, 257);
this.schoolComboBox.Margin = new System.Windows.Forms.Padding(4);
this.schoolComboBox.Name = "schoolComboBox"; this.schoolComboBox.Name = "schoolComboBox";
this.schoolComboBox.Size = new System.Drawing.Size(177, 28); this.schoolComboBox.Size = new System.Drawing.Size(235, 43);
this.schoolComboBox.TabIndex = 15; this.schoolComboBox.TabIndex = 15;
this.schoolComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating); this.schoolComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating);
// //
@ -531,13 +576,15 @@
// //
this.genderComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "gender", true)); this.genderComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "gender", true));
this.genderComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.genderComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.genderComboBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.genderComboBox.FormattingEnabled = true; this.genderComboBox.FormattingEnabled = true;
this.genderComboBox.Items.AddRange(new object[] { this.genderComboBox.Items.AddRange(new object[] {
"Male", "Male",
"Female"}); "Female"});
this.genderComboBox.Location = new System.Drawing.Point(189, 131); this.genderComboBox.Location = new System.Drawing.Point(253, 257);
this.genderComboBox.Margin = new System.Windows.Forms.Padding(4);
this.genderComboBox.Name = "genderComboBox"; this.genderComboBox.Name = "genderComboBox";
this.genderComboBox.Size = new System.Drawing.Size(121, 28); this.genderComboBox.Size = new System.Drawing.Size(160, 43);
this.genderComboBox.TabIndex = 17; this.genderComboBox.TabIndex = 17;
this.genderComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating); this.genderComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating);
// //
@ -545,6 +592,7 @@
// //
this.gradeLevelComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "GradeLevel", true)); this.gradeLevelComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "GradeLevel", true));
this.gradeLevelComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.gradeLevelComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.gradeLevelComboBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.gradeLevelComboBox.FormattingEnabled = true; this.gradeLevelComboBox.FormattingEnabled = true;
this.gradeLevelComboBox.Items.AddRange(new object[] { this.gradeLevelComboBox.Items.AddRange(new object[] {
"K", "K",
@ -560,17 +608,20 @@
"10", "10",
"11", "11",
"12"}); "12"});
this.gradeLevelComboBox.Location = new System.Drawing.Point(384, 287); this.gradeLevelComboBox.Location = new System.Drawing.Point(512, 347);
this.gradeLevelComboBox.Margin = new System.Windows.Forms.Padding(4);
this.gradeLevelComboBox.Name = "gradeLevelComboBox"; this.gradeLevelComboBox.Name = "gradeLevelComboBox";
this.gradeLevelComboBox.Size = new System.Drawing.Size(121, 28); this.gradeLevelComboBox.Size = new System.Drawing.Size(160, 43);
this.gradeLevelComboBox.TabIndex = 19; this.gradeLevelComboBox.TabIndex = 19;
this.gradeLevelComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating); this.gradeLevelComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating);
// //
// save_button // save_button
// //
this.save_button.Location = new System.Drawing.Point(14, 350); this.save_button.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.save_button.Location = new System.Drawing.Point(23, 470);
this.save_button.Margin = new System.Windows.Forms.Padding(4);
this.save_button.Name = "save_button"; this.save_button.Name = "save_button";
this.save_button.Size = new System.Drawing.Size(104, 54); this.save_button.Size = new System.Drawing.Size(139, 68);
this.save_button.TabIndex = 20; this.save_button.TabIndex = 20;
this.save_button.Text = "Save"; this.save_button.Text = "Save";
this.save_button.UseVisualStyleBackColor = true; this.save_button.UseVisualStyleBackColor = true;
@ -586,9 +637,12 @@
this.parent_groupBox.Controls.Add(this.parent_firstNameTextBox); this.parent_groupBox.Controls.Add(this.parent_firstNameTextBox);
this.parent_groupBox.Controls.Add(lastNameLabel1); this.parent_groupBox.Controls.Add(lastNameLabel1);
this.parent_groupBox.Controls.Add(this.parent_lastNameTextBox); this.parent_groupBox.Controls.Add(this.parent_lastNameTextBox);
this.parent_groupBox.Location = new System.Drawing.Point(606, 51); this.parent_groupBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.parent_groupBox.Location = new System.Drawing.Point(814, 238);
this.parent_groupBox.Margin = new System.Windows.Forms.Padding(4);
this.parent_groupBox.Name = "parent_groupBox"; this.parent_groupBox.Name = "parent_groupBox";
this.parent_groupBox.Size = new System.Drawing.Size(344, 235); this.parent_groupBox.Padding = new System.Windows.Forms.Padding(4);
this.parent_groupBox.Size = new System.Drawing.Size(464, 311);
this.parent_groupBox.TabIndex = 21; this.parent_groupBox.TabIndex = 21;
this.parent_groupBox.TabStop = false; this.parent_groupBox.TabStop = false;
this.parent_groupBox.Text = "Parent Information"; this.parent_groupBox.Text = "Parent Information";
@ -596,9 +650,10 @@
// emailAddressTextBox // emailAddressTextBox
// //
this.emailAddressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "Parent.EmailAddress", true)); this.emailAddressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "Parent.EmailAddress", true));
this.emailAddressTextBox.Location = new System.Drawing.Point(131, 189); this.emailAddressTextBox.Location = new System.Drawing.Point(175, 236);
this.emailAddressTextBox.Margin = new System.Windows.Forms.Padding(4);
this.emailAddressTextBox.Name = "emailAddressTextBox"; this.emailAddressTextBox.Name = "emailAddressTextBox";
this.emailAddressTextBox.Size = new System.Drawing.Size(172, 26); this.emailAddressTextBox.Size = new System.Drawing.Size(228, 38);
this.emailAddressTextBox.TabIndex = 7; this.emailAddressTextBox.TabIndex = 7;
this.toolTips.SetToolTip(this.emailAddressTextBox, "Enter a valid email address with @"); this.toolTips.SetToolTip(this.emailAddressTextBox, "Enter a valid email address with @");
this.emailAddressTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.emailAddressTextBox_Validating); this.emailAddressTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.emailAddressTextBox_Validating);
@ -606,7 +661,8 @@
// phoneNumberNumericUpDown // phoneNumberNumericUpDown
// //
this.phoneNumberNumericUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.studentBindingSource, "Parent.PhoneNumber", true)); this.phoneNumberNumericUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.studentBindingSource, "Parent.PhoneNumber", true));
this.phoneNumberNumericUpDown.Location = new System.Drawing.Point(131, 139); this.phoneNumberNumericUpDown.Location = new System.Drawing.Point(175, 174);
this.phoneNumberNumericUpDown.Margin = new System.Windows.Forms.Padding(4);
this.phoneNumberNumericUpDown.Maximum = new decimal(new int[] { this.phoneNumberNumericUpDown.Maximum = new decimal(new int[] {
1410065407, 1410065407,
2, 2,
@ -618,7 +674,7 @@
0, 0,
0}); 0});
this.phoneNumberNumericUpDown.Name = "phoneNumberNumericUpDown"; this.phoneNumberNumericUpDown.Name = "phoneNumberNumericUpDown";
this.phoneNumberNumericUpDown.Size = new System.Drawing.Size(172, 26); this.phoneNumberNumericUpDown.Size = new System.Drawing.Size(229, 38);
this.phoneNumberNumericUpDown.TabIndex = 5; this.phoneNumberNumericUpDown.TabIndex = 5;
this.toolTips.SetToolTip(this.phoneNumberNumericUpDown, "Enter 9 digit phone number with no symbols."); this.toolTips.SetToolTip(this.phoneNumberNumericUpDown, "Enter 9 digit phone number with no symbols.");
this.phoneNumberNumericUpDown.Value = new decimal(new int[] { this.phoneNumberNumericUpDown.Value = new decimal(new int[] {
@ -631,36 +687,42 @@
// parent_firstNameTextBox // parent_firstNameTextBox
// //
this.parent_firstNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "Parent.FirstName", true)); this.parent_firstNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "Parent.FirstName", true));
this.parent_firstNameTextBox.Location = new System.Drawing.Point(130, 87); this.parent_firstNameTextBox.Location = new System.Drawing.Point(173, 109);
this.parent_firstNameTextBox.Margin = new System.Windows.Forms.Padding(4);
this.parent_firstNameTextBox.Name = "parent_firstNameTextBox"; this.parent_firstNameTextBox.Name = "parent_firstNameTextBox";
this.parent_firstNameTextBox.Size = new System.Drawing.Size(173, 26); this.parent_firstNameTextBox.Size = new System.Drawing.Size(229, 38);
this.parent_firstNameTextBox.TabIndex = 3; this.parent_firstNameTextBox.TabIndex = 3;
this.parent_firstNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating); this.parent_firstNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating);
// //
// parent_lastNameTextBox // parent_lastNameTextBox
// //
this.parent_lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "Parent.LastName", true)); this.parent_lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "Parent.LastName", true));
this.parent_lastNameTextBox.Location = new System.Drawing.Point(130, 39); this.parent_lastNameTextBox.Location = new System.Drawing.Point(173, 49);
this.parent_lastNameTextBox.Margin = new System.Windows.Forms.Padding(4);
this.parent_lastNameTextBox.Name = "parent_lastNameTextBox"; this.parent_lastNameTextBox.Name = "parent_lastNameTextBox";
this.parent_lastNameTextBox.Size = new System.Drawing.Size(173, 26); this.parent_lastNameTextBox.Size = new System.Drawing.Size(229, 38);
this.parent_lastNameTextBox.TabIndex = 1; this.parent_lastNameTextBox.TabIndex = 1;
this.parent_lastNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating); this.parent_lastNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating);
// //
// clear_button // clear_button
// //
this.clear_button.Location = new System.Drawing.Point(169, 350); this.clear_button.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.clear_button.Location = new System.Drawing.Point(224, 470);
this.clear_button.Margin = new System.Windows.Forms.Padding(4);
this.clear_button.Name = "clear_button"; this.clear_button.Name = "clear_button";
this.clear_button.Size = new System.Drawing.Size(116, 54); this.clear_button.Size = new System.Drawing.Size(155, 68);
this.clear_button.TabIndex = 22; this.clear_button.TabIndex = 22;
this.clear_button.Text = "Clear form for new student"; this.clear_button.Text = "Clear form";
this.clear_button.UseVisualStyleBackColor = true; this.clear_button.UseVisualStyleBackColor = true;
this.clear_button.Click += new System.EventHandler(this.clear_button_Click); this.clear_button.Click += new System.EventHandler(this.clear_button_Click);
// //
// delete_button // delete_button
// //
this.delete_button.Location = new System.Drawing.Point(320, 350); this.delete_button.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.delete_button.Location = new System.Drawing.Point(433, 470);
this.delete_button.Margin = new System.Windows.Forms.Padding(4);
this.delete_button.Name = "delete_button"; this.delete_button.Name = "delete_button";
this.delete_button.Size = new System.Drawing.Size(104, 54); this.delete_button.Size = new System.Drawing.Size(139, 68);
this.delete_button.TabIndex = 23; this.delete_button.TabIndex = 23;
this.delete_button.Text = "Delete"; this.delete_button.Text = "Delete";
this.delete_button.UseVisualStyleBackColor = true; this.delete_button.UseVisualStyleBackColor = true;
@ -677,17 +739,21 @@
// lblSearch // lblSearch
// //
this.lblSearch.AutoSize = true; this.lblSearch.AutoSize = true;
this.lblSearch.Location = new System.Drawing.Point(612, 295); this.lblSearch.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblSearch.Location = new System.Drawing.Point(827, 48);
this.lblSearch.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblSearch.Name = "lblSearch"; this.lblSearch.Name = "lblSearch";
this.lblSearch.Size = new System.Drawing.Size(226, 20); this.lblSearch.Size = new System.Drawing.Size(300, 35);
this.lblSearch.TabIndex = 24; this.lblSearch.TabIndex = 24;
this.lblSearch.Text = "Search Student by Last Name:"; this.lblSearch.Text = "Search Student by Last Name:";
// //
// search_textBox // search_textBox
// //
this.search_textBox.Location = new System.Drawing.Point(616, 318); this.search_textBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.search_textBox.Location = new System.Drawing.Point(833, 87);
this.search_textBox.Margin = new System.Windows.Forms.Padding(4);
this.search_textBox.Name = "search_textBox"; this.search_textBox.Name = "search_textBox";
this.search_textBox.Size = new System.Drawing.Size(284, 26); this.search_textBox.Size = new System.Drawing.Size(377, 38);
this.search_textBox.TabIndex = 25; this.search_textBox.TabIndex = 25;
this.toolTips.SetToolTip(this.search_textBox, "Type last name of student and hit enter"); this.toolTips.SetToolTip(this.search_textBox, "Type last name of student and hit enter");
this.search_textBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.search_textBox_KeyDown); this.search_textBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.search_textBox_KeyDown);
@ -698,21 +764,25 @@
// //
// btnChaosMonkey // btnChaosMonkey
// //
this.btnChaosMonkey.Location = new System.Drawing.Point(475, 350); this.btnChaosMonkey.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnChaosMonkey.Location = new System.Drawing.Point(616, 470);
this.btnChaosMonkey.Margin = new System.Windows.Forms.Padding(4);
this.btnChaosMonkey.Name = "btnChaosMonkey"; this.btnChaosMonkey.Name = "btnChaosMonkey";
this.btnChaosMonkey.Size = new System.Drawing.Size(96, 66); this.btnChaosMonkey.Size = new System.Drawing.Size(141, 68);
this.btnChaosMonkey.TabIndex = 26; this.btnChaosMonkey.TabIndex = 26;
this.btnChaosMonkey.Text = "CHAOS MONKEY"; this.btnChaosMonkey.Text = "CHAOS";
this.btnChaosMonkey.UseVisualStyleBackColor = true; this.btnChaosMonkey.UseVisualStyleBackColor = true;
this.btnChaosMonkey.Visible = false; this.btnChaosMonkey.Visible = false;
this.btnChaosMonkey.Click += new System.EventHandler(this.btnChaosMonkey_Click); this.btnChaosMonkey.Click += new System.EventHandler(this.btnChaosMonkey_Click);
// //
// foundStudents_comboBox // foundStudents_comboBox
// //
this.foundStudents_comboBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.foundStudents_comboBox.FormattingEnabled = true; this.foundStudents_comboBox.FormattingEnabled = true;
this.foundStudents_comboBox.Location = new System.Drawing.Point(620, 376); this.foundStudents_comboBox.Location = new System.Drawing.Point(833, 168);
this.foundStudents_comboBox.Margin = new System.Windows.Forms.Padding(4);
this.foundStudents_comboBox.Name = "foundStudents_comboBox"; this.foundStudents_comboBox.Name = "foundStudents_comboBox";
this.foundStudents_comboBox.Size = new System.Drawing.Size(284, 28); this.foundStudents_comboBox.Size = new System.Drawing.Size(377, 43);
this.foundStudents_comboBox.TabIndex = 27; this.foundStudents_comboBox.TabIndex = 27;
this.foundStudents_comboBox.SelectionChangeCommitted += new System.EventHandler(this.foundStudents_comboBox_SelectionChangeCommitted); this.foundStudents_comboBox.SelectionChangeCommitted += new System.EventHandler(this.foundStudents_comboBox_SelectionChangeCommitted);
this.foundStudents_comboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.foundStudents_comboBox_KeyDown); this.foundStudents_comboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.foundStudents_comboBox_KeyDown);
@ -720,17 +790,21 @@
// lblFoundStudents // lblFoundStudents
// //
this.lblFoundStudents.AutoSize = true; this.lblFoundStudents.AutoSize = true;
this.lblFoundStudents.Location = new System.Drawing.Point(612, 350); this.lblFoundStudents.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblFoundStudents.Location = new System.Drawing.Point(827, 129);
this.lblFoundStudents.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblFoundStudents.Name = "lblFoundStudents"; this.lblFoundStudents.Name = "lblFoundStudents";
this.lblFoundStudents.Size = new System.Drawing.Size(128, 20); this.lblFoundStudents.Size = new System.Drawing.Size(169, 35);
this.lblFoundStudents.TabIndex = 28; this.lblFoundStudents.TabIndex = 28;
this.lblFoundStudents.Text = "Found Students:"; this.lblFoundStudents.Text = "Found Students:";
// //
// studentDbID // studentDbID
// //
this.studentDbID.Location = new System.Drawing.Point(933, 32); this.studentDbID.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.studentDbID.Location = new System.Drawing.Point(1244, 40);
this.studentDbID.Margin = new System.Windows.Forms.Padding(4);
this.studentDbID.Name = "studentDbID"; this.studentDbID.Name = "studentDbID";
this.studentDbID.Size = new System.Drawing.Size(47, 26); this.studentDbID.Size = new System.Drawing.Size(63, 38);
this.studentDbID.TabIndex = 8; this.studentDbID.TabIndex = 8;
this.studentDbID.Visible = false; this.studentDbID.Visible = false;
// //
@ -738,18 +812,10 @@
// //
this.studentBindingSource.DataSource = typeof(DBWizard.Models.Student); this.studentBindingSource.DataSource = typeof(DBWizard.Models.Student);
// //
// exitWithoutSavingToolStripMenuItem
//
this.exitWithoutSavingToolStripMenuItem.Name = "exitWithoutSavingToolStripMenuItem";
this.exitWithoutSavingToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
this.exitWithoutSavingToolStripMenuItem.Text = "Exit without saving";
this.exitWithoutSavingToolStripMenuItem.Click += new System.EventHandler(this.exitWithoutSavingToolStripMenuItem_Click);
//
// Form1 // Form1
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1424, 735);
this.ClientSize = new System.Drawing.Size(992, 450);
this.Controls.Add(this.studentDbID); this.Controls.Add(this.studentDbID);
this.Controls.Add(this.lblFoundStudents); this.Controls.Add(this.lblFoundStudents);
this.Controls.Add(this.foundStudents_comboBox); this.Controls.Add(this.foundStudents_comboBox);
@ -782,9 +848,9 @@
this.Controls.Add(this.topTableLayoutPanel); this.Controls.Add(this.topTableLayoutPanel);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.mainMenuStrip; this.MainMenuStrip = this.mainMenuStrip;
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "Form1"; this.Name = "Form1";
this.Text = "KentYouthDB"; this.Text = "KentYouthDB";
this.Load += new System.EventHandler(this.Form1_Load);
this.topTableLayoutPanel.ResumeLayout(false); this.topTableLayoutPanel.ResumeLayout(false);
this.topTableLayoutPanel.PerformLayout(); this.topTableLayoutPanel.PerformLayout();
this.mainMenuStrip.ResumeLayout(false); this.mainMenuStrip.ResumeLayout(false);

View File

@ -37,11 +37,6 @@ namespace DBWizard
InitializeComponent(); InitializeComponent();
} }
private void Form1_Load(object sender, EventArgs e)
{
FillComboBoxes();
}
/* Fills program and school combo boxes on the form /* Fills program and school combo boxes on the form
* with the static data from the sqlite db. * with the static data from the sqlite db.
* input: no input * input: no input
@ -430,5 +425,6 @@ namespace DBWizard
{ {
save_button_Click(save_button, EventArgs.Empty); save_button_Click(save_button, EventArgs.Empty);
} }
} //Form1 } //Form1
} }

View File

@ -2253,7 +2253,4 @@
AAA= AAA=
</value> </value>
</data> </data>
<metadata name="toolTips.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 65</value>
</metadata>
</root> </root>