Zooflow: WIP

This commit is contained in:
Jonathan Jenne
2021-12-01 16:22:51 +01:00
parent 8a76425c94
commit 77621193f2
45 changed files with 768 additions and 270 deletions

View File

@@ -17,19 +17,28 @@ Namespace State
Public Property MachineName As String
Public Property DateFormat As String
Public Property Language As String
Public Property LanguageID As Int16
Public Property LanguageId As Integer
Public Property IsAdmin As Boolean = False
Public Property HideBasicConfig As Boolean = False
''' <summary>
''' Initialize user object with values that can be read from the environment
''' Initialize user object with values that can be read from the environment. Only meant for Global Application State
''' </summary>
Public Sub New()
Language = Thread.CurrentThread.CurrentCulture.Name
UserName = System.Environment.UserName
MachineName = System.Environment.MachineName
End Sub
''' <summary>
''' Initialize user object with user id. Mandatory for sending user data between systems.
''' </summary>
''' <param name="pUserId"></param>
Public Sub New(pUserId As Integer)
MyBase.New()
UserId = pUserId
End Sub
End Class
End Namespace