Hid the numeric up/down for student and parent

This commit is contained in:
lindellian 2020-05-08 21:52:03 -07:00
parent b5530e4a28
commit 39bf1d2539

229
Form1.Designer.cs generated
View File

@ -113,9 +113,10 @@
lastNameLabel.AutoSize = true;
lastNameLabel.BackColor = System.Drawing.Color.Transparent;
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(472, 6);
lastNameLabel.Location = new System.Drawing.Point(629, 8);
lastNameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
lastNameLabel.Name = "lastNameLabel";
lastNameLabel.Size = new System.Drawing.Size(93, 26);
lastNameLabel.Size = new System.Drawing.Size(122, 35);
lastNameLabel.TabIndex = 3;
lastNameLabel.Text = "Last Name:";
//
@ -124,9 +125,10 @@
firstNameLabel.AutoSize = true;
firstNameLabel.BackColor = System.Drawing.Color.Transparent;
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(240, 6);
firstNameLabel.Location = new System.Drawing.Point(320, 8);
firstNameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
firstNameLabel.Name = "firstNameLabel";
firstNameLabel.Size = new System.Drawing.Size(97, 26);
firstNameLabel.Size = new System.Drawing.Size(126, 35);
firstNameLabel.TabIndex = 4;
firstNameLabel.Text = "First Name:";
//
@ -135,9 +137,10 @@
student_idLabel.AutoSize = true;
student_idLabel.BackColor = System.Drawing.Color.Transparent;
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(37, 182);
student_idLabel.Location = new System.Drawing.Point(49, 228);
student_idLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
student_idLabel.Name = "student_idLabel";
student_idLabel.Size = new System.Drawing.Size(93, 26);
student_idLabel.Size = new System.Drawing.Size(123, 35);
student_idLabel.TabIndex = 6;
student_idLabel.Text = "Student ID:";
//
@ -146,9 +149,10 @@
dOBLabel.AutoSize = true;
dOBLabel.BackColor = System.Drawing.Color.Transparent;
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(240, 78);
dOBLabel.Location = new System.Drawing.Point(320, 98);
dOBLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
dOBLabel.Name = "dOBLabel";
dOBLabel.Size = new System.Drawing.Size(49, 26);
dOBLabel.Size = new System.Drawing.Size(65, 35);
dOBLabel.TabIndex = 8;
dOBLabel.Text = "DOB:";
//
@ -157,9 +161,10 @@
programNameLabel.AutoSize = true;
programNameLabel.BackColor = System.Drawing.Color.Transparent;
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(472, 78);
programNameLabel.Location = new System.Drawing.Point(629, 98);
programNameLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
programNameLabel.Name = "programNameLabel";
programNameLabel.Size = new System.Drawing.Size(79, 26);
programNameLabel.Size = new System.Drawing.Size(104, 35);
programNameLabel.TabIndex = 10;
programNameLabel.Text = "Program:";
//
@ -168,9 +173,10 @@
addressLabel.AutoSize = true;
addressLabel.BackColor = System.Drawing.Color.Transparent;
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(240, 220);
addressLabel.Location = new System.Drawing.Point(320, 275);
addressLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
addressLabel.Name = "addressLabel";
addressLabel.Size = new System.Drawing.Size(74, 26);
addressLabel.Size = new System.Drawing.Size(96, 35);
addressLabel.TabIndex = 12;
addressLabel.Text = "Address:";
//
@ -179,9 +185,10 @@
schoolLabel.AutoSize = true;
schoolLabel.BackColor = System.Drawing.Color.Transparent;
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(472, 150);
schoolLabel.Location = new System.Drawing.Point(629, 188);
schoolLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
schoolLabel.Name = "schoolLabel";
schoolLabel.Size = new System.Drawing.Size(64, 26);
schoolLabel.Size = new System.Drawing.Size(84, 35);
schoolLabel.TabIndex = 14;
schoolLabel.Text = "School:";
//
@ -190,9 +197,10 @@
genderLabel.AutoSize = true;
genderLabel.BackColor = System.Drawing.Color.Transparent;
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(240, 150);
genderLabel.Location = new System.Drawing.Point(320, 188);
genderLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
genderLabel.Name = "genderLabel";
genderLabel.Size = new System.Drawing.Size(69, 26);
genderLabel.Size = new System.Drawing.Size(91, 35);
genderLabel.TabIndex = 16;
genderLabel.Text = "Gender:";
//
@ -201,9 +209,10 @@
gradeLevelLabel.AutoSize = true;
gradeLevelLabel.BackColor = System.Drawing.Color.Transparent;
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(472, 220);
gradeLevelLabel.Location = new System.Drawing.Point(629, 275);
gradeLevelLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
gradeLevelLabel.Name = "gradeLevelLabel";
gradeLevelLabel.Size = new System.Drawing.Size(101, 26);
gradeLevelLabel.Size = new System.Drawing.Size(134, 35);
gradeLevelLabel.TabIndex = 18;
gradeLevelLabel.Text = "Grade Level:";
//
@ -211,9 +220,10 @@
//
lastNameLabel1.AutoSize = true;
lastNameLabel1.BackColor = System.Drawing.Color.Transparent;
lastNameLabel1.Location = new System.Drawing.Point(10, 94);
lastNameLabel1.Location = new System.Drawing.Point(13, 118);
lastNameLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
lastNameLabel1.Name = "lastNameLabel1";
lastNameLabel1.Size = new System.Drawing.Size(93, 26);
lastNameLabel1.Size = new System.Drawing.Size(122, 35);
lastNameLabel1.TabIndex = 0;
lastNameLabel1.Text = "Last Name:";
//
@ -221,9 +231,10 @@
//
firstNameLabel1.AutoSize = true;
firstNameLabel1.BackColor = System.Drawing.Color.Transparent;
firstNameLabel1.Location = new System.Drawing.Point(10, 50);
firstNameLabel1.Location = new System.Drawing.Point(13, 62);
firstNameLabel1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
firstNameLabel1.Name = "firstNameLabel1";
firstNameLabel1.Size = new System.Drawing.Size(97, 26);
firstNameLabel1.Size = new System.Drawing.Size(126, 35);
firstNameLabel1.TabIndex = 2;
firstNameLabel1.Text = "First Name:";
//
@ -231,9 +242,10 @@
//
phoneNumberLabel.AutoSize = true;
phoneNumberLabel.BackColor = System.Drawing.Color.Transparent;
phoneNumberLabel.Location = new System.Drawing.Point(10, 139);
phoneNumberLabel.Location = new System.Drawing.Point(13, 174);
phoneNumberLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
phoneNumberLabel.Name = "phoneNumberLabel";
phoneNumberLabel.Size = new System.Drawing.Size(124, 26);
phoneNumberLabel.Size = new System.Drawing.Size(164, 35);
phoneNumberLabel.TabIndex = 4;
phoneNumberLabel.Text = "Phone Number:";
//
@ -241,9 +253,10 @@
//
emailAddressLabel.AutoSize = true;
emailAddressLabel.BackColor = System.Drawing.Color.Transparent;
emailAddressLabel.Location = new System.Drawing.Point(10, 189);
emailAddressLabel.Location = new System.Drawing.Point(13, 236);
emailAddressLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
emailAddressLabel.Name = "emailAddressLabel";
emailAddressLabel.Size = new System.Drawing.Size(119, 26);
emailAddressLabel.Size = new System.Drawing.Size(157, 35);
emailAddressLabel.TabIndex = 6;
emailAddressLabel.Text = "Email Address:";
//
@ -254,10 +267,11 @@
this.topTableLayoutPanel.Controls.Add(this.mainMenuStrip, 0, 0);
this.topTableLayoutPanel.Dock = System.Windows.Forms.DockStyle.Top;
this.topTableLayoutPanel.Location = new System.Drawing.Point(0, 0);
this.topTableLayoutPanel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.topTableLayoutPanel.Name = "topTableLayoutPanel";
this.topTableLayoutPanel.RowCount = 1;
this.topTableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.topTableLayoutPanel.Size = new System.Drawing.Size(1068, 35);
this.topTableLayoutPanel.Size = new System.Drawing.Size(1424, 44);
this.topTableLayoutPanel.TabIndex = 0;
//
// mainMenuStrip
@ -265,13 +279,13 @@
this.mainMenuStrip.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.mainMenuStrip.Dock = System.Windows.Forms.DockStyle.None;
this.mainMenuStrip.GripMargin = new System.Windows.Forms.Padding(2, 2, 0, 2);
this.mainMenuStrip.ImageScalingSize = new System.Drawing.Size(24, 24);
this.mainMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.fileToolStripMenuItem});
this.mainMenuStrip.Location = new System.Drawing.Point(0, 0);
this.mainMenuStrip.Name = "mainMenuStrip";
this.mainMenuStrip.Size = new System.Drawing.Size(1068, 33);
this.mainMenuStrip.Padding = new System.Windows.Forms.Padding(8, 2, 0, 2);
this.mainMenuStrip.Size = new System.Drawing.Size(1424, 40);
this.mainMenuStrip.TabIndex = 0;
this.mainMenuStrip.Text = "mainMenuStrip";
//
@ -284,20 +298,20 @@
this.exitWithoutSavingToolStripMenuItem,
this.exitsavesDataToolStripMenuItem});
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
this.fileToolStripMenuItem.Size = new System.Drawing.Size(54, 29);
this.fileToolStripMenuItem.Size = new System.Drawing.Size(72, 36);
this.fileToolStripMenuItem.Text = "&File";
//
// newStudentToolStripMenuItem
//
this.newStudentToolStripMenuItem.Name = "newStudentToolStripMenuItem";
this.newStudentToolStripMenuItem.Size = new System.Drawing.Size(262, 34);
this.newStudentToolStripMenuItem.Size = new System.Drawing.Size(349, 44);
this.newStudentToolStripMenuItem.Text = "&New Student";
this.newStudentToolStripMenuItem.Click += new System.EventHandler(this.clear_button_Click);
//
// saveStudentToolStripMenuItem
//
this.saveStudentToolStripMenuItem.Name = "saveStudentToolStripMenuItem";
this.saveStudentToolStripMenuItem.Size = new System.Drawing.Size(262, 34);
this.saveStudentToolStripMenuItem.Size = new System.Drawing.Size(349, 44);
this.saveStudentToolStripMenuItem.Text = "&Save Student";
this.saveStudentToolStripMenuItem.Click += new System.EventHandler(this.save_button_Click);
//
@ -307,32 +321,32 @@
this.studentBySchoolToolStripMenuItem,
this.studentsByProgramToolStripMenuItem});
this.reportsToolStripMenuItem.Name = "reportsToolStripMenuItem";
this.reportsToolStripMenuItem.Size = new System.Drawing.Size(262, 34);
this.reportsToolStripMenuItem.Size = new System.Drawing.Size(349, 44);
this.reportsToolStripMenuItem.Text = "Reports";
//
// 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";
//
// 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";
//
// exitWithoutSavingToolStripMenuItem
//
this.exitWithoutSavingToolStripMenuItem.Name = "exitWithoutSavingToolStripMenuItem";
this.exitWithoutSavingToolStripMenuItem.Size = new System.Drawing.Size(262, 34);
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
//
this.exitsavesDataToolStripMenuItem.Name = "exitsavesDataToolStripMenuItem";
this.exitsavesDataToolStripMenuItem.Size = new System.Drawing.Size(262, 34);
this.exitsavesDataToolStripMenuItem.Size = new System.Drawing.Size(349, 44);
this.exitsavesDataToolStripMenuItem.Text = "E&xit (saves data)";
this.exitsavesDataToolStripMenuItem.Click += new System.EventHandler(this.exitsavesDataToolStripMenuItem_Click);
//
@ -340,9 +354,10 @@
//
this.student_pictureBox.BackColor = System.Drawing.SystemColors.Window;
this.student_pictureBox.Image = ((System.Drawing.Image)(resources.GetObject("student_pictureBox.Image")));
this.student_pictureBox.Location = new System.Drawing.Point(41, 22);
this.student_pictureBox.Location = new System.Drawing.Point(55, 28);
this.student_pictureBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
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.TabIndex = 1;
this.student_pictureBox.TabStop = false;
@ -353,9 +368,10 @@
//
this.lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "LastName", true));
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(476, 37);
this.lastNameTextBox.Location = new System.Drawing.Point(635, 46);
this.lastNameTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.lastNameTextBox.Name = "lastNameTextBox";
this.lastNameTextBox.Size = new System.Drawing.Size(167, 30);
this.lastNameTextBox.Size = new System.Drawing.Size(221, 38);
this.lastNameTextBox.TabIndex = 4;
this.lastNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating);
//
@ -363,9 +379,10 @@
//
this.firstNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "FirstName", true));
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(243, 37);
this.firstNameTextBox.Location = new System.Drawing.Point(324, 46);
this.firstNameTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.firstNameTextBox.Name = "firstNameTextBox";
this.firstNameTextBox.Size = new System.Drawing.Size(177, 30);
this.firstNameTextBox.Size = new System.Drawing.Size(235, 38);
this.firstNameTextBox.TabIndex = 5;
this.firstNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating);
//
@ -373,9 +390,10 @@
//
this.student_idTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "student_id", true));
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(41, 215);
this.student_idTextBox.Location = new System.Drawing.Point(55, 269);
this.student_idTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.student_idTextBox.Name = "student_idTextBox";
this.student_idTextBox.Size = new System.Drawing.Size(135, 30);
this.student_idTextBox.Size = new System.Drawing.Size(179, 38);
this.student_idTextBox.TabIndex = 7;
this.student_idTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.student_idTextBox_Validating);
//
@ -383,10 +401,11 @@
//
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.Location = new System.Drawing.Point(244, 109);
this.dob_dateTimePicker.Location = new System.Drawing.Point(325, 136);
this.dob_dateTimePicker.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.dob_dateTimePicker.MinDate = new System.DateTime(1900, 1, 1, 0, 0, 0, 0);
this.dob_dateTimePicker.Name = "dob_dateTimePicker";
this.dob_dateTimePicker.Size = new System.Drawing.Size(135, 30);
this.dob_dateTimePicker.Size = new System.Drawing.Size(179, 38);
this.dob_dateTimePicker.TabIndex = 9;
this.dob_dateTimePicker.Validating += new System.ComponentModel.CancelEventHandler(this.dob_dateTimePicker_Validating);
//
@ -395,9 +414,10 @@
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.Location = new System.Drawing.Point(476, 105);
this.programComboBox.Location = new System.Drawing.Point(635, 131);
this.programComboBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.programComboBox.Name = "programComboBox";
this.programComboBox.Size = new System.Drawing.Size(177, 34);
this.programComboBox.Size = new System.Drawing.Size(235, 43);
this.programComboBox.TabIndex = 11;
this.programComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating);
//
@ -405,10 +425,11 @@
//
this.addressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "address", true));
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(244, 251);
this.addressTextBox.Location = new System.Drawing.Point(325, 314);
this.addressTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.addressTextBox.Multiline = true;
this.addressTextBox.Name = "addressTextBox";
this.addressTextBox.Size = new System.Drawing.Size(167, 66);
this.addressTextBox.Size = new System.Drawing.Size(221, 82);
this.addressTextBox.TabIndex = 13;
this.addressTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating);
//
@ -418,9 +439,10 @@
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.Location = new System.Drawing.Point(476, 180);
this.schoolComboBox.Location = new System.Drawing.Point(635, 225);
this.schoolComboBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.schoolComboBox.Name = "schoolComboBox";
this.schoolComboBox.Size = new System.Drawing.Size(177, 34);
this.schoolComboBox.Size = new System.Drawing.Size(235, 43);
this.schoolComboBox.TabIndex = 15;
this.schoolComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating);
//
@ -433,9 +455,10 @@
this.genderComboBox.Items.AddRange(new object[] {
"Male",
"Female"});
this.genderComboBox.Location = new System.Drawing.Point(244, 180);
this.genderComboBox.Location = new System.Drawing.Point(325, 225);
this.genderComboBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.genderComboBox.Name = "genderComboBox";
this.genderComboBox.Size = new System.Drawing.Size(121, 34);
this.genderComboBox.Size = new System.Drawing.Size(160, 43);
this.genderComboBox.TabIndex = 17;
this.genderComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating);
//
@ -459,18 +482,20 @@
"10",
"11",
"12"});
this.gradeLevelComboBox.Location = new System.Drawing.Point(476, 251);
this.gradeLevelComboBox.Location = new System.Drawing.Point(635, 314);
this.gradeLevelComboBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.gradeLevelComboBox.Name = "gradeLevelComboBox";
this.gradeLevelComboBox.Size = new System.Drawing.Size(121, 34);
this.gradeLevelComboBox.Size = new System.Drawing.Size(160, 43);
this.gradeLevelComboBox.TabIndex = 19;
this.gradeLevelComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.ComboBox_Validating);
//
// save_button
//
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(79, 366);
this.save_button.Location = new System.Drawing.Point(105, 458);
this.save_button.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
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.Text = "Save";
this.save_button.UseVisualStyleBackColor = true;
@ -489,9 +514,11 @@
this.parent_groupBox.Controls.Add(this.parent_lastNameTextBox);
this.parent_groupBox.Font = new System.Drawing.Font("Sitka Display", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.parent_groupBox.ForeColor = System.Drawing.SystemColors.ControlText;
this.parent_groupBox.Location = new System.Drawing.Point(688, 180);
this.parent_groupBox.Location = new System.Drawing.Point(917, 225);
this.parent_groupBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.parent_groupBox.Name = "parent_groupBox";
this.parent_groupBox.Size = new System.Drawing.Size(348, 249);
this.parent_groupBox.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.parent_groupBox.Size = new System.Drawing.Size(464, 311);
this.parent_groupBox.TabIndex = 21;
this.parent_groupBox.TabStop = false;
this.parent_groupBox.Text = "Parent Information";
@ -499,9 +526,10 @@
// emailAddressTextBox
//
this.emailAddressTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "Parent.EmailAddress", true));
this.emailAddressTextBox.Location = new System.Drawing.Point(140, 186);
this.emailAddressTextBox.Location = new System.Drawing.Point(187, 232);
this.emailAddressTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.emailAddressTextBox.Name = "emailAddressTextBox";
this.emailAddressTextBox.Size = new System.Drawing.Size(172, 30);
this.emailAddressTextBox.Size = new System.Drawing.Size(228, 38);
this.emailAddressTextBox.TabIndex = 7;
this.toolTips.SetToolTip(this.emailAddressTextBox, "Enter a valid email address with @");
this.emailAddressTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.emailAddressTextBox_Validating);
@ -509,7 +537,8 @@
// phoneNumberNumericUpDown
//
this.phoneNumberNumericUpDown.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.studentBindingSource, "Parent.PhoneNumber", true));
this.phoneNumberNumericUpDown.Location = new System.Drawing.Point(139, 139);
this.phoneNumberNumericUpDown.Location = new System.Drawing.Point(185, 174);
this.phoneNumberNumericUpDown.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.phoneNumberNumericUpDown.Maximum = new decimal(new int[] {
1410065407,
2,
@ -521,7 +550,7 @@
0,
0});
this.phoneNumberNumericUpDown.Name = "phoneNumberNumericUpDown";
this.phoneNumberNumericUpDown.Size = new System.Drawing.Size(172, 30);
this.phoneNumberNumericUpDown.Size = new System.Drawing.Size(229, 38);
this.phoneNumberNumericUpDown.TabIndex = 5;
this.toolTips.SetToolTip(this.phoneNumberNumericUpDown, "Enter 9 digit phone number with no symbols.");
this.phoneNumberNumericUpDown.Value = new decimal(new int[] {
@ -534,27 +563,30 @@
// parent_firstNameTextBox
//
this.parent_firstNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "Parent.FirstName", true));
this.parent_firstNameTextBox.Location = new System.Drawing.Point(139, 50);
this.parent_firstNameTextBox.Location = new System.Drawing.Point(185, 62);
this.parent_firstNameTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.parent_firstNameTextBox.Name = "parent_firstNameTextBox";
this.parent_firstNameTextBox.Size = new System.Drawing.Size(173, 30);
this.parent_firstNameTextBox.Size = new System.Drawing.Size(229, 38);
this.parent_firstNameTextBox.TabIndex = 3;
this.parent_firstNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating);
//
// parent_lastNameTextBox
//
this.parent_lastNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.studentBindingSource, "Parent.LastName", true));
this.parent_lastNameTextBox.Location = new System.Drawing.Point(139, 94);
this.parent_lastNameTextBox.Location = new System.Drawing.Point(185, 118);
this.parent_lastNameTextBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.parent_lastNameTextBox.Name = "parent_lastNameTextBox";
this.parent_lastNameTextBox.Size = new System.Drawing.Size(173, 30);
this.parent_lastNameTextBox.Size = new System.Drawing.Size(229, 38);
this.parent_lastNameTextBox.TabIndex = 1;
this.parent_lastNameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.String_TextBox_Validating);
//
// clear_button
//
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(243, 366);
this.clear_button.Location = new System.Drawing.Point(324, 458);
this.clear_button.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
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.Text = "Clear form";
this.clear_button.UseVisualStyleBackColor = true;
@ -563,9 +595,10 @@
// delete_button
//
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(420, 366);
this.delete_button.Location = new System.Drawing.Point(560, 458);
this.delete_button.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
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.Text = "Delete";
this.delete_button.UseVisualStyleBackColor = true;
@ -584,18 +617,20 @@
this.lblSearch.AutoSize = true;
this.lblSearch.BackColor = System.Drawing.Color.Transparent;
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(710, 4);
this.lblSearch.Location = new System.Drawing.Point(947, 5);
this.lblSearch.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblSearch.Name = "lblSearch";
this.lblSearch.Size = new System.Drawing.Size(226, 26);
this.lblSearch.Size = new System.Drawing.Size(300, 35);
this.lblSearch.TabIndex = 24;
this.lblSearch.Text = "Search Student by Last Name:";
//
// search_textBox
//
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(714, 45);
this.search_textBox.Location = new System.Drawing.Point(952, 56);
this.search_textBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.search_textBox.Name = "search_textBox";
this.search_textBox.Size = new System.Drawing.Size(284, 30);
this.search_textBox.Size = new System.Drawing.Size(377, 38);
this.search_textBox.TabIndex = 25;
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);
@ -607,9 +642,10 @@
// btnChaosMonkey
//
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(559, 366);
this.btnChaosMonkey.Location = new System.Drawing.Point(745, 458);
this.btnChaosMonkey.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.btnChaosMonkey.Name = "btnChaosMonkey";
this.btnChaosMonkey.Size = new System.Drawing.Size(106, 54);
this.btnChaosMonkey.Size = new System.Drawing.Size(141, 68);
this.btnChaosMonkey.TabIndex = 26;
this.btnChaosMonkey.Text = "CHAOS";
this.btnChaosMonkey.UseVisualStyleBackColor = true;
@ -620,9 +656,10 @@
//
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.Location = new System.Drawing.Point(714, 126);
this.foundStudents_comboBox.Location = new System.Drawing.Point(952, 158);
this.foundStudents_comboBox.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.foundStudents_comboBox.Name = "foundStudents_comboBox";
this.foundStudents_comboBox.Size = new System.Drawing.Size(284, 34);
this.foundStudents_comboBox.Size = new System.Drawing.Size(377, 43);
this.foundStudents_comboBox.TabIndex = 27;
this.foundStudents_comboBox.SelectionChangeCommitted += new System.EventHandler(this.foundStudents_comboBox_SelectionChangeCommitted);
this.foundStudents_comboBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.foundStudents_comboBox_KeyDown);
@ -632,18 +669,20 @@
this.lblFoundStudents.AutoSize = true;
this.lblFoundStudents.BackColor = System.Drawing.Color.Transparent;
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(710, 87);
this.lblFoundStudents.Location = new System.Drawing.Point(947, 109);
this.lblFoundStudents.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblFoundStudents.Name = "lblFoundStudents";
this.lblFoundStudents.Size = new System.Drawing.Size(128, 26);
this.lblFoundStudents.Size = new System.Drawing.Size(169, 35);
this.lblFoundStudents.TabIndex = 28;
this.lblFoundStudents.Text = "Found Students:";
//
// studentDbID
//
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(5, 32);
this.studentDbID.Location = new System.Drawing.Point(13, 52);
this.studentDbID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.studentDbID.Name = "studentDbID";
this.studentDbID.Size = new System.Drawing.Size(47, 30);
this.studentDbID.Size = new System.Drawing.Size(63, 38);
this.studentDbID.TabIndex = 8;
this.studentDbID.TabStop = false;
this.studentDbID.Visible = false;
@ -681,18 +720,18 @@
this.panel1.Controls.Add(lastNameLabel);
this.panel1.Controls.Add(this.lastNameTextBox);
this.panel1.Controls.Add(this.student_pictureBox);
this.panel1.Controls.Add(this.parentDbID);
this.panel1.Location = new System.Drawing.Point(0, 34);
this.panel1.Margin = new System.Windows.Forms.Padding(2);
this.panel1.Location = new System.Drawing.Point(0, 42);
this.panel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1068, 553);
this.panel1.Size = new System.Drawing.Size(1424, 704);
this.panel1.TabIndex = 29;
//
// parentDbID
//
this.parentDbID.Location = new System.Drawing.Point(942, -2);
this.parentDbID.Location = new System.Drawing.Point(1237, 52);
this.parentDbID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.parentDbID.Name = "parentDbID";
this.parentDbID.Size = new System.Drawing.Size(47, 26);
this.parentDbID.Size = new System.Drawing.Size(63, 31);
this.parentDbID.TabIndex = 29;
this.parentDbID.Visible = false;
//
@ -702,15 +741,17 @@
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1068, 600);
this.ClientSize = new System.Drawing.Size(1424, 750);
this.Controls.Add(this.panel1);
this.Controls.Add(this.studentDbID);
this.Controls.Add(this.topTableLayoutPanel);
this.Controls.Add(this.parentDbID);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MainMenuStrip = this.mainMenuStrip;
this.MinimumSize = new System.Drawing.Size(1071, 656);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.MinimumSize = new System.Drawing.Size(1419, 802);
this.Name = "Form1";
this.Text = "KentYouthDB";
this.Load += new System.EventHandler(this.Form1_Load);