main.cs
(开头部分) 116KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Threading;
using System.Text.RegularExpressions;
using Ericbai;
using System.Net.NetworkInformation;
namespace invite_bids
{
public partial class main : Form
{
private readonly BackgroundWorker bw;
string getRegion = string.Empty;//获取采集的是哪个地区的信息
internal static string loginUserName = string.Empty;
DataTable oldData1 = null;//用户信息检索
//信息分类 1:招标信息 2:中标信息 3:变更信息 4:其他信息
int infoClass = 0;
public main()
{
InitializeComponent();
this.SetStyle(ControlStyles.ResizeRedraw | ControlStyles.SupportsTransparentBackColor, true);
bw = BackgroundWorkerExtension.InitNewBackgroundWorker(bw_DoWork, bw_ProgressChanged, bw_RunWorkerCompleted);
}
DataTable contentDTable_BiaoXun;//招标
DataTable contentDTable_ZhongBiao;//中标
DataTable contentDTable_GengZheng;//更正
DataTable contentDTable_DiFang;//地方
void bw_DoWork(object sender, DoWorkEventArgs e)
{
var ce = e.Argument as CustomerDoWorkEventArgs;
BackgroundWorker cBw = ce.ExecBackgroundWorker;
getPageCount gpc = new getPageCount();
string infoFrom = string.Empty;//所属城市
string infoLink = string.Empty;//网页链接
string infoName = string.Empty;//项目名称
string infoDate = string.Empty;//发布日期
//共获取的页码数
int countPage = 0;
//链接地址
string addressLink = string.Empty;
//链接地址主体部分
string shortLink = string.Empty;
try
{
#region 验证是否能上网
Ping p = new Ping();
PingReply pr = p.Send("www.baidu.com");//115.239.210.27
后面还有 1888 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。