diff --git a/EduNetworkBuilder/NetworkBuilder.cs b/EduNetworkBuilder/NetworkBuilder.cs index 88a1384..0f01ded 100644 --- a/EduNetworkBuilder/NetworkBuilder.cs +++ b/EduNetworkBuilder/NetworkBuilder.cs @@ -2011,7 +2011,16 @@ namespace EduNetworkBuilder 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(); } } } \ No newline at end of file