Main.cs
(开头部分) 25KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Web;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading;
using System.Collections.Generic;
namespace WindowsFormsApplication7
{
public partial class Form1 : Form
{
public static int allIndex = 0;
StringBuilder str = new StringBuilder();
private Label tbx = new Label();
Thread th = null;
public Form1()
{
InitializeComponent();
}
// 下载于www.51aspx.com
private void button1_Click(object sender, EventArgs e)
{
if (comboBox1.Text.IndexOf("http://") == -1 && comboBox1.Text.IndexOf("https://") == -1)
{
comboBox1.Text = "http://" + comboBox1.Text;
}
int index = comboBox1.SelectedIndex;
if (index == 0 || comboBox1.Text == "http://baidu.com" || comboBox1.Text == "http://baidu.com/" || comboBox1.Text == "http://www.baidu.com" || comboBox1.Text == "http://www.baidu.com/")
{
comboBox1.Text = "http://www.baidu.com/#wd=" + UrlCode(textBox2.Text, "UTF-8") + "&rsv_bp=0&tn=baidu&rsv_spt=3&ie=utf-8&rsv_sug3=3&rsv_sug4=155&rsv_sug1=3&inputT=873";
}
if (index == 1 || comboBox1.Text == "http://www.google.cn/" || comboBox1.Text == "http://www.google.cn" || comboBox1.Text == "http://www.google.com.hk/webhp?hl=zh-CN&sourceid=cnhp" || comboBox1.Text.IndexOf("http://www.google.com.hk/webhp") != -1)
{
comboBox1.Text = "https://www.google.com.hk/search?num=100&newwindow=1&safe=strict&site=webhp&source=hp&q=" + UrlCode(textBox2.Text, "UTF-8");
}
if (index == 2 || comboBox1.Text == "http://www.sogou.com/" || comboBox1.Text == "http://www.sogou.com")
{
comboBox1.Text = "http://www.sogou.com/web?q=by+discuz+x3.1&query=" + UrlCode(textBox2.Text, "UTF-8") + "&fieldtitle=&fieldcontent=&fieldstripurl=&bstype=&ie=utf8&exclude=&sitequery=&located=0&tro=off&filetype=&num=100";
}
Uri url = new Uri(comboBox1.Text);
webBrowser1.Url = url;
}
public string UrlCode(string str, string encode)
{
string tmp = HttpUtility.UrlEncode(str, Encoding.GetEncoding(encode));
return tmp;
// 下载于www.51aspx.com
}
private void button2_Click(object sender, EventArgs e)
{
string html = webBrowser1.Document.Body.InnerHtml;
if (comboBox1.Text.IndexOf("baidu") != -1)
{
后面还有 536 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。