private void _slnEvents_BeforeClosing()
 {
     projectMngrs.Clear();
     extractor = null;
 }
        private void _slnEvents_SolutionOpened()
        {
            try
            {
                GetStartupProject();
                string lang = (projectMngrs[activeProject].GetType() == typeof(Projects.CSharp.ProjectManager)) ? "c#" : "f#";
                extractor = new MetadataExtractor(lang, String.Empty);
                foreach (KeyValuePair<string,IProjectManager> kvp in projectMngrs)
                {
                    List<string> files = kvp.Value.GetSourceFiles();
                    string str = kvp.Key.Substring(kvp.Value.ProjectPath.Length);
                    control.ComboProjects.Items.Add(str);
                    if (String.Compare(activeProject, kvp.Key) == 0)
                        control.ComboProjects.SelectedItem = str;
                    foreach (string file in files)
                    {
                        extractor.FileName = file;
                        extractor.FillControllerInfo();
                    }
                }
                UpdateTreeData();
                LoadTree();

            }
            catch (Exception ex)
            {
                Trace.WriteLine(ex);
            }
        }