public override void Show() { lock (syncRoot) { synchronizationContext = SynchronizationContext.Current; projectsUpdateList = new SitecoreUpdator(); projectsUpdateList.UpdateFired += Update; projectsUpdateList.ReloadFired += ReloadProjects; projectsUpdateList.UpdateMSSCPkgFired += UpdateMSSCPkgFired; projectsUpdateList.UpdateGlassPkgFired += UpdateGlassPkgFired; projectsUpdateList.MigrateToPackageReferencing += MigrateToPackageReferencing; projectsUpdateList.RefactorGlassReferences += RefactorGlassReferences; projectsUpdateList.AvailableVersions = sitecoreVersionList; //projectsUpdateList.State = "Waiting all projects are loaded..."; if (applicationObject.Solution != null) { if (isSolutionLoaded) { ReloadProjects(); } } projectsUpdateList.StartPosition = FormStartPosition.CenterParent; projectsUpdateList.ShowDialog(); } }
public virtual void Show() { lock (syncRoot) { synchronizationContext = SynchronizationContext.Current; projectsUpdateList = new SitecoreUpdator(); projectsUpdateList.UpdateFired += Update; projectsUpdateList.ReloadFired += ReloadProjects; if (applicationObject.Solution != null) { if (isSolutionLoaded) { ReloadProjects(); } } projectsUpdateList.StartPosition = FormStartPosition.CenterParent; projectsUpdateList.ShowDialog(); } }