Mark items needing attention as bold. Students see un-submitted homeworks bolded. Teachers see ungraded homework bolded
This commit is contained in:
@ -432,6 +432,12 @@ namespace EduNetworkBuilder
|
||||
return myWin;
|
||||
}
|
||||
|
||||
public static PersonProfileForm GetProfileWin()
|
||||
{
|
||||
PersonProfileForm myWin = (PersonProfileForm)Application.OpenForms["PersonProfileForm"];
|
||||
if (myWin == null) return null;
|
||||
return myWin;
|
||||
}
|
||||
public static PersonClass GetUser()
|
||||
{
|
||||
BuilderWindow BW = GetBuilderWin();
|
||||
@ -1083,6 +1089,13 @@ namespace EduNetworkBuilder
|
||||
return Combined;
|
||||
}
|
||||
|
||||
public static Font GetFont()
|
||||
{
|
||||
PersonProfileForm PPF = GetProfileWin();
|
||||
if (PPF != null) return PPF.GetFont();
|
||||
return new Font(FontFamily.GenericSansSerif, 10.0F, FontStyle.Bold);
|
||||
}
|
||||
|
||||
public static void NotImplimentedMessage()
|
||||
{
|
||||
MessageBox.Show(Translate("NB_NotImplimented"));
|
||||
|
Reference in New Issue
Block a user