代码拉取完成,页面将自动刷新
同步操作将从 零零一/TestHttpPost 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
namespace TestHttpPost
{
partial class FrmTestHttpPost
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows 窗体设计器生成的代码
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmTestHttpPost));
this.pnlTool = new System.Windows.Forms.Panel();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.cboResEncoding = new System.Windows.Forms.ComboBox();
this.lblResEncoding = new System.Windows.Forms.Label();
this.lblPostData = new System.Windows.Forms.Label();
this.txtPostData = new System.Windows.Forms.TextBox();
this.btnGo = new System.Windows.Forms.Button();
this.txtUrl = new System.Windows.Forms.TextBox();
this.cboMode = new System.Windows.Forms.ComboBox();
this.txtLog = new System.Windows.Forms.TextBox();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripSplitButton1 = new System.Windows.Forms.ToolStripDropDownButton();
this.btnChange = new System.Windows.Forms.ToolStripMenuItem();
this.label2 = new System.Windows.Forms.Label();
this.txtHttpHeader = new System.Windows.Forms.TextBox();
this.pnlTool.SuspendLayout();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// pnlTool
//
this.pnlTool.Controls.Add(this.label2);
this.pnlTool.Controls.Add(this.txtHttpHeader);
this.pnlTool.Controls.Add(this.textBox1);
this.pnlTool.Controls.Add(this.label1);
this.pnlTool.Controls.Add(this.cboResEncoding);
this.pnlTool.Controls.Add(this.lblResEncoding);
this.pnlTool.Controls.Add(this.lblPostData);
this.pnlTool.Controls.Add(this.txtPostData);
this.pnlTool.Controls.Add(this.btnGo);
this.pnlTool.Controls.Add(this.txtUrl);
this.pnlTool.Controls.Add(this.cboMode);
this.pnlTool.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlTool.Location = new System.Drawing.Point(0, 0);
this.pnlTool.Name = "pnlTool";
this.pnlTool.Size = new System.Drawing.Size(840, 280);
this.pnlTool.TabIndex = 0;
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(86, 127);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(751, 21);
this.textBox1.TabIndex = 8;
this.textBox1.Text = "application/x-www-form-urlencoded";
this.textBox1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.textBox1_MouseDoubleClick);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(12, 130);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(77, 12);
this.label1.TabIndex = 7;
this.label1.Text = "ContentType:";
//
// cboResEncoding
//
this.cboResEncoding.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.cboResEncoding.DropDownHeight = 400;
this.cboResEncoding.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboResEncoding.FormattingEnabled = true;
this.cboResEncoding.IntegralHeight = false;
this.cboResEncoding.Location = new System.Drawing.Point(122, 257);
this.cboResEncoding.Name = "cboResEncoding";
this.cboResEncoding.Size = new System.Drawing.Size(718, 20);
this.cboResEncoding.TabIndex = 6;
this.cboResEncoding.SelectedIndexChanged += new System.EventHandler(this.cboResEncoding_SelectedIndexChanged);
//
// lblResEncoding
//
this.lblResEncoding.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.lblResEncoding.AutoSize = true;
this.lblResEncoding.Location = new System.Drawing.Point(3, 260);
this.lblResEncoding.Name = "lblResEncoding";
this.lblResEncoding.Size = new System.Drawing.Size(113, 12);
this.lblResEncoding.TabIndex = 5;
this.lblResEncoding.Text = "Response Encoding:";
//
// lblPostData
//
this.lblPostData.AutoSize = true;
this.lblPostData.Location = new System.Drawing.Point(3, 33);
this.lblPostData.Name = "lblPostData";
this.lblPostData.Size = new System.Drawing.Size(65, 12);
this.lblPostData.TabIndex = 4;
this.lblPostData.Text = "Post Data:";
//
// txtPostData
//
this.txtPostData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtPostData.Location = new System.Drawing.Point(86, 30);
this.txtPostData.Multiline = true;
this.txtPostData.Name = "txtPostData";
this.txtPostData.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtPostData.Size = new System.Drawing.Size(754, 91);
this.txtPostData.TabIndex = 3;
this.txtPostData.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.txtPostData_MouseDoubleClick);
//
// btnGo
//
this.btnGo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnGo.Location = new System.Drawing.Point(776, 0);
this.btnGo.Name = "btnGo";
this.btnGo.Size = new System.Drawing.Size(64, 23);
this.btnGo.TabIndex = 2;
this.btnGo.Text = "Go";
this.btnGo.UseVisualStyleBackColor = true;
this.btnGo.Click += new System.EventHandler(this.btnGo_Click);
//
// txtUrl
//
this.txtUrl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtUrl.Location = new System.Drawing.Point(86, 2);
this.txtUrl.Name = "txtUrl";
this.txtUrl.Size = new System.Drawing.Size(684, 21);
this.txtUrl.TabIndex = 1;
this.txtUrl.Text = "http://localhost/";
//
// cboMode
//
this.cboMode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboMode.FormattingEnabled = true;
this.cboMode.Items.AddRange(new object[] {
"GET",
"POST",
"PUT",
"DELETE"});
this.cboMode.Location = new System.Drawing.Point(3, 2);
this.cboMode.Name = "cboMode";
this.cboMode.Size = new System.Drawing.Size(80, 20);
this.cboMode.TabIndex = 0;
//
// txtLog
//
this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtLog.Location = new System.Drawing.Point(0, 280);
this.txtLog.Multiline = true;
this.txtLog.Name = "txtLog";
this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.txtLog.Size = new System.Drawing.Size(840, 198);
this.txtLog.TabIndex = 1;
this.txtLog.WordWrap = false;
this.txtLog.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.txtLog_MouseDoubleClick);
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripSplitButton1});
this.statusStrip1.Location = new System.Drawing.Point(0, 455);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(840, 23);
this.statusStrip1.TabIndex = 2;
this.statusStrip1.Text = "statusStrip1";
//
// toolStripSplitButton1
//
this.toolStripSplitButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.toolStripSplitButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.btnChange});
this.toolStripSplitButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripSplitButton1.Image")));
this.toolStripSplitButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
this.toolStripSplitButton1.Name = "toolStripSplitButton1";
this.toolStripSplitButton1.Size = new System.Drawing.Size(57, 21);
this.toolStripSplitButton1.Text = "小工具";
//
// btnChange
//
this.btnChange.Name = "btnChange";
this.btnChange.Size = new System.Drawing.Size(144, 22);
this.btnChange.Text = "Json转Form";
this.btnChange.Click += new System.EventHandler(this.btnChange_Click);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(3, 157);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(77, 12);
this.label2.TabIndex = 10;
this.label2.Text = "HTTP Header:";
//
// txtHttpHeader
//
this.txtHttpHeader.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtHttpHeader.Location = new System.Drawing.Point(86, 154);
this.txtHttpHeader.Multiline = true;
this.txtHttpHeader.Name = "txtHttpHeader";
this.txtHttpHeader.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtHttpHeader.Size = new System.Drawing.Size(754, 91);
this.txtHttpHeader.TabIndex = 9;
this.txtHttpHeader.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.txtHttpHeader_MouseDoubleClick);
//
// FrmTestHttpPost
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(840, 478);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.txtLog);
this.Controls.Add(this.pnlTool);
this.Name = "FrmTestHttpPost";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "TestHttpPost(测试Http的POST方法)";
this.Load += new System.EventHandler(this.FrmTestHttpPost_Load);
this.pnlTool.ResumeLayout(false);
this.pnlTool.PerformLayout();
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Panel pnlTool;
private System.Windows.Forms.ComboBox cboMode;
private System.Windows.Forms.TextBox txtUrl;
private System.Windows.Forms.Button btnGo;
private System.Windows.Forms.TextBox txtPostData;
private System.Windows.Forms.TextBox txtLog;
private System.Windows.Forms.Label lblPostData;
private System.Windows.Forms.Label lblResEncoding;
private System.Windows.Forms.ComboBox cboResEncoding;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.ToolStripDropDownButton toolStripSplitButton1;
private System.Windows.Forms.ToolStripMenuItem btnChange;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtHttpHeader;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。