Ejemplo n.º 1
0
        private void ExecuteShowInstaller()
        {
            Views.Wizards.InstallerWizardView rpv   = new Views.Wizards.InstallerWizardView();
            UserControlHostWindowViewModel    zxc   = new UserControlHostWindowViewModel(rpv);
            UserControlHostWindowView         uchwv = new UserControlHostWindowView(zxc);

            uchwv.Show();
        }
Ejemplo n.º 2
0
        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);
            }
        }