コード例 #1
0
        private void CreateTabs()
        {
            if (issuesTab == null)
            {
                issuesTab = new IssuesTab(this);
            }

            if (cleanerTab == null)
            {
                cleanerTab = new CleanerTab(this);
            }

            if (referencesTab == null)
            {
                referencesTab = new ReferencesTab(this);
            }

            if (aboutTab == null)
            {
                aboutTab = new AboutTab(this);
            }

            if (tabsCaptions == null)
            {
                tabsCaptions = new[] { issuesTab.Caption, cleanerTab.Caption, referencesTab.Caption, aboutTab.Caption };
            }
        }
コード例 #2
0
        private void CreateTabs()
        {
            if (issuesTab == null)
            {
                issuesTab = new IssuesTab();
            }

            if (cleanerTab == null)
            {
                cleanerTab = new CleanerTab();
            }

            if (aboutTab == null)
            {
                aboutTab = new AboutTab();
            }
        }