Beispiel #1
0
        public void Execute()
        {
            var project = CreateProject();
            var pages   = CreatePages(project);

            var projectWizard = new ProjectWizard(pages);

            projectWizard.Show();
        }
Beispiel #2
0
        private void projOpen_Click(object sender, EventArgs e)
        {
            ProjectWizard dlg = new ProjectWizard();

            dlg.ShowDialog();
            if (dlg.DialogResult == DialogResult.OK)
            {
                Manager.OpenProject(dlg.Project.ProjPath);
                IDEMode = IDE_MODE.Project;
            }
        }
        protected override void Execute()
        {
            var wizardModel = new WizardModel
            {
                UserCredentials = new Credentials(),
                GsProjects      = new ObservableCollection <GsProject>(),
                GsFiles         = new ObservableCollection <GsFile>(),
                FileVersions    = new ObservableCollection <GsFileVersion>()
            };
            var pages = CreatePages(wizardModel);

            var projectWizard = new ProjectWizard(pages);

            ElementHost.EnableModelessKeyboardInterop(projectWizard);
            projectWizard.Show();
        }
        protected override void Execute()
        {
            var wizardModel = new WizardModel
            {
                UserCredentials        = new Credentials(),
                GsProjects             = new ObservableCollection <GsProject>(),
                ProjectsForCurrentPage = new ObservableCollection <GsProject>(),
                GsFiles              = new ObservableCollection <GsFile>(),
                FileVersions         = new ObservableCollection <GsFileVersion>(),
                Organizations        = new ObservableCollection <OrganizationResponse>(),
                SelectedOrganization = new OrganizationResponse(),
                Version              = string.Empty
            };
            var pages = CreatePages(wizardModel);

            var projectWizard = new ProjectWizard(pages);

            ElementHost.EnableModelessKeyboardInterop(projectWizard);
            projectWizard.Show();
        }