代码拉取完成,页面将自动刷新
namespace SignalrClientTest
{
partial class MainForm
{
/// <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()
{
this.btnLink = new System.Windows.Forms.Button();
this.btnSend = new System.Windows.Forms.Button();
this.logText = new System.Windows.Forms.RichTextBox();
this.btnDisLink = new System.Windows.Forms.Button();
this.btnClearLog1 = new System.Windows.Forms.Button();
this.txtInput = new System.Windows.Forms.TextBox();
this.connLogText = new System.Windows.Forms.RichTextBox();
this.btnClearLog2 = new System.Windows.Forms.Button();
this.rbLocal = new System.Windows.Forms.RadioButton();
this.rbServer = new System.Windows.Forms.RadioButton();
this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
this.txtMeachineKey = new System.Windows.Forms.TextBox();
this.txtMemberId = new System.Windows.Forms.TextBox();
this.txturl = new System.Windows.Forms.TextBox();
this.btnReLink = new System.Windows.Forms.Button();
this.rbText = new System.Windows.Forms.RadioButton();
this.SuspendLayout();
//
// btnLink
//
this.btnLink.Location = new System.Drawing.Point(37, 28);
this.btnLink.Name = "btnLink";
this.btnLink.Size = new System.Drawing.Size(75, 23);
this.btnLink.TabIndex = 0;
this.btnLink.Text = "连接";
this.btnLink.UseVisualStyleBackColor = true;
this.btnLink.Click += new System.EventHandler(this.btnLink_Click);
//
// btnSend
//
this.btnSend.Location = new System.Drawing.Point(12, 161);
this.btnSend.Name = "btnSend";
this.btnSend.Size = new System.Drawing.Size(75, 23);
this.btnSend.TabIndex = 1;
this.btnSend.Text = "发送消息";
this.btnSend.UseVisualStyleBackColor = true;
this.btnSend.Click += new System.EventHandler(this.btnSend_Click);
//
// logText
//
this.logText.Location = new System.Drawing.Point(-1, 190);
this.logText.Name = "logText";
this.logText.Size = new System.Drawing.Size(968, 278);
this.logText.TabIndex = 2;
this.logText.Text = "";
//
// btnDisLink
//
this.btnDisLink.Location = new System.Drawing.Point(130, 28);
this.btnDisLink.Name = "btnDisLink";
this.btnDisLink.Size = new System.Drawing.Size(75, 23);
this.btnDisLink.TabIndex = 3;
this.btnDisLink.Text = "断开连接";
this.btnDisLink.UseVisualStyleBackColor = true;
this.btnDisLink.Click += new System.EventHandler(this.btnDisLink_Click);
//
// btnClearLog1
//
this.btnClearLog1.Location = new System.Drawing.Point(739, 28);
this.btnClearLog1.Name = "btnClearLog1";
this.btnClearLog1.Size = new System.Drawing.Size(100, 23);
this.btnClearLog1.TabIndex = 4;
this.btnClearLog1.Text = "清除日志";
this.btnClearLog1.UseVisualStyleBackColor = true;
this.btnClearLog1.Click += new System.EventHandler(this.btnClearLog_Click);
//
// txtInput
//
this.txtInput.Location = new System.Drawing.Point(115, 163);
this.txtInput.Name = "txtInput";
this.txtInput.Size = new System.Drawing.Size(830, 21);
this.txtInput.TabIndex = 5;
//
// connLogText
//
this.connLogText.Location = new System.Drawing.Point(-1, 465);
this.connLogText.Name = "connLogText";
this.connLogText.Size = new System.Drawing.Size(968, 229);
this.connLogText.TabIndex = 6;
this.connLogText.Text = "";
//
// btnClearLog2
//
this.btnClearLog2.Location = new System.Drawing.Point(845, 28);
this.btnClearLog2.Name = "btnClearLog2";
this.btnClearLog2.Size = new System.Drawing.Size(100, 23);
this.btnClearLog2.TabIndex = 7;
this.btnClearLog2.Text = "清除连接日志";
this.btnClearLog2.UseVisualStyleBackColor = true;
this.btnClearLog2.Click += new System.EventHandler(this.btnClearConnLog_Click);
//
// rbLocal
//
this.rbLocal.AutoSize = true;
this.rbLocal.Location = new System.Drawing.Point(37, 6);
this.rbLocal.Name = "rbLocal";
this.rbLocal.Size = new System.Drawing.Size(107, 16);
this.rbLocal.TabIndex = 8;
this.rbLocal.Text = "localhost:1112";
this.rbLocal.UseVisualStyleBackColor = true;
this.rbLocal.CheckedChanged += new System.EventHandler(this.rb_CheckedChanged);
//
// rbServer
//
this.rbServer.AutoSize = true;
this.rbServer.Location = new System.Drawing.Point(150, 6);
this.rbServer.Name = "rbServer";
this.rbServer.Size = new System.Drawing.Size(125, 16);
this.rbServer.TabIndex = 9;
this.rbServer.Text = "api.easesales.com";
this.rbServer.UseVisualStyleBackColor = true;
this.rbServer.CheckedChanged += new System.EventHandler(this.rb_CheckedChanged);
//
// txtMeachineKey
//
this.txtMeachineKey.Location = new System.Drawing.Point(160, 67);
this.txtMeachineKey.Name = "txtMeachineKey";
this.txtMeachineKey.Size = new System.Drawing.Size(363, 21);
this.txtMeachineKey.TabIndex = 12;
//
// txtMemberId
//
this.txtMemberId.Location = new System.Drawing.Point(37, 67);
this.txtMemberId.Name = "txtMemberId";
this.txtMemberId.Size = new System.Drawing.Size(100, 21);
this.txtMemberId.TabIndex = 13;
//
// txturl
//
this.txturl.Location = new System.Drawing.Point(392, 5);
this.txturl.Name = "txturl";
this.txturl.Size = new System.Drawing.Size(511, 21);
this.txturl.TabIndex = 14;
this.txturl.TextChanged += new System.EventHandler(this.txturl_TextChanged);
//
// btnReLink
//
this.btnReLink.Location = new System.Drawing.Point(612, 28);
this.btnReLink.Name = "btnReLink";
this.btnReLink.Size = new System.Drawing.Size(100, 23);
this.btnReLink.TabIndex = 15;
this.btnReLink.Text = "重新连接";
this.btnReLink.UseVisualStyleBackColor = true;
this.btnReLink.Click += new System.EventHandler(this.btnReLink_Click);
//
// rbText
//
this.rbText.AutoSize = true;
this.rbText.Location = new System.Drawing.Point(281, 6);
this.rbText.Name = "rbText";
this.rbText.Size = new System.Drawing.Size(95, 16);
this.rbText.TabIndex = 16;
this.rbText.Text = "使用文本連接";
this.rbText.UseVisualStyleBackColor = true;
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(967, 691);
this.Controls.Add(this.rbText);
this.Controls.Add(this.btnReLink);
this.Controls.Add(this.txturl);
this.Controls.Add(this.txtMemberId);
this.Controls.Add(this.txtMeachineKey);
this.Controls.Add(this.rbServer);
this.Controls.Add(this.rbLocal);
this.Controls.Add(this.btnClearLog2);
this.Controls.Add(this.connLogText);
this.Controls.Add(this.txtInput);
this.Controls.Add(this.btnClearLog1);
this.Controls.Add(this.btnDisLink);
this.Controls.Add(this.logText);
this.Controls.Add(this.btnSend);
this.Controls.Add(this.btnLink);
this.Name = "MainForm";
this.Text = "Form1";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button btnLink;
private System.Windows.Forms.Button btnSend;
private System.Windows.Forms.RichTextBox logText;
private System.Windows.Forms.Button btnDisLink;
private System.Windows.Forms.Button btnClearLog1;
private System.Windows.Forms.TextBox txtInput;
private System.Windows.Forms.RichTextBox connLogText;
private System.Windows.Forms.Button btnClearLog2;
private System.Windows.Forms.RadioButton rbLocal;
private System.Windows.Forms.RadioButton rbServer;
private System.ComponentModel.BackgroundWorker backgroundWorker1;
private System.Windows.Forms.TextBox txtMeachineKey;
private System.Windows.Forms.TextBox txtMemberId;
private System.Windows.Forms.TextBox txturl;
private System.Windows.Forms.Button btnReLink;
private System.Windows.Forms.RadioButton rbText;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。