203 lines
8.2 KiB
C#
203 lines
8.2 KiB
C#
namespace 淘宝网址解析
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
button1 = new Button();
|
|
textBox1 = new TextBox();
|
|
textBox2 = new TextBox();
|
|
splitContainer1 = new SplitContainer();
|
|
tableLayoutPanel1 = new TableLayoutPanel();
|
|
flowLayoutPanel1 = new FlowLayoutPanel();
|
|
checkBox1 = new CheckBox();
|
|
checkBox2 = new CheckBox();
|
|
dataGridView1 = new DataGridView();
|
|
((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
|
|
splitContainer1.Panel1.SuspendLayout();
|
|
splitContainer1.Panel2.SuspendLayout();
|
|
splitContainer1.SuspendLayout();
|
|
tableLayoutPanel1.SuspendLayout();
|
|
flowLayoutPanel1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// button1
|
|
//
|
|
button1.Dock = DockStyle.Fill;
|
|
button1.Location = new Point(2, 289);
|
|
button1.Margin = new Padding(2, 3, 2, 3);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(453, 43);
|
|
button1.TabIndex = 0;
|
|
button1.Text = "解析";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += button1_ClickAsync;
|
|
//
|
|
// textBox1
|
|
//
|
|
textBox1.Dock = DockStyle.Fill;
|
|
textBox1.Location = new Point(2, 3);
|
|
textBox1.Margin = new Padding(2, 3, 2, 3);
|
|
textBox1.Multiline = true;
|
|
textBox1.Name = "textBox1";
|
|
textBox1.Size = new Size(453, 233);
|
|
textBox1.TabIndex = 1;
|
|
textBox1.Text = "在这里输入需要缩短的淘宝宝贝链接";
|
|
//
|
|
// textBox2
|
|
//
|
|
textBox2.Dock = DockStyle.Fill;
|
|
textBox2.Location = new Point(2, 242);
|
|
textBox2.Margin = new Padding(2, 3, 2, 3);
|
|
textBox2.Multiline = true;
|
|
textBox2.Name = "textBox2";
|
|
textBox2.Size = new Size(453, 41);
|
|
textBox2.TabIndex = 3;
|
|
textBox2.Text = "点击解析后这里会输出结果";
|
|
//
|
|
// splitContainer1
|
|
//
|
|
splitContainer1.Dock = DockStyle.Fill;
|
|
splitContainer1.Location = new Point(0, 0);
|
|
splitContainer1.Margin = new Padding(2, 3, 2, 3);
|
|
splitContainer1.Name = "splitContainer1";
|
|
//
|
|
// splitContainer1.Panel1
|
|
//
|
|
splitContainer1.Panel1.Controls.Add(tableLayoutPanel1);
|
|
//
|
|
// splitContainer1.Panel2
|
|
//
|
|
splitContainer1.Panel2.Controls.Add(dataGridView1);
|
|
splitContainer1.Size = new Size(931, 382);
|
|
splitContainer1.SplitterDistance = 457;
|
|
splitContainer1.SplitterWidth = 3;
|
|
splitContainer1.TabIndex = 4;
|
|
//
|
|
// tableLayoutPanel1
|
|
//
|
|
tableLayoutPanel1.ColumnCount = 1;
|
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
|
tableLayoutPanel1.Controls.Add(textBox1, 0, 0);
|
|
tableLayoutPanel1.Controls.Add(textBox2, 0, 1);
|
|
tableLayoutPanel1.Controls.Add(button1, 0, 2);
|
|
tableLayoutPanel1.Controls.Add(flowLayoutPanel1, 0, 3);
|
|
tableLayoutPanel1.Dock = DockStyle.Fill;
|
|
tableLayoutPanel1.Location = new Point(0, 0);
|
|
tableLayoutPanel1.Margin = new Padding(2, 3, 2, 3);
|
|
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|
tableLayoutPanel1.RowCount = 4;
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 83.62069F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 16.37931F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 49F));
|
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 46F));
|
|
tableLayoutPanel1.Size = new Size(457, 382);
|
|
tableLayoutPanel1.TabIndex = 4;
|
|
//
|
|
// flowLayoutPanel1
|
|
//
|
|
flowLayoutPanel1.Controls.Add(checkBox1);
|
|
flowLayoutPanel1.Controls.Add(checkBox2);
|
|
flowLayoutPanel1.Dock = DockStyle.Fill;
|
|
flowLayoutPanel1.Location = new Point(3, 338);
|
|
flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
flowLayoutPanel1.Size = new Size(451, 41);
|
|
flowLayoutPanel1.TabIndex = 4;
|
|
//
|
|
// checkBox1
|
|
//
|
|
checkBox1.AutoSize = true;
|
|
checkBox1.Checked = true;
|
|
checkBox1.CheckState = CheckState.Checked;
|
|
checkBox1.Location = new Point(3, 3);
|
|
checkBox1.Name = "checkBox1";
|
|
checkBox1.Size = new Size(87, 21);
|
|
checkBox1.TabIndex = 0;
|
|
checkBox1.Text = "强制网页版";
|
|
checkBox1.UseVisualStyleBackColor = true;
|
|
//
|
|
// checkBox2
|
|
//
|
|
checkBox2.AutoSize = true;
|
|
checkBox2.Checked = true;
|
|
checkBox2.CheckState = CheckState.Checked;
|
|
checkBox2.Location = new Point(96, 3);
|
|
checkBox2.Name = "checkBox2";
|
|
checkBox2.Size = new Size(123, 21);
|
|
checkBox2.TabIndex = 1;
|
|
checkBox2.Text = "解析完成自动打开";
|
|
checkBox2.UseVisualStyleBackColor = true;
|
|
//
|
|
// dataGridView1
|
|
//
|
|
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView1.Dock = DockStyle.Fill;
|
|
dataGridView1.Location = new Point(0, 0);
|
|
dataGridView1.Margin = new Padding(2, 3, 2, 3);
|
|
dataGridView1.Name = "dataGridView1";
|
|
dataGridView1.RowHeadersWidth = 51;
|
|
dataGridView1.RowTemplate.Height = 29;
|
|
dataGridView1.Size = new Size(471, 382);
|
|
dataGridView1.TabIndex = 0;
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(931, 382);
|
|
Controls.Add(splitContainer1);
|
|
Margin = new Padding(2, 3, 2, 3);
|
|
Name = "Form1";
|
|
Text = "淘宝链接缩短工具";
|
|
splitContainer1.Panel1.ResumeLayout(false);
|
|
splitContainer1.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
|
|
splitContainer1.ResumeLayout(false);
|
|
tableLayoutPanel1.ResumeLayout(false);
|
|
tableLayoutPanel1.PerformLayout();
|
|
flowLayoutPanel1.ResumeLayout(false);
|
|
flowLayoutPanel1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button button1;
|
|
private TextBox textBox1;
|
|
private TextBox textBox2;
|
|
private SplitContainer splitContainer1;
|
|
private TableLayoutPanel tableLayoutPanel1;
|
|
private DataGridView dataGridView1;
|
|
private FlowLayoutPanel flowLayoutPanel1;
|
|
private CheckBox checkBox1;
|
|
private CheckBox checkBox2;
|
|
private DataGridViewTextBoxColumn 参数名称;
|
|
private DataGridViewTextBoxColumn 参数内容;
|
|
}
|
|
} |