private void button1_Click_1(object sender, EventArgs e)
{
if (this.rw_txt_key.Text.Trim() == "" || this.rw_txt_key.Text.Trim() == "宝贝关键词")
{
int num = (int)MessageBox.Show("关键字不能为空!");
}
else
{
this.rw_com_jd.Text = "按类目";
taobaofrm taobaofrm = new taobaofrm();
string str = HttpUtility.UrlEncode(this.rw_txt_key.Text, Encoding.GetEncoding("UTF-8"));
taobaofrm.Url = "http://list.taobao.com/itemlist/default.htm?&q=" + str;
taobaofrm.Url += "&same_info=1&isnew=2&tid=0&_input_charset=utf-8";
if (taobaofrm.ShowDialog() == DialogResult.OK)
this.strResultUrl = taobaofrm.Url;
}
}