Load Dynamic Form for frmEdit, Save Application Skin, add UIConfig
This commit is contained in:
@@ -51,17 +51,21 @@ Public Class ConfigManager(Of T)
|
||||
_Serializer = New XmlSerializer(_Blueprint.GetType)
|
||||
|
||||
If Not Directory.Exists(UserConfigPath) Then
|
||||
Throw New DirectoryNotFoundException($"Path {UserConfigPath} does not exist!")
|
||||
End If
|
||||
Directory.CreateDirectory(UserConfigPath)
|
||||
|
||||
If Not Directory.Exists(ComputerConfigPath) Then
|
||||
Throw New DirectoryNotFoundException($"Path {ComputerConfigPath} does not exist!")
|
||||
'Throw New DirectoryNotFoundException($"Path {UserConfigPath} does not exist!")
|
||||
End If
|
||||
|
||||
If Not _File.TestPathIsDirectory(UserConfigPath) Then
|
||||
Throw New ArgumentException($"Path {UserConfigPath} is not a directory!")
|
||||
End If
|
||||
|
||||
If Not Directory.Exists(ComputerConfigPath) Then
|
||||
Directory.CreateDirectory(ComputerConfigPath)
|
||||
|
||||
'Throw New DirectoryNotFoundException($"Path {ComputerConfigPath} does not exist!")
|
||||
End If
|
||||
|
||||
If Not _File.TestPathIsDirectory(ComputerConfigPath) Then
|
||||
Throw New ArgumentException($"Path {ComputerConfigPath} is not a directory!")
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user