Пример #1
0
        public void AssembliesLoaded(List <NuGenAssembly> loadedAssemblies, bool isProjectChanged)
        {
            informationPanel.AddElapsedTime();
            informationPanel.AddInformation(readyLabel.Text);
            informationPanel.ResetCounter();
            //Application.DoEvents();

            foreach (NuGenAssembly assembly in loadedAssemblies)
            {
                ProjectExplorer.AddAssemblyToProject(assembly);
            }

            informationPanel.AddElapsedTime();
            ClearUserWarning();
            informationPanel.AddInformation(readyLabel.Text);
            informationPanel.AddInformation("\n\n");
            ResetPanels();

            if (NuGenDebugEventHandler.Instance.State == DebuggerState.DebuggeeStopped)
            {
                ShowDebuggerState(DebuggerState.DebuggeeStopped);
            }
            else
            {
                ShowDebuggerState(NuGenDebugEventHandler.Instance.State);
                ClearDebugPanels(false);
                NuGenDebugEventHandler.Instance.DisplayCurrentCodeLocation();
            }

            GC.Collect(GC.MaxGeneration);

            if (isProjectChanged)
            {
                NuGenProject.Instance.IsSaved = false;
            }
        }