public PendingChangesToolControl()
        {
            InitializeComponent();

            _activatePage = new PendingActivationPage();
            _commitsPage = new PendingCommitsPage();
            _issuesPage = new PendingIssuesPage();
            _changesPage = new RecentChangesPage();
            _conflictsPage = new PendingConflictsPage();

            _pages = new List<PendingChangesPage>();
            _pages.Add(_activatePage);
            _pages.Add(_commitsPage);
            _pages.Add(_issuesPage);
            _pages.Add(_changesPage);
            _pages.Add(_conflictsPage);
        }
        public PendingChangesToolControl()
        {
            InitializeComponent();

            _activatePage  = new PendingActivationPage();
            _commitsPage   = new PendingCommitsPage();
            _issuesPage    = new PendingIssuesPage();
            _changesPage   = new RecentChangesPage();
            _conflictsPage = new PendingConflictsPage();

            _pages = new List <PendingChangesPage>();
            _pages.Add(_activatePage);
            _pages.Add(_commitsPage);
            _pages.Add(_issuesPage);
            _pages.Add(_changesPage);
            _pages.Add(_conflictsPage);

            fileChangesButton.Image   = VSVersion.VS2012OrLater ? PCResources.SourceFiles : PCResources.SourceFilesOld;
            issuesButton.Image        = VSVersion.VS2012OrLater ? PCResources.Issues : PCResources.IssuesOld;
            recentChangesButton.Image = VSVersion.VS2012OrLater ? PCResources.RecentChanges : PCResources.RecentChangesOld;
            conflictsButton.Image     = VSVersion.VS2012OrLater ? PCResources.Conflicts : PCResources.ConflictsOld;
        }