📄 form1.designer.cs
字号:
namespace CSSMS
{
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();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.button_start = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.textBox_csca = new System.Windows.Forms.TextBox();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.button_clear = new System.Windows.Forms.Button();
this.button_stop = new System.Windows.Forms.Button();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.richTextBox_sd = new System.Windows.Forms.RichTextBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.richTextBox_rec = new System.Windows.Forms.RichTextBox();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.button_send = new System.Windows.Forms.Button();
this.textBox_phone = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
this.richTextBox_send = new System.Windows.Forms.RichTextBox();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox4.SuspendLayout();
this.SuspendLayout();
//
// button_start
//
this.button_start.Location = new System.Drawing.Point(525, 13);
this.button_start.Name = "button_start";
this.button_start.Size = new System.Drawing.Size(59, 23);
this.button_start.TabIndex = 0;
this.button_start.Text = "开始";
this.button_start.UseVisualStyleBackColor = true;
this.button_start.Click += new System.EventHandler(this.button_start_Click);
//
// groupBox1
//
this.groupBox1.Controls.Add(this.textBox_csca);
this.groupBox1.Controls.Add(this.comboBox2);
this.groupBox1.Controls.Add(this.comboBox1);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Controls.Add(this.button_clear);
this.groupBox1.Controls.Add(this.button_stop);
this.groupBox1.Controls.Add(this.button_start);
this.groupBox1.Location = new System.Drawing.Point(4, 1);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(754, 50);
this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "设置区";
//
// textBox_csca
//
this.textBox_csca.Location = new System.Drawing.Point(363, 18);
this.textBox_csca.Name = "textBox_csca";
this.textBox_csca.Size = new System.Drawing.Size(125, 21);
this.textBox_csca.TabIndex = 8;
//
// comboBox2
//
this.comboBox2.FormattingEnabled = true;
this.comboBox2.Items.AddRange(new object[] {
"9600",
"19200",
"57600",
"115200"});
this.comboBox2.Location = new System.Drawing.Point(186, 18);
this.comboBox2.Name = "comboBox2";
this.comboBox2.Size = new System.Drawing.Size(69, 20);
this.comboBox2.TabIndex = 7;
//
// comboBox1
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Items.AddRange(new object[] {
"COM1",
"COM2",
"COM3",
"COM4",
"COM5",
"COM6",
"COM7",
"COM8",
"COM9"});
this.comboBox1.Location = new System.Drawing.Point(58, 18);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(55, 20);
this.comboBox1.TabIndex = 6;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(274, 21);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(83, 12);
this.label3.TabIndex = 5;
this.label3.Text = "短信中心号码:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(132, 22);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(47, 12);
this.label2.TabIndex = 4;
this.label2.Text = "波特率:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(17, 22);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(35, 12);
this.label1.TabIndex = 3;
this.label1.Text = "串口:";
//
// button_clear
//
this.button_clear.Location = new System.Drawing.Point(672, 12);
this.button_clear.Name = "button_clear";
this.button_clear.Size = new System.Drawing.Size(59, 23);
this.button_clear.TabIndex = 2;
this.button_clear.Text = "清空";
this.button_clear.UseVisualStyleBackColor = true;
this.button_clear.Click += new System.EventHandler(this.button_clear_Click);
//
// button_stop
//
this.button_stop.Location = new System.Drawing.Point(599, 13);
this.button_stop.Name = "button_stop";
this.button_stop.Size = new System.Drawing.Size(59, 23);
this.button_stop.TabIndex = 1;
this.button_stop.Text = "停止";
this.button_stop.UseVisualStyleBackColor = true;
this.button_stop.Click += new System.EventHandler(this.button_stop_Click);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.richTextBox_sd);
this.groupBox2.Location = new System.Drawing.Point(4, 57);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(357, 384);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "状态显示区";
//
// richTextBox_sd
//
this.richTextBox_sd.ForeColor = System.Drawing.Color.Blue;
this.richTextBox_sd.Location = new System.Drawing.Point(6, 12);
this.richTextBox_sd.Name = "richTextBox_sd";
this.richTextBox_sd.Size = new System.Drawing.Size(345, 366);
this.richTextBox_sd.TabIndex = 0;
this.richTextBox_sd.Text = "";
//
// groupBox3
//
this.groupBox3.Controls.Add(this.richTextBox_rec);
this.groupBox3.Location = new System.Drawing.Point(367, 57);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(391, 226);
this.groupBox3.TabIndex = 3;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "接收区";
//
// richTextBox_rec
//
this.richTextBox_rec.ForeColor = System.Drawing.Color.ForestGreen;
this.richTextBox_rec.Location = new System.Drawing.Point(6, 12);
this.richTextBox_rec.Name = "richTextBox_rec";
this.richTextBox_rec.Size = new System.Drawing.Size(379, 208);
this.richTextBox_rec.TabIndex = 0;
this.richTextBox_rec.Text = "";
//
// groupBox4
//
this.groupBox4.Controls.Add(this.button_send);
this.groupBox4.Controls.Add(this.textBox_phone);
this.groupBox4.Controls.Add(this.label4);
this.groupBox4.Controls.Add(this.richTextBox_send);
this.groupBox4.Location = new System.Drawing.Point(367, 289);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(391, 152);
this.groupBox4.TabIndex = 4;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "发送区";
//
// button_send
//
this.button_send.Location = new System.Drawing.Point(309, 123);
this.button_send.Name = "button_send";
this.button_send.Size = new System.Drawing.Size(75, 23);
this.button_send.TabIndex = 3;
this.button_send.Text = "发送";
this.button_send.UseVisualStyleBackColor = true;
this.button_send.Click += new System.EventHandler(this.button_send_Click);
//
// textBox_phone
//
this.textBox_phone.Location = new System.Drawing.Point(75, 123);
this.textBox_phone.Name = "textBox_phone";
this.textBox_phone.Size = new System.Drawing.Size(128, 21);
this.textBox_phone.TabIndex = 2;
this.textBox_phone.Text = "13799273095";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(15, 127);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(53, 12);
this.label4.TabIndex = 1;
this.label4.Text = "对方号码";
//
// richTextBox_send
//
this.richTextBox_send.ForeColor = System.Drawing.Color.DarkOrange;
this.richTextBox_send.Location = new System.Drawing.Point(6, 11);
this.richTextBox_send.Name = "richTextBox_send";
this.richTextBox_send.Size = new System.Drawing.Size(379, 105);
this.richTextBox_send.TabIndex = 0;
this.richTextBox_send.Text = "Saro Modem 短信测试";
//
// timer1
//
this.timer1.Interval = 300;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(759, 449);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox4.ResumeLayout(false);
this.groupBox4.PerformLayout();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button button_start;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.TextBox textBox_csca;
private System.Windows.Forms.ComboBox comboBox2;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button button_clear;
private System.Windows.Forms.Button button_stop;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.RichTextBox richTextBox_sd;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.RichTextBox richTextBox_rec;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.Button button_send;
private System.Windows.Forms.TextBox textBox_phone;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.RichTextBox richTextBox_send;
private System.Windows.Forms.Timer timer1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -