コード例 #1
0
        static void Main(string[] args)
        {
            var parser      = new SourceFileParser(null);
            var projectInfo = new ProjectInfo();
            var project     = new Project();

            project.SourceDirPath = @"C:\work\AbrantixGit\MSW2\test";
            projectInfo.AddProject(project);
            projectInfo.SelectedProject = project;
            parser.ScanProjectDir(project);
        }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TestExecWindow"/> class.
        /// </summary>
        public TestExecWindow() : base(null)
        {
            m_executor = new Executor(this, this);

            this.Caption = "TestExecWindow";

            // This is the user control hosted by the tool window; Note that, even if this class implements IDisposable,
            // we are not calling Dispose on this object. This is because ToolWindowPane calls Dispose on
            // the object returned by the Content property.
            this.Content = new TestExecWindowControl(this, this, m_executor);

            m_vsConnector = new VisualStudioConnector(this, this);
            m_parser      = new SourceFileParser(this);
            RefreshAll();
        }