示例#1
0
        private void GetRanking(object keyword)
        {
            txt_text.AppendText(keyword + "的360排名为:" + op.GetRanking(keyword.ToString(), url, 30) + "\r\n");
            Operate op2 = new Operate("baidu");

            txt_text.AppendText(keyword + "的百度排名为:" + op2.GetRanking(keyword.ToString(), url, 30) + "\r\n");
        }
示例#2
0
        private void button_huoqu_Click(object sender, EventArgs e)
        {
            Operate op = new Operate("baidu");

            if (op.Included(txt_url.Text.Trim()))
            {
                MessageBox.Show("收录");
            }
            else
            {
                MessageBox.Show("没有收录");
            }
        }