protected void Init() { Application.ThreadException += new System.Threading.ThreadExceptionEventHandler(Application_ThreadException); AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); //this.Text = this.Text + " - v" + About.VersionNumber; var theme = new VS2015LightTheme(); this.dockPanel.Theme = theme; Trace.Listeners.Add(new OutputTraceListener(OutputPanel)); OutputPanel.Show(this.dockPanel, DockState.DockBottom); CheckDirectoryPath(); }