Prompt for which homeworks to include
This commit is contained in:
parent
e612b8eb29
commit
b70948e8da
@ -827,7 +827,17 @@ namespace EduNetworkBuilder
|
|||||||
|
|
||||||
private void btnExportHomework_Click(object sender, EventArgs e)
|
private void btnExportHomework_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
NB.NotImplimentedMessage();
|
//Generate a list of homework, so we can make a check-box for it...
|
||||||
|
Dictionary<string, bool> HWList = new Dictionary<string, bool>();
|
||||||
|
foreach(SchoolworkClass sc in CurrentUser.Projects)
|
||||||
|
{
|
||||||
|
string one = sc.DueDate.ToShortDateString() + " - " + sc.Name;
|
||||||
|
HWList.Add(one, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
//Now, make a prompt box for it.
|
||||||
|
|
||||||
|
Dictionary<string, bool> Response = NB.CheckPromptBox(HWList, "Homework to include", Properties.Resources.NBIco);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnReadAllStudentHomework_Click(object sender, EventArgs e)
|
private void btnReadAllStudentHomework_Click(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user