-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainForm.Designer.cs
More file actions
193 lines (188 loc) · 7.71 KB
/
Copy pathMainForm.Designer.cs
File metadata and controls
193 lines (188 loc) · 7.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
namespace HTTPInterceptor
{
partial class MainForm
{
/// <summary>
/// 設計工具所需的變數
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清除使用中的資源
/// </summary>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region
private void InitializeComponent()
{
tableLayoutPanel1 = new TableLayoutPanel();
lblExePath = new Label();
btnBrowse = new Button();
lblTarget = new Label();
txtTarget = new TextBox();
lblOrigin = new Label();
txtOriginList = new TextBox();
lblStatus = new Label();
txtExePath = new TextBox();
btnControl = new Button();
tableLayoutPanel1.SuspendLayout();
SuspendLayout();
//
// tableLayoutPanel1
//
tableLayoutPanel1.ColumnCount = 3;
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 27.9310341F));
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 51.896553F));
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F));
tableLayoutPanel1.Controls.Add(lblExePath, 0, 0);
tableLayoutPanel1.Controls.Add(btnBrowse, 2, 0);
tableLayoutPanel1.Controls.Add(lblTarget, 0, 1);
tableLayoutPanel1.Controls.Add(txtTarget, 1, 1);
tableLayoutPanel1.Controls.Add(lblOrigin, 0, 2);
tableLayoutPanel1.Controls.Add(lblStatus, 1, 3);
tableLayoutPanel1.Controls.Add(txtExePath, 1, 0);
tableLayoutPanel1.Controls.Add(btnControl, 0, 3);
tableLayoutPanel1.Controls.Add(txtOriginList, 1, 2);
tableLayoutPanel1.Location = new Point(0, 0);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 4;
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 25F));
tableLayoutPanel1.Size = new Size(580, 360);
tableLayoutPanel1.TabIndex = 0;
tableLayoutPanel1.Paint += tableLayoutPanel1_Paint;
//
// lblExePath
//
lblExePath.Anchor = AnchorStyles.None;
lblExePath.AutoSize = true;
lblExePath.Font = new Font("Segoe UI", 14F);
lblExePath.Location = new Point(35, 32);
lblExePath.Name = "lblExePath";
lblExePath.Size = new Size(92, 25);
lblExePath.TabIndex = 0;
lblExePath.Text = "目標程式:";
lblExePath.Click += lblExePath_Click;
//
// btnBrowse
//
btnBrowse.Anchor = AnchorStyles.None;
btnBrowse.Font = new Font("Segoe UI", 12F);
btnBrowse.Location = new Point(479, 30);
btnBrowse.Name = "btnBrowse";
btnBrowse.Size = new Size(85, 30);
btnBrowse.TabIndex = 2;
btnBrowse.Text = "瀏覽...";
btnBrowse.UseVisualStyleBackColor = true;
btnBrowse.Click += btnBrowse_Click;
//
// lblTarget
//
lblTarget.Anchor = AnchorStyles.None;
lblTarget.AutoSize = true;
lblTarget.Font = new Font("Segoe UI", 14F);
lblTarget.Location = new Point(35, 122);
lblTarget.Name = "lblTarget";
lblTarget.Size = new Size(92, 25);
lblTarget.TabIndex = 3;
lblTarget.Text = "目標地址:";
lblTarget.Click += lblTarget_Click;
//
// txtTarget
//
txtTarget.Anchor = AnchorStyles.None;
txtTarget.Font = new Font("Segoe UI", 14F);
txtTarget.Location = new Point(165, 119);
txtTarget.Name = "txtTarget";
txtTarget.Size = new Size(295, 32);
txtTarget.TabIndex = 4;
//
// lblOrigin
//
lblOrigin.Anchor = AnchorStyles.None;
lblOrigin.AutoSize = true;
lblOrigin.Font = new Font("Segoe UI", 14F);
lblOrigin.Location = new Point(16, 212);
lblOrigin.Name = "lblOrigin";
lblOrigin.Size = new Size(130, 25);
lblOrigin.TabIndex = 3;
lblOrigin.Text = "原始地址列表:";
lblOrigin.Click += lblOrigin_Click;
//
// txtOriginList
//
txtOriginList.Anchor = AnchorStyles.None;
txtOriginList.Font = new Font("Segoe UI", 12F);
txtOriginList.Location = new Point(165, 210);
txtOriginList.Name = "txtOriginList";
txtOriginList.Size = new Size(295, 29);
txtOriginList.TabIndex = 7;
//
// lblStatus
//
lblStatus.Anchor = AnchorStyles.Left;
lblStatus.AutoSize = true;
lblStatus.Font = new Font("Segoe UI", 14F);
lblStatus.Location = new Point(165, 302);
lblStatus.Name = "lblStatus";
lblStatus.Size = new Size(116, 25);
lblStatus.TabIndex = 8;
lblStatus.Text = "狀態: 已停止";
//
// txtExePath
//
txtExePath.Anchor = AnchorStyles.None;
txtExePath.BackColor = SystemColors.Window;
txtExePath.Font = new Font("Segoe UI", 14F);
txtExePath.Location = new Point(165, 29);
txtExePath.Name = "txtExePath";
txtExePath.ReadOnly = true;
txtExePath.Size = new Size(295, 32);
txtExePath.TabIndex = 1;
txtExePath.TextChanged += txtExePath_TextChanged;
//
// btnControl
//
btnControl.Anchor = AnchorStyles.None;
btnControl.Font = new Font("Segoe UI", 12F);
btnControl.Location = new Point(35, 287);
btnControl.Name = "btnControl";
btnControl.Size = new Size(92, 55);
btnControl.TabIndex = 7;
btnControl.Text = "開始監控";
btnControl.UseVisualStyleBackColor = true;
btnControl.Click += btnControl_Click;
//
// MainForm
//
AutoScaleDimensions = new SizeF(7F, 15F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(584, 361);
Controls.Add(tableLayoutPanel1);
Name = "MainForm";
StartPosition = FormStartPosition.CenterScreen;
Text = "高級流量管理工具";
tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel1.PerformLayout();
ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label lblExePath;
private System.Windows.Forms.TextBox txtExePath;
private System.Windows.Forms.Button btnBrowse;
private System.Windows.Forms.Label lblTarget;
private System.Windows.Forms.Label lblOrigin;
private System.Windows.Forms.TextBox txtTarget;
private System.Windows.Forms.Button btnControl;
private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.TextBox txtOriginList;
}
}