public void Initialize()
        {
            KCVUIHelper.OperateMainWindow(() =>
            {
                KCVUIHelper.KCVWindow.ContentRendered += KCVWindow_ContentRendered;

                KCVApp.ViewModelRoot.Settings.ToolPlugins = KCVApp.ViewModelRoot.Settings.ToolPlugins.Where(x => x.ToolName != "Landscape").ToList();
            });
        }
        private void KCVWindow_ContentRendered(object sender, EventArgs e)
        {
            KCVUIHelper.KCVWindow.ContentRendered -= KCVWindow_ContentRendered;

            KCVUIHelper.KCVContent = KCVUIHelper.KCVWindow.FindVisualChildren <ContentControl>().Where(x => x.Content is StartContentViewModel || x.Content is MainContentViewModel).First();

            KCVUIHelper.KCVContent.FindVisualChildren <RadioButton>().Where(x => x.Name == "SettingsTab").First().Checked += StartSettingsTab_Checked;
            KCVUIHelper.KCVContent.FindVisualChildren <ContentPresenter>().Where(x => x.DataContext is StartContentViewModel || x.DataContext is MainContentViewModel).First().DataContextChanged += ContentView_DataContextChanged;

            KCVUIHelper.OperateMainWindow(async() =>
            {
                await Task.Delay(5000);
                LandscapeViewModel.Instance.Initialize();
            });
        }
 private void MainSettingsView_LayoutUpdated(object sender, EventArgs e)
 {
     mainSettingsView.LayoutUpdated -= MainSettingsView_LayoutUpdated;
     mainSettingsView = null;
     KCVUIHelper.OperateMainWindow(() => insertSettings());
 }
 private void MainToolsView_LayoutUpdated(object sender, EventArgs e)
 {
     mainToolsView.LayoutUpdated -= MainToolsView_LayoutUpdated;
     mainToolsView = null;
     KCVUIHelper.OperateMainWindow(() => insertScrollBarToPluginTab());
 }