jj: app state

This commit is contained in:
Jonathan Jenne
2019-01-30 16:20:16 +01:00
parent 7d691246f5
commit 4cf64da043
18 changed files with 218 additions and 210 deletions

View File

@@ -1,9 +1,6 @@
Imports System.IO
Imports DevExpress.Utils.Serializing
Public Class ClassLayout
Public Const LAYOUT_FOLDER = "Layout"
Public Enum LayoutName
LayoutMain
End Enum
@@ -15,7 +12,7 @@ Public Class ClassLayout
Public Shared Function GetLayoutPath(LayoutName As LayoutName, Component As LayoutComponent) As String
Dim oFileName As String = $"{LayoutName.ToString}-{Component.ToString}.xml"
Return IO.Path.Combine(GetAppDataFolder(), LAYOUT_FOLDER, oFileName)
Return IO.Path.Combine(GetAppDataFolder(), ClassConstants.FOLDER_NAME_LAYOUT, oFileName)
End Function
Private Shared Function GetAppDataFolder() As String