Add a launch button and translate some other buttons that had not yet been translated.

This commit is contained in:
Tim Young 2017-07-31 16:44:41 -05:00
parent 60444ee81c
commit 60a062757a
3 changed files with 43 additions and 9 deletions

View File

@ -40,6 +40,7 @@
this.tabClass = new System.Windows.Forms.TabPage();
this.btnImportStudents = new System.Windows.Forms.Button();
this.TabHomework = new System.Windows.Forms.TabPage();
this.btnHWDelete = new System.Windows.Forms.Button();
this.lblHWSubmitted = new System.Windows.Forms.Label();
this.tbHWSubmitted = new System.Windows.Forms.TextBox();
this.lblHWDue = new System.Windows.Forms.Label();
@ -53,7 +54,7 @@
this.TabStudent = new System.Windows.Forms.TabPage();
this.tvClasswork = new System.Windows.Forms.TreeView();
this.btnExit = new System.Windows.Forms.Button();
this.btnHWDelete = new System.Windows.Forms.Button();
this.btnLaunch = new System.Windows.Forms.Button();
this.tcTabControl.SuspendLayout();
this.TabProfile.SuspendLayout();
this.TabClasswork.SuspendLayout();
@ -179,6 +180,7 @@
//
// TabHomework
//
this.TabHomework.Controls.Add(this.btnLaunch);
this.TabHomework.Controls.Add(this.btnHWDelete);
this.TabHomework.Controls.Add(this.lblHWSubmitted);
this.TabHomework.Controls.Add(this.tbHWSubmitted);
@ -198,6 +200,16 @@
this.TabHomework.Text = "Homework";
this.TabHomework.UseVisualStyleBackColor = true;
//
// btnHWDelete
//
this.btnHWDelete.Location = new System.Drawing.Point(175, 177);
this.btnHWDelete.Name = "btnHWDelete";
this.btnHWDelete.Size = new System.Drawing.Size(75, 23);
this.btnHWDelete.TabIndex = 10;
this.btnHWDelete.Text = "Delete";
this.btnHWDelete.UseVisualStyleBackColor = true;
this.btnHWDelete.Click += new System.EventHandler(this.btnHWDelete_Click);
//
// lblHWSubmitted
//
this.lblHWSubmitted.AutoSize = true;
@ -310,15 +322,15 @@
this.btnExit.UseVisualStyleBackColor = true;
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
//
// btnHWDelete
// btnLaunch
//
this.btnHWDelete.Location = new System.Drawing.Point(175, 177);
this.btnHWDelete.Name = "btnHWDelete";
this.btnHWDelete.Size = new System.Drawing.Size(75, 23);
this.btnHWDelete.TabIndex = 10;
this.btnHWDelete.Text = "Delete";
this.btnHWDelete.UseVisualStyleBackColor = true;
this.btnHWDelete.Click += new System.EventHandler(this.btnHWDelete_Click);
this.btnLaunch.Location = new System.Drawing.Point(10, 177);
this.btnLaunch.Name = "btnLaunch";
this.btnLaunch.Size = new System.Drawing.Size(75, 23);
this.btnLaunch.TabIndex = 11;
this.btnLaunch.Text = "Launch";
this.btnLaunch.UseVisualStyleBackColor = true;
this.btnLaunch.Click += new System.EventHandler(this.btLaunch_Click);
//
// PersonProfileForm
//
@ -370,5 +382,6 @@
private System.Windows.Forms.DateTimePicker dtpHWDue;
private System.Windows.Forms.Button btnImportStudents;
private System.Windows.Forms.Button btnHWDelete;
private System.Windows.Forms.Button btnLaunch;
}
}

View File

@ -52,6 +52,10 @@ namespace EduNetworkBuilder
TabClasswork.Text = NB.Translate("PPF_TabClasswork");
TabProfile.Text = NB.Translate("PPF_TabProfile");
btnExit.Text = NB.Translate("NB_exitToolStripMenuItem");
btnChangePassword.Text = NB.Translate("PPF_ChangePassword");
btnHWDelete.Text = NB.Translate("_Delete");
btnImportStudents.Text = NB.Translate("PPF_ImportStudents");
btnLaunch.Text = NB.Translate("PPF_Launch");
}
private void LocalSetup()
@ -341,5 +345,10 @@ namespace EduNetworkBuilder
}
}
}
private void btLaunch_Click(object sender, EventArgs e)
{
}
}
}

View File

@ -1765,4 +1765,16 @@
<value>Are you sure you want to delete this homework?</value>
<comment>PPF_ConfirmHWDelete = Are you sure you want to delete this homework?</comment>
</data>
<data name="PPF_ChangePassword" xml:space="preserve">
<value>Change Password</value>
<comment>PPF_ChangePassword = Change Password</comment>
</data>
<data name="PPF_ImportStudents" xml:space="preserve">
<value>Import Students</value>
<comment>PPF_ImportStudents = Import Students</comment>
</data>
<data name="PPF_Launch" xml:space="preserve">
<value>Launch</value>
<comment>PPF_Launch = Launch</comment>
</data>
</root>