日期:2014-05-17 浏览次数:20843 次
private void Main_Load(object sender, EventArgs e)
{
//_tmState = new System.Threading.Timer(new TimerCallback(DetectionXLHState), this, 1000, 1000);
string url = ClientMethod.TICKETHOST + "?from=client&jid=" + jid;
NavigateUrl(url);
wbBuyCaipiao.IsWebBrowserContextMenuEnabled = false;
}
public delegate void DelUserHandler(string url);
public void NavigateUrl(string url)
{
if (this.wbBuyCaipiao.InvokeRequired)
{
DelUserHandler handler = new DelUserHandler(NavigateUrl);
this.Invoke(handler, url);
}
else
{
wbBuyCaipiao.Navigate(url);
}
}
//A窗体
public void GetPhone_RunningEvent(object sender)
{
if (waitPhone.Count > 0)
{
Phone ph = waitPhone[0];