NB.GetUser - Get current user
This commit is contained in:
parent
ce8b16c2d6
commit
364858d07c
@ -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>
|
||||
|
@ -53,7 +53,7 @@ namespace EduNetworkBuilder
|
||||
|
||||
private string InitialFileLoad = "";
|
||||
|
||||
private PersonClass CurrentUser;
|
||||
public PersonClass CurrentUser;
|
||||
|
||||
public BuilderWindow(string FirstArg="")
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user