public void ShowEditorView() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var vm = application.CreateEditorApplicationVm(); _mainForm = new MainForm(); _mainForm.Initialize(vm); Application.Run(_mainForm); }