📄 form1.designer.cs
字号:
namespace VMSMSTool
{
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.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.comListcombox = new System.Windows.Forms.ComboBox();
this.bitratecomboBox = new System.Windows.Forms.ComboBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.serialPort = new System.IO.Ports.SerialPort(this.components);
this.InitButton = new System.Windows.Forms.Button();
this.label7 = new System.Windows.Forms.Label();
this.listView1 = new System.Windows.Forms.ListView();
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(32, 291);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(59, 12);
this.label1.TabIndex = 0;
this.label1.Text = "手机号码:";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(32, 23);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(71, 12);
this.label2.TabIndex = 0;
this.label2.Text = "连接时使用:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(32, 230);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(71, 12);
this.label3.TabIndex = 0;
this.label3.Text = "国家(地区):";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(32, 264);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(35, 12);
this.label4.TabIndex = 0;
this.label4.Text = "区号:";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(32, 57);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(47, 12);
this.label5.TabIndex = 0;
this.label5.Text = "波特率:";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(32, 320);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(59, 12);
this.label6.TabIndex = 0;
this.label6.Text = "短信内容:";
//
// comboBox1
//
this.comboBox1.Enabled = false;
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(121, 227);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(144, 20);
this.comboBox1.TabIndex = 1;
this.comboBox1.Text = "中华人民共和国 (86)";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(121, 260);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(69, 21);
this.textBox1.TabIndex = 2;
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(121, 287);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(144, 21);
this.textBox2.TabIndex = 2;
//
// comListcombox
//
this.comListcombox.FormattingEnabled = true;
this.comListcombox.Items.AddRange(new object[] {
"COM1",
"COM2",
"COM3",
"COM4"});
this.comListcombox.Location = new System.Drawing.Point(121, 19);
this.comListcombox.Name = "comListcombox";
this.comListcombox.Size = new System.Drawing.Size(144, 20);
this.comListcombox.TabIndex = 1;
this.comListcombox.Text = "COM1";
//
// bitratecomboBox
//
this.bitratecomboBox.FormattingEnabled = true;
this.bitratecomboBox.Items.AddRange(new object[] {
"4800",
"9600",
"19200",
"38400",
"57600",
"115200"});
this.bitratecomboBox.Location = new System.Drawing.Point(121, 52);
this.bitratecomboBox.Name = "bitratecomboBox";
this.bitratecomboBox.Size = new System.Drawing.Size(144, 20);
this.bitratecomboBox.TabIndex = 1;
this.bitratecomboBox.Text = "115200";
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(34, 342);
this.textBox3.Multiline = true;
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(230, 85);
this.textBox3.TabIndex = 3;
//
// button1
//
this.button1.Location = new System.Drawing.Point(100, 442);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 4;
this.button1.Text = "发送短信";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// button2
//
this.button2.Location = new System.Drawing.Point(190, 442);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 4;
this.button2.Text = "退出";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// serialPort
//
this.serialPort.BaudRate = 115200;
this.serialPort.PortName = "COM2";
//
// InitButton
//
this.InitButton.Location = new System.Drawing.Point(189, 87);
this.InitButton.Name = "InitButton";
this.InitButton.Size = new System.Drawing.Size(75, 23);
this.InitButton.TabIndex = 7;
this.InitButton.Text = "初始化串口";
this.InitButton.UseVisualStyleBackColor = true;
this.InitButton.Click += new System.EventHandler(this.InitButton_Click);
//
// label7
//
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(32, 92);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(53, 12);
this.label7.TabIndex = 9;
this.label7.Text = "状态信息";
//
// listView1
//
this.listView1.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2});
this.listView1.Location = new System.Drawing.Point(34, 119);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(229, 93);
this.listView1.TabIndex = 10;
this.listView1.UseCompatibleStateImageBehavior = false;
this.listView1.View = System.Windows.Forms.View.Details;
//
// columnHeader1
//
this.columnHeader1.Text = "事件名称";
this.columnHeader1.Width = 147;
//
// columnHeader2
//
this.columnHeader2.Text = "时间";
this.columnHeader2.Width = 78;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 476);
this.Controls.Add(this.listView1);
this.Controls.Add(this.label7);
this.Controls.Add(this.InitButton);
this.Controls.Add(this.button2);
this.Controls.Add(this.button1);
this.Controls.Add(this.textBox3);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.bitratecomboBox);
this.Controls.Add(this.comListcombox);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.label5);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label6);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.MaximizeBox = false;
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.ComboBox comListcombox;
private System.Windows.Forms.ComboBox bitratecomboBox;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button button2;
private System.IO.Ports.SerialPort serialPort;
private System.Windows.Forms.Button InitButton;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -