예제 #1
0
        public void Run()
        {
            Debug.WriteLine("Run!");

            if (applicationObject.Solution == null)
            {
                MessageBox.Show("No solution");
                return;
            }

            projectsUpdateList = new ProjectsUpdateList();

            var projectModels = LoadProjects();

            if (projectModels.Count == 0)
            {
                MessageBox.Show("No .Net projects");
                return;
            }

            projectsUpdateList.Projects = projectModels;

            
            projectsUpdateList.Frameworks = frameworkModels;

            projectsUpdateList.UpdateFired += projectsUpdateList_UpdateFired;

            projectsUpdateList.ShowDialog();
        }
예제 #2
0
        public void Show()
        {
            lock (syncRoot)
            {
                synchronizationContext = SynchronizationContext.Current;

                projectsUpdateList = new ProjectsUpdateList();

                projectsUpdateList.UpdateFired += Update;
                projectsUpdateList.ReloadFired += ReloadProjects;

                projectsUpdateList.Frameworks = frameworkModels;

                projectsUpdateList.State = "Waiting all projects are loaded...";

                if (applicationObject.Solution == null)
                {
                    projectsUpdateList.State = "No solution";
                }
                else
                {
                    if (isSolutionLoaded)
                        ReloadProjects();
                }

                projectsUpdateList.StartPosition = FormStartPosition.CenterScreen;
                projectsUpdateList.TopMost = true;
                projectsUpdateList.ShowDialog();

            }
        }
        public void Show()
        {
            lock (syncRoot)
            {
                synchronizationContext = SynchronizationContext.Current;

                projectsUpdateList = new ProjectsUpdateList();

                projectsUpdateList.UpdateFired += Update;
                projectsUpdateList.ReloadFired += ReloadProjects;

                projectsUpdateList.Frameworks = frameworkModels;

                projectsUpdateList.State = "Waiting all projects are loaded...";

                if (applicationObject.Solution == null)
                {
                    projectsUpdateList.State = "No solution";
                }
                else
                {
                    if (isSolutionLoaded)
                    {
                        ReloadProjects();
                    }
                }

                projectsUpdateList.StartPosition = FormStartPosition.CenterScreen;
                projectsUpdateList.TopMost       = true;
                projectsUpdateList.ShowDialog();
            }
        }
예제 #4
0
        public void Run()
        {
            Debug.WriteLine("Run!");

            if (applicationObject.Solution == null)
            {
                MessageBox.Show("No solution");
                return;
            }

            projectsUpdateList = new ProjectsUpdateList();

            var projectModels = LoadProjects();

            if (projectModels.Count == 0)
            {
                MessageBox.Show("No .Net projects");
                return;
            }

            projectsUpdateList.Projects = projectModels;


            projectsUpdateList.Frameworks = frameworkModels;

            projectsUpdateList.UpdateFired += projectsUpdateList_UpdateFired;

            projectsUpdateList.ShowDialog();
        }