ArrayList webpages=new ArrayList(); private void btnsearch_Click(object sender, EventArgs e) { WebBrowser thisweb = GetCurrentWebBrowser(); thisweb.Url = new Uri("http://search.msn.com/results.aspx?FORM=SMCRT&q=" + txtsearch.Text);//search url with MSN timer1.Enabled = true; }private WebBrowser GetCurrentWebBrowser()//function to get details of current webpage { TabPage current_tab = tabControl1.SelectedTab; WebBrowser thispasge = (WebBrowser)webpages[tabpages.IndexOf(current_tab)]; return thispasge; }
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: