Get SystemVersionInfo with Interop
This commit is contained in:
1 parent
c46f8a754c
commit
0fe47b2925
6 files changed
+27
-8
No files matched your search
@@ -37,8 +37,6 @@ namespace HandyControl.Tools
|
||||
}
|
||||
}
|
||||
|
||||
public SystemVersionInfo SystemVersionInfo { get; set; }
|
||||
|
||||
public void SetLang(string lang)
|
||||
{
|
||||
LangProvider.Culture = new CultureInfo(lang);
|
||||
@@ -48,7 +46,6 @@ namespace HandyControl.Tools
|
||||
|
||||
public void SetConfig(HandyControlConfig config)
|
||||
{
|
||||
SystemVersionInfo = config.SystemVersionInfo;
|
||||
SetLang(config.Lang);
|
||||
SetTimelineFrameRate(config.TimelineFrameRate);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user