jj: app state
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user