Prompt for which homeworks to include

This commit is contained in:
Tim Young 2017-08-05 17:01:37 -05:00
parent e612b8eb29
commit b70948e8da

View File

@ -827,7 +827,17 @@ namespace EduNetworkBuilder
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)