NB.GetUser - Get current user

This commit is contained in:
timy committed 2017-07-29 18:34:51 -05:00
1 parent ce8b16c2d6
commit 364858d07c
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -420,6 +420,13 @@ namespace EduNetworkBuilder
return myWin;
}
public static PersonClass GetUser()
{
BuilderWindow BW = GetBuilderWin();
if (BW == null) return null;
return BW.CurrentUser;
}
/// <summary>
/// Return a translated string in the current chosen language
/// </summary>
+1 -1
View File
@@ -53,7 +53,7 @@ namespace EduNetworkBuilder
private string InitialFileLoad = "";
private PersonClass CurrentUser;
public PersonClass CurrentUser;
public BuilderWindow(string FirstArg="")
{