public void OpenDialog() { WizardDialog lWiz = new WizardDialog(); lWiz.DelphiProjectFilters = "test|*.dpr"; lWiz.ShowDialog(); }
void RunDataSourceWizard() { var wizard = new WizardDialog(); wizard.EndWizard += wizard_EndWizard; wizard.ShowDialog(); }
public ObjectSelectPage(WizardDialog wizardDialog, IPlugIn plugin, IPlugInContainer container) { InitializeComponent(); this.objectSelectDlg = (ObjectSelectDlg)wizardDialog; this.plugin = plugin; this.container = container; }
public ObjectSelectPage(WizardDialog wizardDialog, IPlugIn plugin, IPlugInContainer container) { InitializeComponent(); this.objectSelectDlg = (ObjectSelectDlg)wizardDialog; this.plugin = plugin; this.container = container; }
// string startupProject = null; public string CreateProject(ProjectCreateInformation projectCreateInformation) { if (wizardpath != null) { Properties customizer = new Properties(); customizer.Set("ProjectCreateInformation", projectCreateInformation); customizer.Set("ProjectTemplate", this); WizardDialog wizard = new WizardDialog("Project Wizard", customizer, wizardpath); if (wizard.ShowDialog(ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.MainForm) != DialogResult.OK) { return(null); } } if (combineDescriptor != null) { return(combineDescriptor.CreateSolution(projectCreateInformation, this.languagename)); } else if (projectDescriptor != null) { projectCreateInformation.Solution = new Solution(); return(projectDescriptor.CreateProject(projectCreateInformation, this.languagename).FileName); } else { return(null); } }
public NewShareWelcomePage(WizardDialog wizardDialog, IPlugIn plugin, IPlugInContainer container) { InitializeComponent(); this.plugin = plugin as FileShareManagerIPlugIn; this.container = container; this.parentDlg = wizardDialog as NewShareWizardDlg; }
public NewShareWelcomePage(WizardDialog wizardDialog, IPlugIn plugin, IPlugInContainer container) { InitializeComponent(); this.plugin = plugin as FileShareManagerIPlugIn; this.container = container; this.parentDlg = wizardDialog as NewShareWizardDlg; }
public NewShareFolderSetUpPage(WizardDialog wizardDialog, IPlugIn plugin, IPlugInContainer container) { InitializeComponent(); this.plugin = plugin; this.container = container; this.parentDlg = wizardDialog as NewShareWizardDlg; }
public NewSharePermissionsPage(WizardDialog wizardDialog, IPlugIn plugin, IPlugInContainer container) { InitializeComponent(); this.plugin = plugin; this.container = container; this.parentDlg = wizardDialog as NewShareWizardDlg; }
// string startupProject = null; public string CreateProject(ProjectCreateInformation projectCreateInformation) { LoggingService.Info("Creating project from template '" + this.Category + "/" + this.Subcategory + "/" + this.Name + "'"); if (wizardpath != null) { Properties customizer = new Properties(); customizer.Set("ProjectCreateInformation", projectCreateInformation); customizer.Set("ProjectTemplate", this); WizardDialog wizard = new WizardDialog("Project Wizard", customizer, wizardpath); if (wizard.ShowDialog(ICSharpCode.SharpDevelop.Gui.WorkbenchSingleton.MainForm) != DialogResult.OK) { return(null); } } if (solutionDescriptor != null) { return(solutionDescriptor.CreateSolution(projectCreateInformation, this.languagename)); } else if (projectDescriptor != null) { bool createNewSolution = projectCreateInformation.Solution == null; if (createNewSolution) { projectCreateInformation.Solution = new Solution(); projectCreateInformation.Solution.Name = projectCreateInformation.SolutionName; projectCreateInformation.Solution.FileName = Path.Combine(projectCreateInformation.SolutionPath, projectCreateInformation.SolutionName + ".sln"); } IProject project = projectDescriptor.CreateProject(projectCreateInformation, this.languagename); if (project != null) { string solutionLocation = projectCreateInformation.Solution.FileName; if (createNewSolution) { projectCreateInformation.Solution.AddFolder(project); projectCreateInformation.Solution.Save(); ProjectService.OnSolutionCreated(new SolutionEventArgs(projectCreateInformation.Solution)); projectCreateInformation.Solution.Dispose(); } else { project.Dispose(); } return(solutionLocation); } else { return(null); } } else { return(null); } }
private static WizardDialog CreateWizard() { state = new ReportWizardState(); state.AvailableMasterReports.AddRange(Program.AvailableReportTemplates); WizardDialog dlg = new WizardDialog(state); dlg.Steps.Add(new SelectMasterReport()); dlg.Steps.Add(new SelectGroupingFields()); dlg.Steps.Add(new SelectOutputFields()); dlg.Steps.Add(new SelectSummaryOptions()); return(dlg); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); SetupTemplates(); WizardDialog wizard = CreateWizard(); Application.Run(wizard); if (wizard.DialogResult == DialogResult.OK) { PageReport def = LayoutBuilder.BuildReport(state); ReportsForm frm = new ReportsForm(def); Application.Run(frm); } }
private void WorkflowReady(bool isReady) { DisableProgressIndicator(); wizard = GameObject.Instantiate(PrefabHolder.Instance.assemblyWizard); WizardDialog dialog = wizard.GetComponent <WizardDialog>(); if (dialog != null) { dialog.WizardDone = WizardDone; dialog.LoadFirstTaskAndActivate(); } else { Debug.LogError("There was no WizardDialog found. Callback not set."); } }
public override void Run() { reportStructure = new ReportStructure(); if (GlobalValues.IsValidPrinter() == true) { using (WizardDialog wizard = new WizardDialog("Report Wizard", reportStructure, WizardPath)) { if (wizard.ShowDialog() == DialogResult.OK) { reportModel = reportStructure.CreateAndFillReportModel (); CreateReportFromModel(reportModel,reportStructure); } else{ this.canceled = true; } } } else { MessageService.ShowError(ResourceService.GetString("Sharpreport.Error.NoPrinter")); } }
// // Public Methods // public void Init(WizardDialog wizardDlg) { this.wizardDlg = wizardDlg; }
public WizardPage(WizardDialog wizard) : this() { _wizard = wizard; }
public void Grouping() { GroupingTest Save = new GroupingTest(); IModalPresenter Present = new NotebookDialog<GroupingTest>(Title); Assert.IsTrue(Present.Run(Save)); Present = new ListStoreDialog<GroupingTest>(Title); Assert.IsTrue(Present.Run(Save)); Present = new TreeStoreDialog<GroupingTest>(Title); Assert.IsTrue(Present.Run(Save)); var NonModal = new WizardDialog<GroupingTest>(Title); NonModal.Run(Save); NonModal.Block(); Assert.IsTrue(NonModal.Success); }
private void Wizard_Click(object sender, RoutedEventArgs e) { var dlg = new WizardDialog(); dlg.ShowDialog(); }