NB.GetUser - Get current user
This commit is contained in:
		@@ -420,6 +420,13 @@ namespace EduNetworkBuilder
 | 
				
			|||||||
            return myWin;
 | 
					            return myWin;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public static PersonClass GetUser()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            BuilderWindow BW = GetBuilderWin();
 | 
				
			||||||
 | 
					            if (BW == null) return null;
 | 
				
			||||||
 | 
					            return BW.CurrentUser;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        /// Return a translated string in the current chosen language
 | 
					        /// Return a translated string in the current chosen language
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -53,7 +53,7 @@ namespace EduNetworkBuilder
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        private string InitialFileLoad = "";
 | 
					        private string InitialFileLoad = "";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        private PersonClass CurrentUser;
 | 
					        public PersonClass CurrentUser;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public BuilderWindow(string FirstArg="")
 | 
					        public BuilderWindow(string FirstArg="")
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user