working on pushing changes back
This commit is contained in:
parent
aaf8c89455
commit
36947a9bff
@ -1974,7 +1974,17 @@ namespace EduNetworkBuilder
|
|||||||
|
|
||||||
private void updateClassworkToolStripMenuItem_Click(object sender, EventArgs e)
|
private void updateClassworkToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if (CurrentUser == null) return;
|
||||||
|
if (!CurrentUser.isAdmin) return;
|
||||||
|
|
||||||
|
SchoolworkClass SC = myNetwork.WhatFrom;
|
||||||
|
if (SC == null) return;
|
||||||
|
|
||||||
|
SC.theProject = myNetwork.Clone();
|
||||||
|
|
||||||
|
PersonProfileForm PPF = new PersonProfileForm(CurrentUser);
|
||||||
|
CurrentUser = PPF.Edit();
|
||||||
|
UpdateMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void submitHomeworkToolStripMenuItem_Click(object sender, EventArgs e)
|
private void submitHomeworkToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
|
Loading…
Reference in New Issue
Block a user