📄 form1.designer.cs
字号:
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(142, 27);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(65, 12);
this.label2.TabIndex = 0;
this.label2.Text = "第几路CAN:";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(13, 27);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(71, 12);
this.label1.TabIndex = 0;
this.label1.Text = "设备索引号:";
//
// button_StartCAN
//
this.button_StartCAN.Location = new System.Drawing.Point(452, 48);
this.button_StartCAN.Name = "button_StartCAN";
this.button_StartCAN.Size = new System.Drawing.Size(75, 23);
this.button_StartCAN.TabIndex = 5;
this.button_StartCAN.Text = "启动CAN";
this.button_StartCAN.UseVisualStyleBackColor = true;
this.button_StartCAN.Click += new System.EventHandler(this.button_StartCAN_Click);
//
// button_StopCAN
//
this.button_StopCAN.Location = new System.Drawing.Point(452, 95);
this.button_StopCAN.Name = "button_StopCAN";
this.button_StopCAN.Size = new System.Drawing.Size(75, 23);
this.button_StopCAN.TabIndex = 5;
this.button_StopCAN.Text = "复位CAN";
this.button_StopCAN.UseVisualStyleBackColor = true;
this.button_StopCAN.Click += new System.EventHandler(this.button_StopCAN_Click);
//
// groupBox3
//
this.groupBox3.Controls.Add(this.comboBox_FrameFormat);
this.groupBox3.Controls.Add(this.comboBox_FrameType);
this.groupBox3.Controls.Add(this.button_Send);
this.groupBox3.Controls.Add(this.label11);
this.groupBox3.Controls.Add(this.label10);
this.groupBox3.Controls.Add(this.comboBox_SendType);
this.groupBox3.Controls.Add(this.label9);
this.groupBox3.Controls.Add(this.textBox_Data);
this.groupBox3.Controls.Add(this.label13);
this.groupBox3.Controls.Add(this.textBox_ID);
this.groupBox3.Controls.Add(this.label12);
this.groupBox3.Location = new System.Drawing.Point(12, 156);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(530, 81);
this.groupBox3.TabIndex = 6;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "发送数据帧";
//
// comboBox_FrameFormat
//
this.comboBox_FrameFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox_FrameFormat.FormattingEnabled = true;
this.comboBox_FrameFormat.Items.AddRange(new object[] {
"数据帧",
"远程帧"});
this.comboBox_FrameFormat.Location = new System.Drawing.Point(324, 19);
this.comboBox_FrameFormat.Name = "comboBox_FrameFormat";
this.comboBox_FrameFormat.Size = new System.Drawing.Size(70, 20);
this.comboBox_FrameFormat.TabIndex = 1;
//
// comboBox_FrameType
//
this.comboBox_FrameType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox_FrameType.FormattingEnabled = true;
this.comboBox_FrameType.Items.AddRange(new object[] {
"标准帧",
"扩展帧"});
this.comboBox_FrameType.Location = new System.Drawing.Point(197, 20);
this.comboBox_FrameType.Name = "comboBox_FrameType";
this.comboBox_FrameType.Size = new System.Drawing.Size(70, 20);
this.comboBox_FrameType.TabIndex = 1;
//
// button_Send
//
this.button_Send.Location = new System.Drawing.Point(325, 47);
this.button_Send.Name = "button_Send";
this.button_Send.Size = new System.Drawing.Size(75, 23);
this.button_Send.TabIndex = 5;
this.button_Send.Text = "发送";
this.button_Send.UseVisualStyleBackColor = true;
this.button_Send.Click += new System.EventHandler(this.button_Send_Click);
//
// label11
//
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(275, 23);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(47, 12);
this.label11.TabIndex = 0;
this.label11.Text = "帧格式:";
//
// label10
//
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(148, 24);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(47, 12);
this.label10.TabIndex = 0;
this.label10.Text = "帧类型:";
//
// comboBox_SendType
//
this.comboBox_SendType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboBox_SendType.FormattingEnabled = true;
this.comboBox_SendType.Items.AddRange(new object[] {
"正常发送",
"单次正常发送",
"自发自收",
"单次自发自收"});
this.comboBox_SendType.Location = new System.Drawing.Point(71, 20);
this.comboBox_SendType.Name = "comboBox_SendType";
this.comboBox_SendType.Size = new System.Drawing.Size(70, 20);
this.comboBox_SendType.TabIndex = 1;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(10, 24);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(59, 12);
this.label9.TabIndex = 0;
this.label9.Text = "发送格式:";
//
// textBox_Data
//
this.textBox_Data.Location = new System.Drawing.Point(56, 48);
this.textBox_Data.Name = "textBox_Data";
this.textBox_Data.Size = new System.Drawing.Size(251, 21);
this.textBox_Data.TabIndex = 1;
//
// label13
//
this.label13.AutoSize = true;
this.label13.Location = new System.Drawing.Point(19, 54);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(35, 12);
this.label13.TabIndex = 0;
this.label13.Text = "数据:";
//
// textBox_ID
//
this.textBox_ID.Location = new System.Drawing.Point(450, 18);
this.textBox_ID.Name = "textBox_ID";
this.textBox_ID.Size = new System.Drawing.Size(70, 21);
this.textBox_ID.TabIndex = 1;
//
// label12
//
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(400, 24);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(47, 12);
this.label12.TabIndex = 0;
this.label12.Text = "帧ID:0x";
//
// groupBox4
//
this.groupBox4.Controls.Add(this.listBox_Info);
this.groupBox4.Location = new System.Drawing.Point(12, 243);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(530, 206);
this.groupBox4.TabIndex = 7;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "信息";
//
// listBox_Info
//
this.listBox_Info.FormattingEnabled = true;
this.listBox_Info.ItemHeight = 12;
this.listBox_Info.Location = new System.Drawing.Point(10, 20);
this.listBox_Info.Name = "listBox_Info";
this.listBox_Info.Size = new System.Drawing.Size(510, 172);
this.listBox_Info.TabIndex = 0;
//
// timer_rec
//
this.timer_rec.Tick += new System.EventHandler(this.timer_rec_Tick);
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(556, 461);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.groupBox3);
this.Controls.Add(this.button_StopCAN);
this.Controls.Add(this.button_StartCAN);
this.Controls.Add(this.groupBox1);
this.Name = "Form1";
this.Text = "Form1";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Form1_FormClosed);
this.Load += new System.EventHandler(this.Form1_Load);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.groupBox3.ResumeLayout(false);
this.groupBox3.PerformLayout();
this.groupBox4.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Button buttonConnect;
private System.Windows.Forms.ComboBox comboBox_CANIndex;
private System.Windows.Forms.ComboBox comboBox_DevIndex;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox textBox_Time1;
private System.Windows.Forms.TextBox textBox_AccMask;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBox_Time0;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox textBox_AccCode;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.ComboBox comboBox_Mode;
private System.Windows.Forms.ComboBox comboBox_Filter;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Button button_StartCAN;
private System.Windows.Forms.Button button_StopCAN;
private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.ComboBox comboBox_FrameFormat;
private System.Windows.Forms.ComboBox comboBox_FrameType;
private System.Windows.Forms.Button button_Send;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.ComboBox comboBox_SendType;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox textBox_Data;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox textBox_ID;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.ListBox listBox_Info;
private System.Windows.Forms.Timer timer_rec;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -