diff --git a/EduNetworkBuilder/PersonProfileForm.Designer.cs b/EduNetworkBuilder/PersonProfileForm.Designer.cs index ef1c685..20abc4e 100644 --- a/EduNetworkBuilder/PersonProfileForm.Designer.cs +++ b/EduNetworkBuilder/PersonProfileForm.Designer.cs @@ -65,12 +65,15 @@ this.btnGenerateStudentFiles = new System.Windows.Forms.Button(); this.btnHWGive = new System.Windows.Forms.Button(); this.btnHWSave = new System.Windows.Forms.Button(); + this.btnAllHomeworkToStudents = new System.Windows.Forms.Button(); + this.btnExportAllHomework = new System.Windows.Forms.Button(); this.tcTabControl.SuspendLayout(); this.TabProfile.SuspendLayout(); this.TabClasswork.SuspendLayout(); this.tcTreeData.SuspendLayout(); this.tabClass.SuspendLayout(); this.TabHomework.SuspendLayout(); + this.TabStudents.SuspendLayout(); this.TabStudent.SuspendLayout(); this.SuspendLayout(); // @@ -172,6 +175,7 @@ // // tabClass // + this.tabClass.Controls.Add(this.btnExportAllHomework); this.tabClass.Controls.Add(this.btnGenerateStudentFiles); this.tabClass.Controls.Add(this.btnImportStudents); this.tabClass.Location = new System.Drawing.Point(4, 25); @@ -320,6 +324,7 @@ // // TabStudents // + this.TabStudents.Controls.Add(this.btnAllHomeworkToStudents); this.TabStudents.Location = new System.Drawing.Point(4, 25); this.TabStudents.Name = "TabStudents"; this.TabStudents.Padding = new System.Windows.Forms.Padding(3); @@ -447,6 +452,24 @@ this.btnHWSave.UseVisualStyleBackColor = true; this.btnHWSave.Click += new System.EventHandler(this.btnHWSave_Click); // + // btnAllHomeworkToStudents + // + this.btnAllHomeworkToStudents.Location = new System.Drawing.Point(23, 29); + this.btnAllHomeworkToStudents.Name = "btnAllHomeworkToStudents"; + this.btnAllHomeworkToStudents.Size = new System.Drawing.Size(207, 23); + this.btnAllHomeworkToStudents.TabIndex = 6; + this.btnAllHomeworkToStudents.Text = "All Homework To Students"; + this.btnAllHomeworkToStudents.UseVisualStyleBackColor = true; + // + // btnExportAllHomework + // + this.btnExportAllHomework.Location = new System.Drawing.Point(6, 64); + this.btnExportAllHomework.Name = "btnExportAllHomework"; + this.btnExportAllHomework.Size = new System.Drawing.Size(152, 23); + this.btnExportAllHomework.TabIndex = 8; + this.btnExportAllHomework.Text = "Export Homework"; + this.btnExportAllHomework.UseVisualStyleBackColor = true; + // // PersonProfileForm // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); @@ -465,6 +488,7 @@ this.tabClass.ResumeLayout(false); this.TabHomework.ResumeLayout(false); this.TabHomework.PerformLayout(); + this.TabStudents.ResumeLayout(false); this.TabStudent.ResumeLayout(false); this.TabStudent.PerformLayout(); this.ResumeLayout(false); @@ -510,5 +534,7 @@ private System.Windows.Forms.Button btnGenerateStudentFiles; private System.Windows.Forms.Button btnHWSave; private System.Windows.Forms.Button btnHWGive; + private System.Windows.Forms.Button btnExportAllHomework; + private System.Windows.Forms.Button btnAllHomeworkToStudents; } } \ No newline at end of file diff --git a/EduNetworkBuilder/PersonProfileForm.cs b/EduNetworkBuilder/PersonProfileForm.cs index ce2c249..466b244 100644 --- a/EduNetworkBuilder/PersonProfileForm.cs +++ b/EduNetworkBuilder/PersonProfileForm.cs @@ -91,6 +91,8 @@ namespace EduNetworkBuilder myTooltip.SetToolTip(btnImportStudents, NB.Translate("PPF_ImportToolTip")); myTooltip.SetToolTip(btnHWGive, NB.Translate("PPF_HWGiveToolTip")); myTooltip.SetToolTip(btnHWSave, NB.Translate("PPF_HWSaveToolTip")); + myTooltip.SetToolTip(btnAllHomeworkToStudents, "Take all currently defined homework and put it into the student accounts. Do at the beginning of a class and before you generate the student files for the first time."); + myTooltip.SetToolTip(btnExportAllHomework, "Export all the homework into a single homework file. Use this file to set up for another class."); if (CurrentUser == null && FileName == "") {