📄 form1.designer.cs
字号:
namespace CRC_16
{
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.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(38, 28);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(125, 12);
this.label1.TabIndex = 0;
this.label1.Text = "输入数值(十六进制)";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(168, 24);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(318, 21);
this.textBox1.TabIndex = 1;
this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.textBox1_KeyPress);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(38, 62);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(47, 12);
this.label2.TabIndex = 2;
this.label2.Text = "CRC结果";
//
// label3
//
this.label3.Location = new System.Drawing.Point(170, 56);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(155, 25);
this.label3.TabIndex = 3;
//
// button1
//
this.button1.Location = new System.Drawing.Point(12, 122);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(90, 24);
this.button1.TabIndex = 4;
this.button1.Text = "计算";
this.button1.UseVisualStyleBackColor = true;
this.button1.Visible = false;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(41, 93);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(53, 12);
this.label4.TabIndex = 5;
this.label4.Text = "数据长度";
this.label4.Visible = false;
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(169, 90);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(110, 21);
this.textBox2.TabIndex = 6;
this.textBox2.Visible = false;
//
// button2
//
this.button2.Location = new System.Drawing.Point(123, 119);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(101, 27);
this.button2.TabIndex = 7;
this.button2.Text = "移位法";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// button3
//
this.button3.Location = new System.Drawing.Point(297, 119);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(101, 27);
this.button3.TabIndex = 8;
this.button3.Text = "查表法";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(523, 162);
this.Controls.Add(this.button3);
this.Controls.Add(this.button2);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.label4);
this.Controls.Add(this.button1);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label1);
this.Name = "Form1";
this.Text = "Modbus CRC-16计算器";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -