Ejemplo n.º 1
0
        private void _addSearchResult()
        {
            if (txtSearch.Text == string.Empty)
            {
                return;

            }
            SearchResultControl searchresults = new SearchResultControl();
            _addTab(searchresults, txtSearch.Text + " - Results");
        }
Ejemplo n.º 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);
        }