----------------------header--------------------------
异常时间:2021-11-03 21:55:38,910 [12]
异常级别:ERROR
异 常 类:logerror [(null)]


System.InvalidOperationException: 调用线程必须为 STA,因为许多 UI 组件都需要。 在 System.Windows.Input.InputManager..ctor() 在 System.Windows.Input.InputManager.GetCurrentInputManagerImpl() 在 System.Windows.Input.KeyboardNavigation..ctor() 在 System.Windows.FrameworkElement.FrameworkServices..ctor() 在 System.Windows.FrameworkElement.EnsureFrameworkServices() 在 System.Windows.FrameworkElement..ctor() 在 System.Windows.Controls.Control..ctor() 在 System.Windows.Window..ctor() 在 GFramework.BlankWindow.BlankWindow..ctor() 在 ssc.myThemes.CSWindow..ctor() 位置 D:\GitHub\ssc\myThemes\CSWindow.cs:行号 247 在 ssc.myMainWindows..ctor(SelectMain selectMain, String name) 位置 D:\GitHub\ssc\ssc\myMainWindows.xaml.cs:行号 116 在 ssc.ViewModels.SelectMainVModel.<>c__DisplayClass31_0.b__3() 位置 D:\GitHub\ssc\ssc\ViewModels\SelectMainVModel.cs:行号 180 在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) 在 System.Threading.ThreadHelper.ThreadStart()