using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
{
if (Run.Text == "Stop")
{
Run.Text = "Start";
tm.Stop();
}
else
{
wbURL.Url = new Uri(txtURL.Text);
continues = false;
tm.Start();
toolMsg.Text = "Message";
}
}
{
if (txtURL.Text != "")
{
reload();
}
}
{
tm.Stop();
}
{
continues = false;
}
{
continues = true;
}
{
if (continues)
{
wbURL.Refresh();
count++;
toolMsg.Text = "成功刷新了" + count.ToString() + "次";
}
}
}
}