Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘栩锋
Thick-Common
Commits
d67c4e95
Commit
d67c4e95
authored
Jul 26, 2023
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 组件保存参数 找不到layout文件夹时,会自动创建
parent
8cc9a3d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
COMMON.cs
MultiLayout/UiModule/COMMON.cs
+6
-6
No files found.
MultiLayout/UiModule/COMMON.cs
View file @
d67c4e95
...
...
@@ -30,7 +30,7 @@ namespace MultiLayout.UiModule
/// </summary>
public
event
PropertyChangedEventHandler
PropertyChanged
;
}
/// <summary>
///
/// </summary>
...
...
@@ -38,7 +38,7 @@ namespace MultiLayout.UiModule
public
abstract
class
UIModuleParams
<
T
>
:
INotifyPropertyChanged
where
T
:
UIModuleParam
{
/// <summary>
///
/// </summary>
...
...
@@ -60,7 +60,7 @@ namespace MultiLayout.UiModule
Save
();
}
}
/// <summary>
/// 保存
/// </summary>
...
...
@@ -80,13 +80,13 @@ namespace MultiLayout.UiModule
File
.
WriteAllText
(
FilePath
,
json
);
}
catch
catch
{
return
false
;
}
return
true
;
}
/// <summary>
/// 读取
/// </summary>
...
...
@@ -99,7 +99,7 @@ namespace MultiLayout.UiModule
Newtonsoft
.
Json
.
JsonConvert
.
PopulateObject
(
json
,
this
);
return
true
;
}
catch
catch
{
return
false
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment