public void OnClick(Window mainWindow, Instance instance) { if (instance != null) { var args = new RestoreArgs(instance); var id = MainWindowHelper.GetListItemID(instance.ID); WizardPipelineManager.Start("restore", mainWindow, args, null, () => MainWindowHelper.MakeInstanceSelected(id), instance); } }
private static void OnWizardCompleted(int index, bool hasInstallationBeenCompleted) { if (hasInstallationBeenCompleted) { MainWindowHelper.SoftlyRefreshInstances(); } MainWindowHelper.MakeInstanceSelected(index); }
public void OnClick(Window mainWindow, Instance instance) { Analytics.TrackEvent("InstallModules"); if (instance != null) { var id = MainWindowHelper.GetListItemID(instance.ID); WizardPipelineManager.Start("installmodules", mainWindow, null, null, ignore => MainWindowHelper.MakeInstanceSelected(id), instance); } }
public void OnClick(Window mainWindow, Instance instance) { if (instance != null) { var id = MainWindowHelper.GetListItemID(instance.ID); WizardPipelineManager.Start("installmodules", mainWindow, null, null, ignore => MainWindowHelper.MakeInstanceSelected(id), () => new InstallModulesWizardArgs(instance)); } }
public static void BackupInstance(InstallWizardArgs args) { int id = MainWindowHelper.GetListItemID(args.Instance.ID); Assert.IsTrue(id >= 0, "id ({0}) should be >= 0".FormatWith(id)); WizardPipelineManager.Start("backup", args.WizardWindow, new BackupArgs(args.Instance, null, true, true), null, () => MainWindowHelper.MakeInstanceSelected(id), args.Instance); }
public void OnClick(Window mainWindow, Instance instance) { if (instance != null) { var id = MainWindowHelper.GetListItemID(instance.ID); WizardPipelineManager.Start("backup", mainWindow, new BackupArgs(instance), null, () => MainWindowHelper.MakeInstanceSelected(id), instance); } }
private static void OnWizardCompleted(int index) { MainWindowHelper.SoftlyRefreshInstances(); MainWindowHelper.MakeInstanceSelected(index); }
public void OnClick(Window mainWindow, Instance instance) { Analytics.TrackEvent("Restore"); if (instance != null) { var args = new RestoreArgs(instance); var id = MainWindowHelper.GetListItemID(instance.ID); WizardPipelineManager.Start("restore", mainWindow, args, null, ignore => MainWindowHelper.MakeInstanceSelected(id), () => new RestoreWizardArgs(instance)); } }
public void OnClick(Window mainWindow, Instance instance) { Analytics.TrackEvent("Export"); if (instance != null) { var id = MainWindowHelper.GetListItemID(instance.ID); WizardPipelineManager.Start("export", mainWindow, new ExportArgs(instance, false, true, true, true, false, false, false, false, false), null, () => MainWindowHelper.MakeInstanceSelected(id), instance, string.Empty); } }
public void OnClick(Window mainWindow, Instance instance) { if (instance != null) { var args = new RestoreArgs(instance, new SqlConnectionStringBuilder(Profile.Read(new RealFileSystem()).ConnectionString)); var id = MainWindowHelper.GetListItemID(instance.ID); WizardPipelineManager.Start("restore", mainWindow, args, null, ignore => MainWindowHelper.MakeInstanceSelected(id), () => new RestoreWizardArgs(instance)); } }
public static void BackupInstance(InstallWizardArgs args) { var id = MainWindowHelper.GetListItemID(args.Instance.ID); Assert.IsTrue(id >= 0, "id ({0}) should be >= 0".FormatWith(id)); WizardPipelineManager.Start("backup", args.WizardWindow, new BackupArgs(args.Instance, ProfileManager.GetConnectionString(), null, true, true), null, ignore => MainWindowHelper.MakeInstanceSelected(id), () => new BackupSettingsWizardArgs(args.Instance)); }
public void OnClick(Window mainWindow, Instance instance) { if (instance != null) { var id = MainWindowHelper.GetListItemID(instance.ID); WizardPipelineManager.Start("backup", mainWindow, new BackupArgs(instance, ProfileManager.GetConnectionString()), null, ignore => MainWindowHelper.MakeInstanceSelected(id), () => new BackupSettingsWizardArgs(instance)); } }
public void OnClick(Window mainWindow, Instance instance) { if (instance != null) { var id = MainWindowHelper.GetListItemID(instance.ID); WizardPipelineManager.Start("export", mainWindow, new ExportArgs(instance, false, true, true, true, false, false, false, false, false), null, ignore => MainWindowHelper.MakeInstanceSelected(id), () => new ExportWizardArgs(instance, string.Empty)); } }
public void OnClick(Window mainWindow, Instance instance) { Analytics.TrackEvent("Backup"); if (instance != null) { var id = MainWindowHelper.GetListItemID(instance.ID); WizardPipelineManager.Start("backup", mainWindow, new BackupArgs(instance), null, ignore => MainWindowHelper.MakeInstanceSelected(id), () => new BackupSettingsWizardArgs(instance)); } }