Mark something as graded
This commit is contained in:
parent
55ceeecac1
commit
8134d8cb82
@ -2011,7 +2011,16 @@ namespace EduNetworkBuilder
|
|||||||
|
|
||||||
private void markAsGradedToolStripMenuItem_Click(object sender, EventArgs e)
|
private void markAsGradedToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
NB.NotImplimentedMessage();
|
if (myNetwork.WhatFrom == null) return; //We cannot submit it
|
||||||
|
|
||||||
|
if (CurrentUser == null) return; //We need to have a user or we will blow up
|
||||||
|
if (!CurrentUser.isAdmin) return; //Only Admin can grade it
|
||||||
|
|
||||||
|
myNetwork.WhatFrom.IsGraded = true;
|
||||||
|
|
||||||
|
PersonProfileForm PPF = new PersonProfileForm(CurrentUser);
|
||||||
|
PPF.Edit();
|
||||||
|
UpdateMenu();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user