270 lines
12 KiB
C#
270 lines
12 KiB
C#
namespace yjktool
|
|
{
|
|
partial class MainForm
|
|
{
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null)) components.Dispose();
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows 窗体设计器生成的代码
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.lbl搜索 = new System.Windows.Forms.Label();
|
|
this.txt搜索 = new System.Windows.Forms.TextBox();
|
|
this.lst厂家 = new System.Windows.Forms.ListView();
|
|
this.btn全选 = new System.Windows.Forms.Button();
|
|
this.btn反选 = new System.Windows.Forms.Button();
|
|
this.lbl线程 = new System.Windows.Forms.Label();
|
|
this.num线程 = new System.Windows.Forms.NumericUpDown();
|
|
this.lbl输出 = new System.Windows.Forms.Label();
|
|
this.txt输出 = new System.Windows.Forms.TextBox();
|
|
this.btn开始 = new System.Windows.Forms.Button();
|
|
this.btn打包 = new System.Windows.Forms.Button();
|
|
this.chk代理 = new System.Windows.Forms.CheckBox();
|
|
this.lbl代理 = new System.Windows.Forms.Label();
|
|
this.chk清理 = new System.Windows.Forms.CheckBox();
|
|
this.progress = new System.Windows.Forms.ProgressBar();
|
|
this.lbl进度 = new System.Windows.Forms.Label();
|
|
this.rtb日志 = new System.Windows.Forms.RichTextBox();
|
|
this.lbl统计 = new System.Windows.Forms.Label();
|
|
((System.ComponentModel.ISupportInitialize)(this.num线程)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// lbl搜索
|
|
//
|
|
this.lbl搜索.AutoSize = true;
|
|
this.lbl搜索.Location = new System.Drawing.Point(12, 15);
|
|
this.lbl搜索.Name = "lbl搜索";
|
|
this.lbl搜索.Size = new System.Drawing.Size(37, 17);
|
|
this.lbl搜索.TabIndex = 0;
|
|
this.lbl搜索.Text = "搜索:";
|
|
//
|
|
// txt搜索
|
|
//
|
|
this.txt搜索.Location = new System.Drawing.Point(55, 12);
|
|
this.txt搜索.Name = "txt搜索";
|
|
this.txt搜索.Size = new System.Drawing.Size(200, 25);
|
|
this.txt搜索.TabIndex = 1;
|
|
this.txt搜索.TextChanged += new System.EventHandler(this.txt搜索_TextChanged);
|
|
//
|
|
// lst厂家
|
|
//
|
|
this.lst厂家.CheckBoxes = true;
|
|
this.lst厂家.Columns.Add("厂家");
|
|
this.lst厂家.Columns[0].Width = 240;
|
|
this.lst厂家.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
|
|
this.lst厂家.HideSelection = true;
|
|
this.lst厂家.Location = new System.Drawing.Point(12, 44);
|
|
this.lst厂家.MultiSelect = false;
|
|
this.lst厂家.Name = "lst厂家";
|
|
this.lst厂家.ShowGroups = false;
|
|
this.lst厂家.Size = new System.Drawing.Size(262, 470);
|
|
this.lst厂家.TabIndex = 2;
|
|
this.lst厂家.View = System.Windows.Forms.View.Details;
|
|
//
|
|
// btn全选
|
|
//
|
|
this.btn全选.Location = new System.Drawing.Point(12, 520);
|
|
this.btn全选.Name = "btn全选";
|
|
this.btn全选.Size = new System.Drawing.Size(75, 28);
|
|
this.btn全选.TabIndex = 3;
|
|
this.btn全选.Text = "全选";
|
|
this.btn全选.UseVisualStyleBackColor = true;
|
|
this.btn全选.Click += new System.EventHandler(this.btn全选_Click);
|
|
//
|
|
// btn反选
|
|
//
|
|
this.btn反选.Location = new System.Drawing.Point(96, 520);
|
|
this.btn反选.Name = "btn反选";
|
|
this.btn反选.Size = new System.Drawing.Size(75, 28);
|
|
this.btn反选.TabIndex = 4;
|
|
this.btn反选.Text = "反选";
|
|
this.btn反选.UseVisualStyleBackColor = true;
|
|
this.btn反选.Click += new System.EventHandler(this.btn反选_Click);
|
|
//
|
|
// lbl统计
|
|
//
|
|
this.lbl统计.AutoSize = true;
|
|
this.lbl统计.ForeColor = System.Drawing.Color.DimGray;
|
|
this.lbl统计.Location = new System.Drawing.Point(180, 525);
|
|
this.lbl统计.Name = "lbl统计";
|
|
this.lbl统计.Size = new System.Drawing.Size(0, 17);
|
|
this.lbl统计.TabIndex = 5;
|
|
//
|
|
// lbl线程
|
|
//
|
|
this.lbl线程.AutoSize = true;
|
|
this.lbl线程.Location = new System.Drawing.Point(290, 15);
|
|
this.lbl线程.Name = "lbl线程";
|
|
this.lbl线程.Size = new System.Drawing.Size(52, 17);
|
|
this.lbl线程.TabIndex = 6;
|
|
this.lbl线程.Text = "线程数:";
|
|
//
|
|
// num线程
|
|
//
|
|
this.num线程.Location = new System.Drawing.Point(348, 12);
|
|
this.num线程.Maximum = new decimal(new int[] { 16, 0, 0, 0 });
|
|
this.num线程.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
|
|
this.num线程.Name = "num线程";
|
|
this.num线程.Size = new System.Drawing.Size(52, 25);
|
|
this.num线程.TabIndex = 7;
|
|
this.num线程.Value = new decimal(new int[] { 4, 0, 0, 0 });
|
|
//
|
|
// lbl输出
|
|
//
|
|
this.lbl输出.AutoSize = true;
|
|
this.lbl输出.Location = new System.Drawing.Point(418, 15);
|
|
this.lbl输出.Name = "lbl输出";
|
|
this.lbl输出.Size = new System.Drawing.Size(67, 17);
|
|
this.lbl输出.TabIndex = 8;
|
|
this.lbl输出.Text = "输出目录:";
|
|
//
|
|
// txt输出
|
|
//
|
|
this.txt输出.Location = new System.Drawing.Point(487, 12);
|
|
this.txt输出.Name = "txt输出";
|
|
this.txt输出.Size = new System.Drawing.Size(340, 25);
|
|
this.txt输出.TabIndex = 9;
|
|
//
|
|
// btn开始
|
|
//
|
|
this.btn开始.Location = new System.Drawing.Point(290, 44);
|
|
this.btn开始.Name = "btn开始";
|
|
this.btn开始.Size = new System.Drawing.Size(120, 32);
|
|
this.btn开始.TabIndex = 10;
|
|
this.btn开始.Text = "开始抓取";
|
|
this.btn开始.UseVisualStyleBackColor = true;
|
|
this.btn开始.Click += new System.EventHandler(this.btn开始_Click);
|
|
//
|
|
// btn打包
|
|
//
|
|
this.btn打包.Location = new System.Drawing.Point(420, 44);
|
|
this.btn打包.Name = "btn打包";
|
|
this.btn打包.Size = new System.Drawing.Size(120, 32);
|
|
this.btn打包.TabIndex = 11;
|
|
this.btn打包.Text = "打包数据包";
|
|
this.btn打包.UseVisualStyleBackColor = true;
|
|
this.btn打包.Click += new System.EventHandler(this.btn打包_Click);
|
|
//
|
|
// progress
|
|
//
|
|
this.progress.Location = new System.Drawing.Point(560, 50);
|
|
this.progress.Name = "progress";
|
|
this.progress.Size = new System.Drawing.Size(180, 20);
|
|
this.progress.TabIndex = 12;
|
|
//
|
|
// lbl进度
|
|
//
|
|
this.lbl进度.AutoSize = true;
|
|
this.lbl进度.Location = new System.Drawing.Point(750, 54);
|
|
this.lbl进度.Name = "lbl进度";
|
|
this.lbl进度.Size = new System.Drawing.Size(0, 17);
|
|
this.lbl进度.TabIndex = 13;
|
|
//
|
|
// chk代理
|
|
//
|
|
this.chk代理.AutoSize = true;
|
|
this.chk代理.Location = new System.Drawing.Point(290, 82);
|
|
this.chk代理.Name = "chk代理";
|
|
this.chk代理.Size = new System.Drawing.Size(204, 21);
|
|
this.chk代理.TabIndex = 15;
|
|
this.chk代理.Text = "价格走旧代理(8081,自动启动)";
|
|
this.chk代理.UseVisualStyleBackColor = true;
|
|
this.chk代理.CheckedChanged += new System.EventHandler(this.chk代理_CheckedChanged);
|
|
//
|
|
// lbl代理
|
|
//
|
|
this.lbl代理.AutoSize = true;
|
|
this.lbl代理.ForeColor = System.Drawing.Color.Firebrick;
|
|
this.lbl代理.Location = new System.Drawing.Point(500, 85);
|
|
this.lbl代理.Name = "lbl代理";
|
|
this.lbl代理.Size = new System.Drawing.Size(103, 17);
|
|
this.lbl代理.TabIndex = 16;
|
|
this.lbl代理.Text = "旧代理:未检测";
|
|
//
|
|
// chk清理
|
|
//
|
|
this.chk清理.AutoSize = true;
|
|
this.chk清理.Checked = true;
|
|
this.chk清理.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.chk清理.Location = new System.Drawing.Point(620, 82);
|
|
this.chk清理.Name = "chk清理";
|
|
this.chk清理.Size = new System.Drawing.Size(163, 21);
|
|
this.chk清理.TabIndex = 17;
|
|
this.chk清理.Text = "抓取前清空旧数据(缓存+输出)";
|
|
this.chk清理.UseVisualStyleBackColor = true;
|
|
//
|
|
// rtb日志
|
|
//
|
|
this.rtb日志.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(30)))), ((int)(((byte)(30)))), ((int)(((byte)(30)))));
|
|
this.rtb日志.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.rtb日志.ForeColor = System.Drawing.Color.Gainsboro;
|
|
this.rtb日志.Font = new System.Drawing.Font("Consolas", 9F);
|
|
this.rtb日志.Location = new System.Drawing.Point(290, 110);
|
|
this.rtb日志.Name = "rtb日志";
|
|
this.rtb日志.ReadOnly = true;
|
|
this.rtb日志.Size = new System.Drawing.Size(537, 404);
|
|
this.rtb日志.TabIndex = 14;
|
|
this.rtb日志.Text = "";
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(842, 561);
|
|
this.Controls.Add(this.lbl代理);
|
|
this.Controls.Add(this.chk代理);
|
|
this.Controls.Add(this.chk清理);
|
|
this.Controls.Add(this.rtb日志);
|
|
this.Controls.Add(this.lbl进度);
|
|
this.Controls.Add(this.progress);
|
|
this.Controls.Add(this.btn打包);
|
|
this.Controls.Add(this.btn开始);
|
|
this.Controls.Add(this.txt输出);
|
|
this.Controls.Add(this.lbl输出);
|
|
this.Controls.Add(this.num线程);
|
|
this.Controls.Add(this.lbl线程);
|
|
this.Controls.Add(this.lbl统计);
|
|
this.Controls.Add(this.btn反选);
|
|
this.Controls.Add(this.btn全选);
|
|
this.Controls.Add(this.lst厂家);
|
|
this.Controls.Add(this.txt搜索);
|
|
this.Controls.Add(this.lbl搜索);
|
|
this.MaximizeBox = false;
|
|
this.Name = "MainForm";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "元件库厂家数据工具";
|
|
((System.ComponentModel.ISupportInitialize)(this.num线程)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label lbl搜索;
|
|
private System.Windows.Forms.TextBox txt搜索;
|
|
private System.Windows.Forms.ListView lst厂家;
|
|
private System.Windows.Forms.Button btn全选;
|
|
private System.Windows.Forms.Button btn反选;
|
|
private System.Windows.Forms.Label lbl统计;
|
|
private System.Windows.Forms.Label lbl线程;
|
|
private System.Windows.Forms.NumericUpDown num线程;
|
|
private System.Windows.Forms.Label lbl输出;
|
|
private System.Windows.Forms.TextBox txt输出;
|
|
private System.Windows.Forms.Button btn开始;
|
|
private System.Windows.Forms.Button btn打包;
|
|
private System.Windows.Forms.ProgressBar progress;
|
|
private System.Windows.Forms.Label lbl进度;
|
|
private System.Windows.Forms.RichTextBox rtb日志;
|
|
private System.Windows.Forms.CheckBox chk代理;
|
|
private System.Windows.Forms.Label lbl代理;
|
|
private System.Windows.Forms.CheckBox chk清理;
|
|
}
|
|
}
|