public App() { DotNetNativeAssistant.IsEnabled = true; this.UnhandledException += App_UnhandledException; this.InitializeComponent(); this.Suspending += OnSuspending; SuspensionManager.RegisterKnownType(typeof(List <string>)); DevExpress.UI.Xaml.Layout.Utils.ApplicationViewState.ApplicationViewMinWidth = 0d; //WorkData.SaveToXml(); }