Hook the report file menu items back into their events.

This commit is contained in:
kougyokugentou 2020-05-09 22:12:45 -07:00
parent 5f1ec5e9ee
commit 34c9a3560f

29
Form1.Designer.cs generated
View File

@ -55,6 +55,7 @@
this.exitsavesDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.exitsavesDataToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.student_pictureBox = new System.Windows.Forms.PictureBox(); this.student_pictureBox = new System.Windows.Forms.PictureBox();
this.lastNameTextBox = new System.Windows.Forms.TextBox(); this.lastNameTextBox = new System.Windows.Forms.TextBox();
this.studentBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.firstNameTextBox = new System.Windows.Forms.TextBox(); this.firstNameTextBox = new System.Windows.Forms.TextBox();
this.student_idTextBox = new System.Windows.Forms.TextBox(); this.student_idTextBox = new System.Windows.Forms.TextBox();
this.dob_dateTimePicker = new System.Windows.Forms.DateTimePicker(); this.dob_dateTimePicker = new System.Windows.Forms.DateTimePicker();
@ -82,7 +83,6 @@
this.studentDbID = new System.Windows.Forms.NumericUpDown(); this.studentDbID = new System.Windows.Forms.NumericUpDown();
this.panel1 = new System.Windows.Forms.Panel(); this.panel1 = new System.Windows.Forms.Panel();
this.parentDbID = new System.Windows.Forms.NumericUpDown(); this.parentDbID = new System.Windows.Forms.NumericUpDown();
this.studentBindingSource = new System.Windows.Forms.BindingSource(this.components);
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();
@ -99,13 +99,13 @@
this.topTableLayoutPanel.SuspendLayout(); this.topTableLayoutPanel.SuspendLayout();
this.mainMenuStrip.SuspendLayout(); this.mainMenuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.student_pictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.student_pictureBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.studentBindingSource)).BeginInit();
this.parent_groupBox.SuspendLayout(); this.parent_groupBox.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.phoneNumberNumericUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.phoneNumberNumericUpDown)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.studentDbID)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.studentDbID)).BeginInit();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.parentDbID)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.parentDbID)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.studentBindingSource)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// lastNameLabel // lastNameLabel
@ -280,7 +280,6 @@
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.Padding = new System.Windows.Forms.Padding(6, 2, 0, 2);
this.mainMenuStrip.Size = new System.Drawing.Size(1078, 33); this.mainMenuStrip.Size = new System.Drawing.Size(1078, 33);
this.mainMenuStrip.TabIndex = 0; this.mainMenuStrip.TabIndex = 0;
this.mainMenuStrip.Text = "mainMenuStrip"; this.mainMenuStrip.Text = "mainMenuStrip";
@ -300,14 +299,14 @@
// newStudentToolStripMenuItem // newStudentToolStripMenuItem
// //
this.newStudentToolStripMenuItem.Name = "newStudentToolStripMenuItem"; this.newStudentToolStripMenuItem.Name = "newStudentToolStripMenuItem";
this.newStudentToolStripMenuItem.Size = new System.Drawing.Size(262, 34); this.newStudentToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
this.newStudentToolStripMenuItem.Text = "&New Student"; this.newStudentToolStripMenuItem.Text = "&New Student";
this.newStudentToolStripMenuItem.Click += new System.EventHandler(this.clear_button_Click); this.newStudentToolStripMenuItem.Click += new System.EventHandler(this.clear_button_Click);
// //
// saveStudentToolStripMenuItem // saveStudentToolStripMenuItem
// //
this.saveStudentToolStripMenuItem.Name = "saveStudentToolStripMenuItem"; this.saveStudentToolStripMenuItem.Name = "saveStudentToolStripMenuItem";
this.saveStudentToolStripMenuItem.Size = new System.Drawing.Size(262, 34); this.saveStudentToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
this.saveStudentToolStripMenuItem.Text = "&Save Student"; this.saveStudentToolStripMenuItem.Text = "&Save Student";
this.saveStudentToolStripMenuItem.Click += new System.EventHandler(this.save_button_Click); this.saveStudentToolStripMenuItem.Click += new System.EventHandler(this.save_button_Click);
// //
@ -317,7 +316,7 @@
this.studentBySchoolToolStripMenuItem, this.studentBySchoolToolStripMenuItem,
this.studentsByProgramToolStripMenuItem}); this.studentsByProgramToolStripMenuItem});
this.reportsToolStripMenuItem.Name = "reportsToolStripMenuItem"; this.reportsToolStripMenuItem.Name = "reportsToolStripMenuItem";
this.reportsToolStripMenuItem.Size = new System.Drawing.Size(262, 34); this.reportsToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
this.reportsToolStripMenuItem.Text = "Reports"; this.reportsToolStripMenuItem.Text = "Reports";
// //
// studentBySchoolToolStripMenuItem // studentBySchoolToolStripMenuItem
@ -325,24 +324,26 @@
this.studentBySchoolToolStripMenuItem.Name = "studentBySchoolToolStripMenuItem"; this.studentBySchoolToolStripMenuItem.Name = "studentBySchoolToolStripMenuItem";
this.studentBySchoolToolStripMenuItem.Size = new System.Drawing.Size(283, 34); this.studentBySchoolToolStripMenuItem.Size = new System.Drawing.Size(283, 34);
this.studentBySchoolToolStripMenuItem.Text = "Students by school"; this.studentBySchoolToolStripMenuItem.Text = "Students by school";
this.studentBySchoolToolStripMenuItem.Click += new System.EventHandler(this.studentBySchoolToolStripMenuItem_Click);
// //
// 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(283, 34);
this.studentsByProgramToolStripMenuItem.Text = "Students by program"; this.studentsByProgramToolStripMenuItem.Text = "Students by program";
this.studentsByProgramToolStripMenuItem.Click += new System.EventHandler(this.studentsByProgramToolStripMenuItem_Click);
// //
// exitWithoutSavingToolStripMenuItem // exitWithoutSavingToolStripMenuItem
// //
this.exitWithoutSavingToolStripMenuItem.Name = "exitWithoutSavingToolStripMenuItem"; this.exitWithoutSavingToolStripMenuItem.Name = "exitWithoutSavingToolStripMenuItem";
this.exitWithoutSavingToolStripMenuItem.Size = new System.Drawing.Size(262, 34); this.exitWithoutSavingToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
this.exitWithoutSavingToolStripMenuItem.Text = "Exit without saving"; this.exitWithoutSavingToolStripMenuItem.Text = "Exit without saving";
this.exitWithoutSavingToolStripMenuItem.Click += new System.EventHandler(this.exitWithoutSavingToolStripMenuItem_Click); 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(262, 34); this.exitsavesDataToolStripMenuItem.Size = new System.Drawing.Size(270, 34);
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);
// //
@ -371,6 +372,10 @@
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);
// //
// studentBindingSource
//
this.studentBindingSource.DataSource = typeof(DBWizard.Models.Student);
//
// firstNameTextBox // firstNameTextBox
// //
this.firstNameTextBox.Anchor = System.Windows.Forms.AnchorStyles.None; this.firstNameTextBox.Anchor = System.Windows.Forms.AnchorStyles.None;
@ -710,7 +715,7 @@
this.panel1.Controls.Add(this.student_pictureBox); this.panel1.Controls.Add(this.student_pictureBox);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 35); this.panel1.Location = new System.Drawing.Point(0, 35);
this.panel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); this.panel1.Margin = new System.Windows.Forms.Padding(2);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(1078, 562); this.panel1.Size = new System.Drawing.Size(1078, 562);
this.panel1.TabIndex = 29; this.panel1.TabIndex = 29;
@ -723,10 +728,6 @@
this.parentDbID.TabIndex = 29; this.parentDbID.TabIndex = 29;
this.parentDbID.Visible = false; this.parentDbID.Visible = false;
// //
// studentBindingSource
//
this.studentBindingSource.DataSource = typeof(DBWizard.Models.Student);
//
// Form1 // Form1
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
@ -747,6 +748,7 @@
this.mainMenuStrip.ResumeLayout(false); this.mainMenuStrip.ResumeLayout(false);
this.mainMenuStrip.PerformLayout(); this.mainMenuStrip.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.student_pictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.student_pictureBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.studentBindingSource)).EndInit();
this.parent_groupBox.ResumeLayout(false); this.parent_groupBox.ResumeLayout(false);
this.parent_groupBox.PerformLayout(); this.parent_groupBox.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.phoneNumberNumericUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.phoneNumberNumericUpDown)).EndInit();
@ -755,7 +757,6 @@
this.panel1.ResumeLayout(false); this.panel1.ResumeLayout(false);
this.panel1.PerformLayout(); this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.parentDbID)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.parentDbID)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.studentBindingSource)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
this.PerformLayout(); this.PerformLayout();