Make give and save homework buttons

This commit is contained in:
Tim Young 2017-08-02 11:59:42 -05:00
parent 7b98466db2
commit 2fe4a23638
2 changed files with 38 additions and 2 deletions

View File

@ -63,6 +63,8 @@
this.tvClasswork = new System.Windows.Forms.TreeView(); this.tvClasswork = new System.Windows.Forms.TreeView();
this.btnExit = new System.Windows.Forms.Button(); this.btnExit = new System.Windows.Forms.Button();
this.btnGenerateStudentFiles = new System.Windows.Forms.Button(); this.btnGenerateStudentFiles = new System.Windows.Forms.Button();
this.btnHWGive = new System.Windows.Forms.Button();
this.btnHWSave = new System.Windows.Forms.Button();
this.tcTabControl.SuspendLayout(); this.tcTabControl.SuspendLayout();
this.TabProfile.SuspendLayout(); this.TabProfile.SuspendLayout();
this.TabClasswork.SuspendLayout(); this.TabClasswork.SuspendLayout();
@ -192,6 +194,8 @@
// //
// TabHomework // TabHomework
// //
this.TabHomework.Controls.Add(this.btnHWSave);
this.TabHomework.Controls.Add(this.btnHWGive);
this.TabHomework.Controls.Add(this.btnLaunch); this.TabHomework.Controls.Add(this.btnLaunch);
this.TabHomework.Controls.Add(this.btnHWDelete); this.TabHomework.Controls.Add(this.btnHWDelete);
this.TabHomework.Controls.Add(this.lblHWSubmitted); this.TabHomework.Controls.Add(this.lblHWSubmitted);
@ -214,7 +218,7 @@
// //
// btnLaunch // btnLaunch
// //
this.btnLaunch.Location = new System.Drawing.Point(10, 177); this.btnLaunch.Location = new System.Drawing.Point(91, 148);
this.btnLaunch.Name = "btnLaunch"; this.btnLaunch.Name = "btnLaunch";
this.btnLaunch.Size = new System.Drawing.Size(75, 23); this.btnLaunch.Size = new System.Drawing.Size(75, 23);
this.btnLaunch.TabIndex = 11; this.btnLaunch.TabIndex = 11;
@ -224,7 +228,7 @@
// //
// btnHWDelete // btnHWDelete
// //
this.btnHWDelete.Location = new System.Drawing.Point(175, 177); this.btnHWDelete.Location = new System.Drawing.Point(172, 177);
this.btnHWDelete.Name = "btnHWDelete"; this.btnHWDelete.Name = "btnHWDelete";
this.btnHWDelete.Size = new System.Drawing.Size(75, 23); this.btnHWDelete.Size = new System.Drawing.Size(75, 23);
this.btnHWDelete.TabIndex = 10; this.btnHWDelete.TabIndex = 10;
@ -422,6 +426,26 @@
this.btnGenerateStudentFiles.UseVisualStyleBackColor = true; this.btnGenerateStudentFiles.UseVisualStyleBackColor = true;
this.btnGenerateStudentFiles.Click += new System.EventHandler(this.btnGenerateStudentFiles_Click); this.btnGenerateStudentFiles.Click += new System.EventHandler(this.btnGenerateStudentFiles_Click);
// //
// btnHWGive
//
this.btnHWGive.Location = new System.Drawing.Point(172, 148);
this.btnHWGive.Name = "btnHWGive";
this.btnHWGive.Size = new System.Drawing.Size(75, 23);
this.btnHWGive.TabIndex = 12;
this.btnHWGive.Text = "Give";
this.btnHWGive.UseVisualStyleBackColor = true;
this.btnHWGive.Click += new System.EventHandler(this.btnHWGive_Click);
//
// btnHWSave
//
this.btnHWSave.Location = new System.Drawing.Point(91, 177);
this.btnHWSave.Name = "btnHWSave";
this.btnHWSave.Size = new System.Drawing.Size(75, 23);
this.btnHWSave.TabIndex = 13;
this.btnHWSave.Text = "Save";
this.btnHWSave.UseVisualStyleBackColor = true;
this.btnHWSave.Click += new System.EventHandler(this.btnHWSave_Click);
//
// PersonProfileForm // PersonProfileForm
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
@ -483,5 +507,7 @@
private System.Windows.Forms.Button btnStudentChangePassword; private System.Windows.Forms.Button btnStudentChangePassword;
private System.Windows.Forms.Button btnImportStudents; private System.Windows.Forms.Button btnImportStudents;
private System.Windows.Forms.Button btnGenerateStudentFiles; private System.Windows.Forms.Button btnGenerateStudentFiles;
private System.Windows.Forms.Button btnHWSave;
private System.Windows.Forms.Button btnHWGive;
} }
} }

View File

@ -691,5 +691,15 @@ namespace EduNetworkBuilder
//Now, print the stats //Now, print the stats
MessageBox.Show(string.Format(NB.Translate("PPF_StudentWriteStats"),"\n\t" + NumStudent, "\n\t" + NumMade, "\n\t" + NumSkipped)); MessageBox.Show(string.Format(NB.Translate("PPF_StudentWriteStats"),"\n\t" + NumStudent, "\n\t" + NumMade, "\n\t" + NumSkipped));
} }
private void btnHWGive_Click(object sender, EventArgs e)
{
}
private void btnHWSave_Click(object sender, EventArgs e)
{
}
} }
} }