⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form.cs

📁 CSharp直接控制usb-232的范例
💻 CS
📖 第 1 页 / 共 3 页
字号:
			this.tbx_Read.Location = new System.Drawing.Point(92, 120);
			this.tbx_Read.Name = "tbx_Read";
			this.tbx_Read.Size = new System.Drawing.Size(172, 20);
			this.tbx_Read.TabIndex = 10;
			this.tbx_Read.Text = "";
			// 
			// tbx_Status
			// 
			this.tbx_Status.Location = new System.Drawing.Point(200, 8);
			this.tbx_Status.Name = "tbx_Status";
			this.tbx_Status.Size = new System.Drawing.Size(64, 20);
			this.tbx_Status.TabIndex = 11;
			this.tbx_Status.Text = "";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(148, 12);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(44, 20);
			this.label1.TabIndex = 12;
			this.label1.Text = "Status";
			// 
			// btn_GetStatus
			// 
			this.btn_GetStatus.Enabled = false;
			this.btn_GetStatus.Location = new System.Drawing.Point(8, 176);
			this.btn_GetStatus.Name = "btn_GetStatus";
			this.btn_GetStatus.Size = new System.Drawing.Size(75, 20);
			this.btn_GetStatus.TabIndex = 13;
			this.btn_GetStatus.Text = "GetStatus";
			this.btn_GetStatus.Click += new System.EventHandler(this.btn_GetStatus_Click);
			// 
			// tbx_RXSize
			// 
			this.tbx_RXSize.Location = new System.Drawing.Point(92, 176);
			this.tbx_RXSize.Name = "tbx_RXSize";
			this.tbx_RXSize.Size = new System.Drawing.Size(44, 20);
			this.tbx_RXSize.TabIndex = 14;
			this.tbx_RXSize.Text = "";
			// 
			// tbx_TXSize
			// 
			this.tbx_TXSize.Location = new System.Drawing.Point(144, 176);
			this.tbx_TXSize.Name = "tbx_TXSize";
			this.tbx_TXSize.Size = new System.Drawing.Size(44, 20);
			this.tbx_TXSize.TabIndex = 15;
			this.tbx_TXSize.Text = "";
			// 
			// btn_ResetDevice
			// 
			this.btn_ResetDevice.Enabled = false;
			this.btn_ResetDevice.Location = new System.Drawing.Point(8, 204);
			this.btn_ResetDevice.Name = "btn_ResetDevice";
			this.btn_ResetDevice.TabIndex = 16;
			this.btn_ResetDevice.Text = "ResetDev";
			// 
			// btn_EERead
			// 
			this.btn_EERead.Enabled = false;
			this.btn_EERead.Location = new System.Drawing.Point(8, 236);
			this.btn_EERead.Name = "btn_EERead";
			this.btn_EERead.TabIndex = 17;
			this.btn_EERead.Text = "EERead";
			this.btn_EERead.Click += new System.EventHandler(this.btn_EERead_Click);
			// 
			// tbx_VID
			// 
			this.tbx_VID.Location = new System.Drawing.Point(144, 236);
			this.tbx_VID.Name = "tbx_VID";
			this.tbx_VID.TabIndex = 18;
			this.tbx_VID.Text = "";
			// 
			// tbx_PID
			// 
			this.tbx_PID.Location = new System.Drawing.Point(144, 260);
			this.tbx_PID.Name = "tbx_PID";
			this.tbx_PID.TabIndex = 19;
			this.tbx_PID.Text = "";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(92, 240);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(40, 16);
			this.label2.TabIndex = 20;
			this.label2.Text = "VID";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(92, 264);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(40, 16);
			this.label3.TabIndex = 21;
			this.label3.Text = "PID";
			// 
			// btn_EEWrite
			// 
			this.btn_EEWrite.Enabled = false;
			this.btn_EEWrite.Location = new System.Drawing.Point(8, 264);
			this.btn_EEWrite.Name = "btn_EEWrite";
			this.btn_EEWrite.TabIndex = 22;
			this.btn_EEWrite.Text = "EEWrite";
			this.btn_EEWrite.Click += new System.EventHandler(this.btn_EEWrite_Click);
			// 
			// tbx_Power
			// 
			this.tbx_Power.Location = new System.Drawing.Point(144, 284);
			this.tbx_Power.Name = "tbx_Power";
			this.tbx_Power.TabIndex = 23;
			this.tbx_Power.Text = "";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(92, 288);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(40, 16);
			this.label4.TabIndex = 24;
			this.label4.Text = "Power";
			// 
			// btn_EEWriteDef
			// 
			this.btn_EEWriteDef.Enabled = false;
			this.btn_EEWriteDef.Location = new System.Drawing.Point(8, 292);
			this.btn_EEWriteDef.Name = "btn_EEWriteDef";
			this.btn_EEWriteDef.TabIndex = 25;
			this.btn_EEWriteDef.Text = "EEWriteDef";
			this.btn_EEWriteDef.Click += new System.EventHandler(this.btn_WriteDef_Click);
			// 
			// tbx_CAN_TX_ID
			// 
			this.tbx_CAN_TX_ID.Location = new System.Drawing.Point(92, 384);
			this.tbx_CAN_TX_ID.Name = "tbx_CAN_TX_ID";
			this.tbx_CAN_TX_ID.Size = new System.Drawing.Size(44, 20);
			this.tbx_CAN_TX_ID.TabIndex = 27;
			this.tbx_CAN_TX_ID.Text = "0";
			// 
			// tbx_CAN_TX_DLC
			// 
			this.tbx_CAN_TX_DLC.Location = new System.Drawing.Point(144, 384);
			this.tbx_CAN_TX_DLC.Name = "tbx_CAN_TX_DLC";
			this.tbx_CAN_TX_DLC.Size = new System.Drawing.Size(44, 20);
			this.tbx_CAN_TX_DLC.TabIndex = 28;
			this.tbx_CAN_TX_DLC.Text = "0";
			// 
			// tbx_CAN_TX_0
			// 
			this.tbx_CAN_TX_0.Location = new System.Drawing.Point(196, 384);
			this.tbx_CAN_TX_0.Name = "tbx_CAN_TX_0";
			this.tbx_CAN_TX_0.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_TX_0.TabIndex = 29;
			this.tbx_CAN_TX_0.Text = "0";
			// 
			// tbx_CAN_TX_1
			// 
			this.tbx_CAN_TX_1.Location = new System.Drawing.Point(228, 384);
			this.tbx_CAN_TX_1.Name = "tbx_CAN_TX_1";
			this.tbx_CAN_TX_1.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_TX_1.TabIndex = 30;
			this.tbx_CAN_TX_1.Text = "0";
			// 
			// tbx_CAN_TX_2
			// 
			this.tbx_CAN_TX_2.Location = new System.Drawing.Point(260, 384);
			this.tbx_CAN_TX_2.Name = "tbx_CAN_TX_2";
			this.tbx_CAN_TX_2.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_TX_2.TabIndex = 31;
			this.tbx_CAN_TX_2.Text = "0";
			// 
			// tbx_CAN_TX_3
			// 
			this.tbx_CAN_TX_3.Location = new System.Drawing.Point(292, 384);
			this.tbx_CAN_TX_3.Name = "tbx_CAN_TX_3";
			this.tbx_CAN_TX_3.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_TX_3.TabIndex = 32;
			this.tbx_CAN_TX_3.Text = "0";
			// 
			// tbx_CAN_TX_4
			// 
			this.tbx_CAN_TX_4.Location = new System.Drawing.Point(324, 384);
			this.tbx_CAN_TX_4.Name = "tbx_CAN_TX_4";
			this.tbx_CAN_TX_4.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_TX_4.TabIndex = 33;
			this.tbx_CAN_TX_4.Text = "0";
			// 
			// tbx_CAN_TX_5
			// 
			this.tbx_CAN_TX_5.Location = new System.Drawing.Point(356, 384);
			this.tbx_CAN_TX_5.Name = "tbx_CAN_TX_5";
			this.tbx_CAN_TX_5.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_TX_5.TabIndex = 34;
			this.tbx_CAN_TX_5.Text = "0";
			// 
			// tbx_CAN_TX_6
			// 
			this.tbx_CAN_TX_6.Location = new System.Drawing.Point(388, 384);
			this.tbx_CAN_TX_6.Name = "tbx_CAN_TX_6";
			this.tbx_CAN_TX_6.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_TX_6.TabIndex = 35;
			this.tbx_CAN_TX_6.Text = "0";
			// 
			// tbx_CAN_TX_7
			// 
			this.tbx_CAN_TX_7.Location = new System.Drawing.Point(420, 384);
			this.tbx_CAN_TX_7.Name = "tbx_CAN_TX_7";
			this.tbx_CAN_TX_7.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_TX_7.TabIndex = 36;
			this.tbx_CAN_TX_7.Text = "0";
			// 
			// tbx_CAN_RX_7
			// 
			this.tbx_CAN_RX_7.Location = new System.Drawing.Point(420, 412);
			this.tbx_CAN_RX_7.Name = "tbx_CAN_RX_7";
			this.tbx_CAN_RX_7.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_RX_7.TabIndex = 47;
			this.tbx_CAN_RX_7.Text = "";
			// 
			// tbx_CAN_RX_6
			// 
			this.tbx_CAN_RX_6.Location = new System.Drawing.Point(388, 412);
			this.tbx_CAN_RX_6.Name = "tbx_CAN_RX_6";
			this.tbx_CAN_RX_6.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_RX_6.TabIndex = 46;
			this.tbx_CAN_RX_6.Text = "";
			// 
			// tbx_CAN_RX_5
			// 
			this.tbx_CAN_RX_5.Location = new System.Drawing.Point(356, 412);
			this.tbx_CAN_RX_5.Name = "tbx_CAN_RX_5";
			this.tbx_CAN_RX_5.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_RX_5.TabIndex = 45;
			this.tbx_CAN_RX_5.Text = "";
			// 
			// tbx_CAN_RX_4
			// 
			this.tbx_CAN_RX_4.Location = new System.Drawing.Point(324, 412);
			this.tbx_CAN_RX_4.Name = "tbx_CAN_RX_4";
			this.tbx_CAN_RX_4.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_RX_4.TabIndex = 44;
			this.tbx_CAN_RX_4.Text = "";
			// 
			// tbx_CAN_RX_3
			// 
			this.tbx_CAN_RX_3.Location = new System.Drawing.Point(292, 412);
			this.tbx_CAN_RX_3.Name = "tbx_CAN_RX_3";
			this.tbx_CAN_RX_3.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_RX_3.TabIndex = 43;
			this.tbx_CAN_RX_3.Text = "";
			// 
			// tbx_CAN_RX_2
			// 
			this.tbx_CAN_RX_2.Location = new System.Drawing.Point(260, 412);
			this.tbx_CAN_RX_2.Name = "tbx_CAN_RX_2";
			this.tbx_CAN_RX_2.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_RX_2.TabIndex = 42;
			this.tbx_CAN_RX_2.Text = "";
			// 
			// tbx_CAN_RX_1
			// 
			this.tbx_CAN_RX_1.Location = new System.Drawing.Point(228, 412);
			this.tbx_CAN_RX_1.Name = "tbx_CAN_RX_1";
			this.tbx_CAN_RX_1.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_RX_1.TabIndex = 41;
			this.tbx_CAN_RX_1.Text = "";
			// 
			// tbx_CAN_RX_0
			// 
			this.tbx_CAN_RX_0.Location = new System.Drawing.Point(196, 412);
			this.tbx_CAN_RX_0.Name = "tbx_CAN_RX_0";
			this.tbx_CAN_RX_0.Size = new System.Drawing.Size(28, 20);
			this.tbx_CAN_RX_0.TabIndex = 40;
			this.tbx_CAN_RX_0.Text = "";
			// 
			// tbx_CAN_RX_DLC
			// 
			this.tbx_CAN_RX_DLC.Location = new System.Drawing.Point(144, 412);
			this.tbx_CAN_RX_DLC.Name = "tbx_CAN_RX_DLC";
			this.tbx_CAN_RX_DLC.Size = new System.Drawing.Size(44, 20);
			this.tbx_CAN_RX_DLC.TabIndex = 39;
			this.tbx_CAN_RX_DLC.Text = "";
			// 
			// tbx_CAN_RX_ID
			// 
			this.tbx_CAN_RX_ID.Location = new System.Drawing.Point(92, 412);
			this.tbx_CAN_RX_ID.Name = "tbx_CAN_RX_ID";
			this.tbx_CAN_RX_ID.Size = new System.Drawing.Size(44, 20);
			this.tbx_CAN_RX_ID.TabIndex = 38;
			this.tbx_CAN_RX_ID.Text = "";
			// 
			// btn_CAN_Receive
			// 
			this.btn_CAN_Receive.Location = new System.Drawing.Point(8, 412);
			this.btn_CAN_Receive.Name = "btn_CAN_Receive";
			this.btn_CAN_Receive.Size = new System.Drawing.Size(75, 20);
			this.btn_CAN_Receive.TabIndex = 37;
			this.btn_CAN_Receive.Text = "CAN Recv";
			this.btn_CAN_Receive.Click += new System.EventHandler(this.btn_CAN_Receive_Click);
			// 
			// btn_CAN_Init
			// 
			this.btn_CAN_Init.Location = new System.Drawing.Point(8, 356);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -