You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ProxyForm.Designer.cs 16 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. namespace Shadowsocks.View
  2. {
  3. partial class ProxyForm
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.MyCancelButton = new System.Windows.Forms.Button();
  29. this.OKButton = new System.Windows.Forms.Button();
  30. this.UseProxyCheckBox = new System.Windows.Forms.CheckBox();
  31. this.ProxyAddrLabel = new System.Windows.Forms.Label();
  32. this.ProxyServerTextBox = new System.Windows.Forms.TextBox();
  33. this.ProxyPortLabel = new System.Windows.Forms.Label();
  34. this.ProxyPortTextBox = new System.Windows.Forms.TextBox();
  35. this.ProxyTypeLabel = new System.Windows.Forms.Label();
  36. this.ProxyTypeComboBox = new System.Windows.Forms.ComboBox();
  37. this.ProxyTimeoutTextBox = new System.Windows.Forms.TextBox();
  38. this.ProxyTimeoutLabel = new System.Windows.Forms.Label();
  39. this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
  40. this.ProxyNotificationLabel = new System.Windows.Forms.Label();
  41. this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
  42. this.tableLayoutPanel1.SuspendLayout();
  43. this.flowLayoutPanel1.SuspendLayout();
  44. this.SuspendLayout();
  45. //
  46. // MyCancelButton
  47. //
  48. this.MyCancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
  49. this.MyCancelButton.Location = new System.Drawing.Point(84, 3);
  50. this.MyCancelButton.Margin = new System.Windows.Forms.Padding(3, 3, 0, 0);
  51. this.MyCancelButton.Name = "MyCancelButton";
  52. this.MyCancelButton.Size = new System.Drawing.Size(75, 23);
  53. this.MyCancelButton.TabIndex = 13;
  54. this.MyCancelButton.Text = "Cancel";
  55. this.MyCancelButton.UseVisualStyleBackColor = true;
  56. this.MyCancelButton.Click += new System.EventHandler(this.CancelButton_Click);
  57. //
  58. // OKButton
  59. //
  60. this.OKButton.DialogResult = System.Windows.Forms.DialogResult.OK;
  61. this.OKButton.Location = new System.Drawing.Point(3, 3);
  62. this.OKButton.Margin = new System.Windows.Forms.Padding(3, 3, 3, 0);
  63. this.OKButton.Name = "OKButton";
  64. this.OKButton.Size = new System.Drawing.Size(75, 23);
  65. this.OKButton.TabIndex = 12;
  66. this.OKButton.Text = "OK";
  67. this.OKButton.UseVisualStyleBackColor = true;
  68. this.OKButton.Click += new System.EventHandler(this.OKButton_Click);
  69. //
  70. // UseProxyCheckBox
  71. //
  72. this.UseProxyCheckBox.AutoSize = true;
  73. this.tableLayoutPanel1.SetColumnSpan(this.UseProxyCheckBox, 2);
  74. this.UseProxyCheckBox.Location = new System.Drawing.Point(3, 3);
  75. this.UseProxyCheckBox.Name = "UseProxyCheckBox";
  76. this.UseProxyCheckBox.Size = new System.Drawing.Size(78, 16);
  77. this.UseProxyCheckBox.TabIndex = 0;
  78. this.UseProxyCheckBox.Text = "Use Proxy";
  79. this.UseProxyCheckBox.UseVisualStyleBackColor = true;
  80. this.UseProxyCheckBox.CheckedChanged += new System.EventHandler(this.UseProxyCheckBox_CheckedChanged);
  81. //
  82. // ProxyAddrLabel
  83. //
  84. this.ProxyAddrLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  85. this.ProxyAddrLabel.AutoSize = true;
  86. this.ProxyAddrLabel.Location = new System.Drawing.Point(3, 71);
  87. this.ProxyAddrLabel.Name = "ProxyAddrLabel";
  88. this.ProxyAddrLabel.Size = new System.Drawing.Size(65, 12);
  89. this.ProxyAddrLabel.TabIndex = 0;
  90. this.ProxyAddrLabel.Text = "Proxy Addr";
  91. //
  92. // ProxyServerTextBox
  93. //
  94. this.ProxyServerTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  95. this.ProxyServerTextBox.Location = new System.Drawing.Point(74, 67);
  96. this.ProxyServerTextBox.MaxLength = 512;
  97. this.ProxyServerTextBox.Name = "ProxyServerTextBox";
  98. this.ProxyServerTextBox.Size = new System.Drawing.Size(142, 21);
  99. this.ProxyServerTextBox.TabIndex = 1;
  100. this.ProxyServerTextBox.WordWrap = false;
  101. //
  102. // ProxyPortLabel
  103. //
  104. this.ProxyPortLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  105. this.ProxyPortLabel.AutoSize = true;
  106. this.ProxyPortLabel.Location = new System.Drawing.Point(222, 71);
  107. this.ProxyPortLabel.Name = "ProxyPortLabel";
  108. this.ProxyPortLabel.Size = new System.Drawing.Size(77, 12);
  109. this.ProxyPortLabel.TabIndex = 2;
  110. this.ProxyPortLabel.Text = "Proxy Port";
  111. //
  112. // ProxyPortTextBox
  113. //
  114. this.ProxyPortTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  115. this.ProxyPortTextBox.Location = new System.Drawing.Point(305, 67);
  116. this.ProxyPortTextBox.MaxLength = 10;
  117. this.ProxyPortTextBox.Name = "ProxyPortTextBox";
  118. this.ProxyPortTextBox.Size = new System.Drawing.Size(58, 21);
  119. this.ProxyPortTextBox.TabIndex = 3;
  120. this.ProxyPortTextBox.WordWrap = false;
  121. //
  122. // ProxyTypeLabel
  123. //
  124. this.ProxyTypeLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  125. this.ProxyTypeLabel.AutoSize = true;
  126. this.ProxyTypeLabel.Location = new System.Drawing.Point(3, 40);
  127. this.ProxyTypeLabel.Name = "ProxyTypeLabel";
  128. this.ProxyTypeLabel.Size = new System.Drawing.Size(65, 12);
  129. this.ProxyTypeLabel.TabIndex = 1;
  130. this.ProxyTypeLabel.Text = "Proxy Type";
  131. //
  132. // ProxyTypeComboBox
  133. //
  134. this.ProxyTypeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  135. this.ProxyTypeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  136. this.ProxyTypeComboBox.FormattingEnabled = true;
  137. this.ProxyTypeComboBox.Items.AddRange(new object[] {
  138. "SOCKS5",
  139. "HTTP"});
  140. this.ProxyTypeComboBox.Location = new System.Drawing.Point(74, 36);
  141. this.ProxyTypeComboBox.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5);
  142. this.ProxyTypeComboBox.Name = "ProxyTypeComboBox";
  143. this.ProxyTypeComboBox.Size = new System.Drawing.Size(142, 20);
  144. this.ProxyTypeComboBox.TabIndex = 2;
  145. //
  146. // ProxyTimeoutTextBox
  147. //
  148. this.ProxyTimeoutTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  149. this.ProxyTimeoutTextBox.Location = new System.Drawing.Point(305, 36);
  150. this.ProxyTimeoutTextBox.Name = "ProxyTimeoutTextBox";
  151. this.ProxyTimeoutTextBox.Size = new System.Drawing.Size(58, 21);
  152. this.ProxyTimeoutTextBox.TabIndex = 3;
  153. //
  154. // ProxyTimeoutLabel
  155. //
  156. this.ProxyTimeoutLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  157. this.ProxyTimeoutLabel.AutoSize = true;
  158. this.ProxyTimeoutLabel.Location = new System.Drawing.Point(222, 40);
  159. this.ProxyTimeoutLabel.Name = "ProxyTimeoutLabel";
  160. this.ProxyTimeoutLabel.Size = new System.Drawing.Size(77, 12);
  161. this.ProxyTimeoutLabel.TabIndex = 4;
  162. this.ProxyTimeoutLabel.Text = "Timeout(Sec)";
  163. //
  164. // tableLayoutPanel1
  165. //
  166. this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
  167. this.tableLayoutPanel1.ColumnCount = 4;
  168. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
  169. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 70F));
  170. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
  171. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
  172. this.tableLayoutPanel1.Controls.Add(this.UseProxyCheckBox, 0, 0);
  173. this.tableLayoutPanel1.Controls.Add(this.ProxyTypeLabel, 0, 1);
  174. this.tableLayoutPanel1.Controls.Add(this.ProxyPortTextBox, 3, 2);
  175. this.tableLayoutPanel1.Controls.Add(this.ProxyTypeComboBox, 1, 1);
  176. this.tableLayoutPanel1.Controls.Add(this.ProxyTimeoutLabel, 2, 1);
  177. this.tableLayoutPanel1.Controls.Add(this.ProxyPortLabel, 2, 2);
  178. this.tableLayoutPanel1.Controls.Add(this.ProxyTimeoutTextBox, 3, 1);
  179. this.tableLayoutPanel1.Controls.Add(this.ProxyServerTextBox, 1, 2);
  180. this.tableLayoutPanel1.Controls.Add(this.ProxyAddrLabel, 0, 2);
  181. this.tableLayoutPanel1.Controls.Add(this.ProxyNotificationLabel, 0, 3);
  182. this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 4);
  183. this.tableLayoutPanel1.Location = new System.Drawing.Point(15, 15);
  184. this.tableLayoutPanel1.Name = "tableLayoutPanel1";
  185. this.tableLayoutPanel1.RowCount = 5;
  186. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 21.95122F));
  187. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 21.95122F));
  188. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 21.95122F));
  189. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 34.14634F));
  190. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
  191. this.tableLayoutPanel1.Size = new System.Drawing.Size(366, 177);
  192. this.tableLayoutPanel1.TabIndex = 14;
  193. //
  194. // ProxyNotificationLabel
  195. //
  196. this.ProxyNotificationLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
  197. this.ProxyNotificationLabel.AutoSize = true;
  198. this.tableLayoutPanel1.SetColumnSpan(this.ProxyNotificationLabel, 4);
  199. this.ProxyNotificationLabel.ForeColor = System.Drawing.Color.Red;
  200. this.ProxyNotificationLabel.Location = new System.Drawing.Point(3, 111);
  201. this.ProxyNotificationLabel.Name = "ProxyNotificationLabel";
  202. this.ProxyNotificationLabel.Size = new System.Drawing.Size(360, 12);
  203. this.ProxyNotificationLabel.TabIndex = 5;
  204. this.ProxyNotificationLabel.Text = "If server has a plugin, proxy will not be used";
  205. //
  206. // flowLayoutPanel1
  207. //
  208. this.flowLayoutPanel1.AutoSize = true;
  209. this.flowLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
  210. this.tableLayoutPanel1.SetColumnSpan(this.flowLayoutPanel1, 4);
  211. this.flowLayoutPanel1.Controls.Add(this.MyCancelButton);
  212. this.flowLayoutPanel1.Controls.Add(this.OKButton);
  213. this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Right;
  214. this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
  215. this.flowLayoutPanel1.Location = new System.Drawing.Point(204, 145);
  216. this.flowLayoutPanel1.Name = "flowLayoutPanel1";
  217. this.flowLayoutPanel1.Size = new System.Drawing.Size(159, 29);
  218. this.flowLayoutPanel1.TabIndex = 6;
  219. //
  220. // ProxyForm
  221. //
  222. this.AcceptButton = this.OKButton;
  223. this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
  224. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
  225. this.AutoSize = true;
  226. this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
  227. this.CancelButton = this.MyCancelButton;
  228. this.ClientSize = new System.Drawing.Size(448, 231);
  229. this.Controls.Add(this.tableLayoutPanel1);
  230. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
  231. this.MaximizeBox = false;
  232. this.MinimizeBox = false;
  233. this.Name = "ProxyForm";
  234. this.Padding = new System.Windows.Forms.Padding(12, 12, 12, 9);
  235. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  236. this.Text = "Edit Proxy";
  237. this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.ProxyForm_FormClosed);
  238. this.tableLayoutPanel1.ResumeLayout(false);
  239. this.tableLayoutPanel1.PerformLayout();
  240. this.flowLayoutPanel1.ResumeLayout(false);
  241. this.ResumeLayout(false);
  242. }
  243. #endregion
  244. private System.Windows.Forms.CheckBox UseProxyCheckBox;
  245. private System.Windows.Forms.Label ProxyAddrLabel;
  246. private System.Windows.Forms.TextBox ProxyServerTextBox;
  247. private System.Windows.Forms.Label ProxyPortLabel;
  248. private System.Windows.Forms.TextBox ProxyPortTextBox;
  249. private System.Windows.Forms.Button MyCancelButton;
  250. private System.Windows.Forms.Button OKButton;
  251. private System.Windows.Forms.Label ProxyTypeLabel;
  252. private System.Windows.Forms.ComboBox ProxyTypeComboBox;
  253. private System.Windows.Forms.TextBox ProxyTimeoutTextBox;
  254. private System.Windows.Forms.Label ProxyTimeoutLabel;
  255. private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
  256. private System.Windows.Forms.Label ProxyNotificationLabel;
  257. private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
  258. }
  259. }