private void ExecuteShowInstaller() { Views.Wizards.InstallerWizardView rpv = new Views.Wizards.InstallerWizardView(); UserControlHostWindowViewModel zxc = new UserControlHostWindowViewModel(rpv); UserControlHostWindowView uchwv = new UserControlHostWindowView(zxc); uchwv.Show(); }
private void ExecutePublishMod() { try { var vm = new UserControlHostWindowViewModel(new PublishWizardView(), 600, 1200); ServiceLocator.Default.ResolveType <IUIVisualizerService>().ShowDialogAsync(vm); } catch (Exception ex) { _loggerService.LogString(ex.Message, Logtype.Error); _loggerService.LogString("Failed to publish project!", Logtype.Error); } }