private void button1_Click_1(object sender, EventArgs e)
{
//设置背景图 为”登录中“
button1.BackgroundImage = Properties.Resources.login_btn_ing;//这一句没效果
//设置鼠标等待
this.Cursor = System.Windows.Forms.Cursors.WaitCursor;
//注释以下内容,点击就有效果了
string loginUrl = Constant.HOUST_URL + "/clubuser-login.html";
HtmlFromWebReq req = new HtmlFromWebReq();
req.OnReadDataComplected += new ReadDataComplectedEventHandler(completed);
IDictionary<string, string> parameters = new Dictionary<string, string>();
string para = toJson();
if (para != null)
{
parameters.Add("inqVal", toJson());
req.CreatePostHttpResponse(loginUrl, parameters, null, null, Encoding.UTF8, null);
}
}