Inheritance: SIM.Tool.Base.Wizards.WizardArgs
    public static void OpenToolbox(InstallModulesWizardArgs args)
    {
      if (!InstanceHelperEx.PreheatInstance(args.Instance, args.WizardWindow))
      {
        return;
      }

      InstanceHelperEx.BrowseInstance(args.Instance, args.WizardWindow, "/sitecore/admin", true);
    }
    public static void OpenSolution(InstallModulesWizardArgs args)
    {
      var webRootPath = args.Instance.WebRootPath;
      if (OpenSolution(args.Instance.RootPath))
      {
        return;
      }

      if (OpenSolution(webRootPath))
      {
        return;
      }

      throw new Exception("Cannot locate any Visual Studio project files");
    }
 public static void OpenWebsiteFolder(InstallModulesWizardArgs args)
 {
     WindowHelper.OpenFolder(args.Instance.WebRootPath);
 }
 public static void OpenVisualStudio(InstallModulesWizardArgs args)
 {
     new OpenVisualStudioButton().OnClick(args.WizardWindow.Owner, args.Instance);
 }
 public static void OpenSitecoreClient(InstallModulesWizardArgs args)
 {
     InstanceHelperEx.BrowseInstance(args.Instance, args.WizardWindow, "/sitecore", false);
 }
 public static void OpenBrowser(InstallModulesWizardArgs args)
 {
     InstanceHelperEx.BrowseInstance(args.Instance, args.WizardWindow, string.Empty, true);
 }
 public static void BackupInstance(InstallModulesWizardArgs 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 static void PublishSite(InstallModulesWizardArgs args)
 {
   new PublishButton().OnClick(MainWindow.Instance, args.Instance);
 }
 public static void OpenWebsiteFolder(InstallModulesWizardArgs args)
 {
     CoreApp.OpenFolder(args.Instance.WebRootPath);
 }