Example #1
0
        private void _addSearchResult()
        {
            if (txtSearch.Text == string.Empty)
            {
                return;

            }
            SearchResultControl searchresults = new SearchResultControl();
            _addTab(searchresults, txtSearch.Text + " - Results");
        }
Example #2
0
        private void _addSearchResult()
        {
            if (txtSearch.Text == string.Empty)
            {
                return;

            }
            TabPage page = new TabPage(txtSearch.Text + " - Results");
            SearchResultControl searchresults = new SearchResultControl();
            page.Controls.Add(searchresults);
            tabMainTabControl.TabPages.Add(page);
        }