📄 form1.designer.cs
字号:
namespace TestSMGP
{
partial class Form1
{
/// <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.components = new System.ComponentModel.Container();
this.button1 = new System.Windows.Forms.Button();
this.tbLog = new System.Windows.Forms.TextBox();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.cLog1 = new CLog(this.components);
this.tbMsgID = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.tbLinkID = new System.Windows.Forms.TextBox();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.smgp = new SMGP3_0.SMGPConnection(this.components);
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.tbMobile = new System.Windows.Forms.TextBox();
this.tbFeeCode = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.tbMsg = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(8, 4);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 0;
this.button1.Text = "Connect";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// tbLog
//
this.tbLog.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tbLog.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.tbLog.Location = new System.Drawing.Point(8, 88);
this.tbLog.Multiline = true;
this.tbLog.Name = "tbLog";
this.tbLog.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.tbLog.Size = new System.Drawing.Size(604, 300);
this.tbLog.TabIndex = 1;
//
// button2
//
this.button2.Enabled = false;
this.button2.Location = new System.Drawing.Point(96, 4);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 2;
this.button2.Text = "Login";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button3
//
this.button3.Enabled = false;
this.button3.Location = new System.Drawing.Point(180, 4);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(75, 23);
this.button3.TabIndex = 3;
this.button3.Text = "SendMessage";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// cLog1
//
this.cLog1.LogBox = this.tbLog;
this.cLog1.LogPath = ".\\";
this.cLog1.LogPrefix = "";
this.cLog1.LogSleep = 5;
this.cLog1.MaxLine = 500;
this.cLog1.ShowLog = true;
this.cLog1.WriteLog = false;
//
// tbMsgID
//
this.tbMsgID.Location = new System.Drawing.Point(48, 60);
this.tbMsgID.Name = "tbMsgID";
this.tbMsgID.Size = new System.Drawing.Size(164, 21);
this.tbMsgID.TabIndex = 4;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(4, 64);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(41, 12);
this.label1.TabIndex = 5;
this.label1.Text = "MsgID:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(220, 64);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(47, 12);
this.label2.TabIndex = 7;
this.label2.Text = "LinkID:";
//
// tbLinkID
//
this.tbLinkID.Location = new System.Drawing.Point(268, 60);
this.tbLinkID.Name = "tbLinkID";
this.tbLinkID.Size = new System.Drawing.Size(164, 21);
this.tbLinkID.TabIndex = 6;
//
// button4
//
this.button4.Location = new System.Drawing.Point(428, 4);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(88, 23);
this.button4.TabIndex = 8;
this.button4.Text = "MsgID Resp";
this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.button4_Click);
//
// button5
//
this.button5.Location = new System.Drawing.Point(520, 4);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(88, 23);
this.button5.TabIndex = 9;
this.button5.Text = "LinkID Resp";
this.button5.UseVisualStyleBackColor = true;
//
// smgp
//
this.smgp.ClientVersion = SMGP3_0.SMGPConnection.EVersion.SMGP1_3;
this.smgp.MaxTimeCount = 3;
this.smgp.Tag = null;
this.smgp.TimeOut = 60;
this.smgp.WindowSize = 16;
this.smgp.OnDeliver += new SMGP3_0.DeliverEventHandler(this.smgp_OnDeliver);
this.smgp.OnDisconnect += new SMGP3_0.ConnectStateEventHandler(this.smgp_OnDisconnect);
this.smgp.OnSend += new SMGP3_0.SendEventHandler(this.smgp_OnSend);
//
// button6
//
this.button6.Location = new System.Drawing.Point(336, 4);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(88, 23);
this.button6.TabIndex = 10;
this.button6.Text = "Resp";
this.button6.UseVisualStyleBackColor = true;
this.button6.Click += new System.EventHandler(this.button6_Click);
//
// button7
//
this.button7.Location = new System.Drawing.Point(272, 4);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(60, 23);
this.button7.TabIndex = 11;
this.button7.Text = "Free";
this.button7.UseVisualStyleBackColor = true;
this.button7.Click += new System.EventHandler(this.button7_Click);
//
// button8
//
this.button8.Location = new System.Drawing.Point(440, 60);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(75, 23);
this.button8.TabIndex = 12;
this.button8.Text = "Logout";
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.button8_Click);
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(8, 36);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(47, 12);
this.label3.TabIndex = 13;
this.label3.Text = "Mobile:";
//
// tbMobile
//
this.tbMobile.Location = new System.Drawing.Point(56, 32);
this.tbMobile.Name = "tbMobile";
this.tbMobile.Size = new System.Drawing.Size(116, 21);
this.tbMobile.TabIndex = 14;
//
// tbFeeCode
//
this.tbFeeCode.Location = new System.Drawing.Point(232, 32);
this.tbFeeCode.Name = "tbFeeCode";
this.tbFeeCode.Size = new System.Drawing.Size(40, 21);
this.tbFeeCode.TabIndex = 16;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(180, 36);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(53, 12);
this.label4.TabIndex = 15;
this.label4.Text = "FeeCode:";
//
// tbMsg
//
this.tbMsg.Location = new System.Drawing.Point(312, 32);
this.tbMsg.Name = "tbMsg";
this.tbMsg.Size = new System.Drawing.Size(296, 21);
this.tbMsg.TabIndex = 18;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(280, 36);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(29, 12);
this.label5.TabIndex = 17;
this.label5.Text = "Msg:";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(615, 390);
this.Controls.Add(this.tbMsg);
this.Controls.Add(this.label5);
this.Controls.Add(this.tbFeeCode);
this.Controls.Add(this.label4);
this.Controls.Add(this.tbMobile);
this.Controls.Add(this.label3);
this.Controls.Add(this.button8);
this.Controls.Add(this.button7);
this.Controls.Add(this.button6);
this.Controls.Add(this.button5);
this.Controls.Add(this.button4);
this.Controls.Add(this.label2);
this.Controls.Add(this.tbLinkID);
this.Controls.Add(this.label1);
this.Controls.Add(this.tbMsgID);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.tbLog);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox tbLog;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private CLog cLog1;
private System.Windows.Forms.TextBox tbMsgID;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox tbLinkID;
private System.Windows.Forms.Button button4;
private System.Windows.Forms.Button button5;
private SMGP3_0.SMGPConnection smgp;
private System.Windows.Forms.Button button6;
private System.Windows.Forms.Button button7;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox tbMobile;
private System.Windows.Forms.TextBox tbFeeCode;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox tbMsg;
private System.Windows.Forms.Label label5;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -