我制作了像Firefox一样的Tab文档界面。我想让页面的某些部分刷新时间。我想你已经看过一段时间后已经看过Cricket Page Refresh页面了。我已经使用面板刷新页面但面板没有显示。我试过但不能这样做。我在Windows窗体工作。任何机构解决这个问题,并提前感谢。我的编码部分在这里: -
private void Form1_Load(object sender, EventArgs e)
{
AddNewTab();
toolStripTextBox1.Text = "Go to website";
toolStripTextBox2.Text = "Google Search text here";
toolStripComboBox1.Text = "Google.co.in";
toolStripComboBox1.Items.Add("Google.co.in");
timer1.Enabled = true;
timer1.Start();
panel1.Show();
label1.Text = DateTime.Now.ToString();
}
TabPage tp;
WebBrowser wb;
private void AddNewTab()
{
tp=new TabPage();
wb=new WebBrowser();
wb.DocumentCompleted += new WebBrowserDocumentCompletedEventHandler(wb_DocumentCompleted);
wb.Focus();
wb.Url = new Uri("http://google.co.in");
wb.Dock=DockStyle.Fill;
tp.Controls.Add(wb);
tabControl1.TabPages.Insert(tabControl1.TabPages.Count - 1, tp);
tabControl1.SelectedTab = tp;
}