亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? form1.vb

?? Corrado Cavalli為VB.NET寫的串口通訊類。通過調用API的方法與串口通訊。我的有關串口通訊的程序都是用的這個類。
?? VB
?? 第 1 頁 / 共 2 頁
字號:
Public Class Form1
	Inherits System.Windows.Forms.Form



	'// Private members
	Private miComPort As Integer

	Friend WithEvents btnOpenCom As System.Windows.Forms.Button
	Friend WithEvents btnCloseCom As System.Windows.Forms.Button
	Friend WithEvents btnTx As System.Windows.Forms.Button
	Friend WithEvents Label2 As System.Windows.Forms.Label
	Friend WithEvents Label3 As System.Windows.Forms.Label
	Friend WithEvents txtTx As System.Windows.Forms.TextBox
	Friend WithEvents txtRx As System.Windows.Forms.TextBox
	Friend WithEvents btnRx As System.Windows.Forms.Button
	Friend WithEvents Label5 As System.Windows.Forms.Label
	Friend WithEvents txtBytes2Read As System.Windows.Forms.TextBox
	Friend WithEvents GroupBox1 As System.Windows.Forms.GroupBox
	Friend WithEvents optCom2 As System.Windows.Forms.RadioButton
	Friend WithEvents optCom1 As System.Windows.Forms.RadioButton
	Friend WithEvents txtTimeout As System.Windows.Forms.TextBox
	Friend WithEvents Label4 As System.Windows.Forms.Label
	Friend WithEvents txtBaudrate As System.Windows.Forms.TextBox
	Friend WithEvents Label1 As System.Windows.Forms.Label
	Friend WithEvents ToolTip1 As System.Windows.Forms.ToolTip
	Friend WithEvents chkAutorx As System.Windows.Forms.CheckBox
	Friend WithEvents chkRTS As System.Windows.Forms.CheckBox
	Friend WithEvents chkDTR As System.Windows.Forms.CheckBox
	Friend WithEvents btnExit As System.Windows.Forms.Button
	Private WithEvents moRS232 As Rs232
	Private mlTicks As Long

#Region " Windows Form Designer generated code "

	Public Sub New()
		MyBase.New()

		'This call is required by the Windows Form Designer.
		InitializeComponent()

		'Add any initialization after the InitializeComponent() call

	End Sub

	'Form overrides dispose to clean up the component list.
	Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
		If disposing Then
			If Not (components Is Nothing) Then
				components.Dispose()
			End If
		End If
		MyBase.Dispose(disposing)
	End Sub
	Private components As System.ComponentModel.IContainer


	'Required by the Windows Form Designer

	'NOTE: The following procedure is required by the Windows Form Designer
	'It can be modified using the Windows Form Designer.  
	'Do not modify it using the code editor.
	Friend WithEvents linkAuthor As System.Windows.Forms.LinkLabel
	Friend WithEvents lbHex As System.Windows.Forms.ListBox
	Friend WithEvents Label6 As System.Windows.Forms.Label
	Friend WithEvents cboStatusLine As System.Windows.Forms.ComboBox
	Friend WithEvents btnCheck As System.Windows.Forms.Button
	Friend WithEvents Label7 As System.Windows.Forms.Label
	Friend WithEvents chkOl As System.Windows.Forms.CheckBox
	Friend WithEvents btnAsyncTx As System.Windows.Forms.Button
	Friend WithEvents btnAsync As System.Windows.Forms.Button
	Friend WithEvents lbAsync As System.Windows.Forms.ListBox
	Friend WithEvents lblAsync As System.Windows.Forms.Label
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container
        Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
        Me.chkRTS = New System.Windows.Forms.CheckBox
        Me.btnTx = New System.Windows.Forms.Button
        Me.txtTimeout = New System.Windows.Forms.TextBox
        Me.txtTx = New System.Windows.Forms.TextBox
        Me.chkAutorx = New System.Windows.Forms.CheckBox
        Me.btnOpenCom = New System.Windows.Forms.Button
        Me.txtBaudrate = New System.Windows.Forms.TextBox
        Me.btnRx = New System.Windows.Forms.Button
        Me.txtBytes2Read = New System.Windows.Forms.TextBox
        Me.chkDTR = New System.Windows.Forms.CheckBox
        Me.chkOl = New System.Windows.Forms.CheckBox
        Me.btnAsyncTx = New System.Windows.Forms.Button
        Me.btnAsync = New System.Windows.Forms.Button
        Me.lbAsync = New System.Windows.Forms.ListBox
        Me.Label5 = New System.Windows.Forms.Label
        Me.Label1 = New System.Windows.Forms.Label
        Me.Label4 = New System.Windows.Forms.Label
        Me.Label3 = New System.Windows.Forms.Label
        Me.Label2 = New System.Windows.Forms.Label
        Me.txtRx = New System.Windows.Forms.TextBox
        Me.optCom1 = New System.Windows.Forms.RadioButton
        Me.btnCloseCom = New System.Windows.Forms.Button
        Me.optCom2 = New System.Windows.Forms.RadioButton
        Me.GroupBox1 = New System.Windows.Forms.GroupBox
        Me.btnExit = New System.Windows.Forms.Button
        Me.linkAuthor = New System.Windows.Forms.LinkLabel
        Me.lbHex = New System.Windows.Forms.ListBox
        Me.Label6 = New System.Windows.Forms.Label
        Me.cboStatusLine = New System.Windows.Forms.ComboBox
        Me.btnCheck = New System.Windows.Forms.Button
        Me.Label7 = New System.Windows.Forms.Label
        Me.lblAsync = New System.Windows.Forms.Label
        Me.GroupBox1.SuspendLayout()
        Me.SuspendLayout()
        '
        'chkRTS
        '
        Me.chkRTS.Checked = True
        Me.chkRTS.CheckState = System.Windows.Forms.CheckState.Checked
        Me.chkRTS.FlatStyle = System.Windows.Forms.FlatStyle.System
        Me.chkRTS.Location = New System.Drawing.Point(212, 90)
        Me.chkRTS.Name = "chkRTS"
        Me.chkRTS.Size = New System.Drawing.Size(63, 19)
        Me.chkRTS.TabIndex = 3
        Me.chkRTS.Text = "RTS"
        Me.ToolTip1.SetToolTip(Me.chkRTS, "Set state of RTS Line")
        '
        'btnTx
        '
        Me.btnTx.Enabled = False
        Me.btnTx.Location = New System.Drawing.Point(216, 126)
        Me.btnTx.Name = "btnTx"
        Me.btnTx.Size = New System.Drawing.Size(60, 17)
        Me.btnTx.TabIndex = 7
        Me.btnTx.Text = "Tx"
        Me.ToolTip1.SetToolTip(Me.btnTx, "Sends data to COM Port")
        '
        'txtTimeout
        '
        Me.txtTimeout.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtTimeout.Location = New System.Drawing.Point(69, 32)
        Me.txtTimeout.Name = "txtTimeout"
        Me.txtTimeout.Size = New System.Drawing.Size(65, 21)
        Me.txtTimeout.TabIndex = 3
        Me.txtTimeout.Text = "500"
        Me.ToolTip1.SetToolTip(Me.txtTimeout, "COM Port timeout in ms")
        '
        'txtTx
        '
        Me.txtTx.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtTx.Location = New System.Drawing.Point(7, 134)
        Me.txtTx.Name = "txtTx"
        Me.txtTx.Size = New System.Drawing.Size(200, 21)
        Me.txtTx.TabIndex = 6
        Me.txtTx.Text = "ATDT00121233854111"
        Me.ToolTip1.SetToolTip(Me.txtTx, "Type data you want to send")
        '
        'chkAutorx
        '
        Me.chkAutorx.Checked = True
        Me.chkAutorx.CheckState = System.Windows.Forms.CheckState.Checked
        Me.chkAutorx.Location = New System.Drawing.Point(8, 342)
        Me.chkAutorx.Name = "chkAutorx"
        Me.chkAutorx.Size = New System.Drawing.Size(185, 15)
        Me.chkAutorx.TabIndex = 13
        Me.chkAutorx.Text = "Automatically receive bytes"
        Me.ToolTip1.SetToolTip(Me.chkAutorx, "After a Tx tries to Rx bytes")
        '
        'btnOpenCom
        '
        Me.btnOpenCom.Location = New System.Drawing.Point(210, 19)
        Me.btnOpenCom.Name = "btnOpenCom"
        Me.btnOpenCom.Size = New System.Drawing.Size(95, 27)
        Me.btnOpenCom.TabIndex = 1
        Me.btnOpenCom.Text = "Open COM Port"
        Me.ToolTip1.SetToolTip(Me.btnOpenCom, "Initializes and Open COM port")
        '
        'txtBaudrate
        '
        Me.txtBaudrate.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtBaudrate.Location = New System.Drawing.Point(69, 68)
        Me.txtBaudrate.Name = "txtBaudrate"
        Me.txtBaudrate.Size = New System.Drawing.Size(65, 21)
        Me.txtBaudrate.TabIndex = 5
        Me.txtBaudrate.Text = "19200"
        Me.ToolTip1.SetToolTip(Me.txtBaudrate, "COM Port Baudrate")
        '
        'btnRx
        '
        Me.btnRx.Enabled = False
        Me.btnRx.Location = New System.Drawing.Point(7, 293)
        Me.btnRx.Name = "btnRx"
        Me.btnRx.Size = New System.Drawing.Size(58, 19)
        Me.btnRx.TabIndex = 10
        Me.btnRx.Text = "Rx"
        Me.ToolTip1.SetToolTip(Me.btnRx, "Reads COM Buffer")
        '
        'txtBytes2Read
        '
        Me.txtBytes2Read.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtBytes2Read.Location = New System.Drawing.Point(245, 305)
        Me.txtBytes2Read.Name = "txtBytes2Read"
        Me.txtBytes2Read.Size = New System.Drawing.Size(65, 21)
        Me.txtBytes2Read.TabIndex = 12
        Me.txtBytes2Read.Text = "34"
        Me.ToolTip1.SetToolTip(Me.txtBytes2Read, "Bytes to read from COM buffer")
        '
        'chkDTR
        '
        Me.chkDTR.Checked = True
        Me.chkDTR.CheckState = System.Windows.Forms.CheckState.Checked
        Me.chkDTR.FlatStyle = System.Windows.Forms.FlatStyle.System
        Me.chkDTR.Location = New System.Drawing.Point(260, 90)
        Me.chkDTR.Name = "chkDTR"
        Me.chkDTR.Size = New System.Drawing.Size(63, 19)
        Me.chkDTR.TabIndex = 4
        Me.chkDTR.Text = "DTR"
        Me.ToolTip1.SetToolTip(Me.chkDTR, "Set state of DTR Line")
        '
        'chkOl
        '
        Me.chkOl.Location = New System.Drawing.Point(168, 343)
        Me.chkOl.Name = "chkOl"
        Me.chkOl.Size = New System.Drawing.Size(129, 13)
        Me.chkOl.TabIndex = 21
        Me.chkOl.Text = "Overlapped Mode"
        Me.ToolTip1.SetToolTip(Me.chkOl, "Open port in overlapped mode")
        '
        'btnAsyncTx
        '
        Me.btnAsyncTx.Enabled = False
        Me.btnAsyncTx.Location = New System.Drawing.Point(217, 148)
        Me.btnAsyncTx.Name = "btnAsyncTx"
        Me.btnAsyncTx.Size = New System.Drawing.Size(58, 17)
        Me.btnAsyncTx.TabIndex = 23
        Me.btnAsyncTx.Text = "Async Tx"
        Me.ToolTip1.SetToolTip(Me.btnAsyncTx, "Sends data to COM Port (Async Mode)")
        '
        'btnAsync
        '
        Me.btnAsync.Enabled = False
        Me.btnAsync.Location = New System.Drawing.Point(7, 315)
        Me.btnAsync.Name = "btnAsync"
        Me.btnAsync.Size = New System.Drawing.Size(58, 19)
        Me.btnAsync.TabIndex = 24
        Me.btnAsync.Text = "Async Rx"
        Me.ToolTip1.SetToolTip(Me.btnAsync, "Reads COM Buffer (Async method)")
        '
        'lbAsync
        '
        Me.lbAsync.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.lbAsync.Location = New System.Drawing.Point(7, 376)
        Me.lbAsync.Name = "lbAsync"
        Me.lbAsync.Size = New System.Drawing.Size(305, 54)
        Me.lbAsync.TabIndex = 25
        Me.ToolTip1.SetToolTip(Me.lbAsync, "Async method sequence")
        '
        'Label5
        '
        Me.Label5.Location = New System.Drawing.Point(240, 290)
        Me.Label5.Name = "Label5"
        Me.Label5.Size = New System.Drawing.Size(82, 14)
        Me.Label5.TabIndex = 11
        Me.Label5.Text = "Bytes to read"
        '
        'Label1
        '
        Me.Label1.Location = New System.Drawing.Point(69, 18)
        Me.Label1.Name = "Label1"
        Me.Label1.Size = New System.Drawing.Size(82, 14)
        Me.Label1.TabIndex = 2
        Me.Label1.Text = "Timeout (ms)"
        '
        'Label4
        '
        Me.Label4.Location = New System.Drawing.Point(69, 54)
        Me.Label4.Name = "Label4"
        Me.Label4.Size = New System.Drawing.Size(82, 14)
        Me.Label4.TabIndex = 4
        Me.Label4.Text = "BaudRate"
        '
        'Label3
        '
        Me.Label3.Location = New System.Drawing.Point(7, 164)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(82, 14)
        Me.Label3.TabIndex = 8
        Me.Label3.Text = "Received Data"
        '
        'Label2
        '
        Me.Label2.Location = New System.Drawing.Point(7, 120)
        Me.Label2.Name = "Label2"
        Me.Label2.Size = New System.Drawing.Size(82, 14)
        Me.Label2.TabIndex = 5
        Me.Label2.Text = "Data to Tx"
        '
        'txtRx
        '
        Me.txtRx.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtRx.Location = New System.Drawing.Point(7, 178)
        Me.txtRx.Multiline = True
        Me.txtRx.Name = "txtRx"
        Me.txtRx.Size = New System.Drawing.Size(305, 44)
        Me.txtRx.TabIndex = 9
        Me.txtRx.Text = ""
        '
        'optCom1
        '
        Me.optCom1.Checked = True
        Me.optCom1.Location = New System.Drawing.Point(8, 32)
        Me.optCom1.Name = "optCom1"
        Me.optCom1.Size = New System.Drawing.Size(64, 26)
        Me.optCom1.TabIndex = 0
        Me.optCom1.TabStop = True
        Me.optCom1.Text = "COM &1"
        '
        'btnCloseCom
        '
        Me.btnCloseCom.Enabled = False
        Me.btnCloseCom.Location = New System.Drawing.Point(211, 51)
        Me.btnCloseCom.Name = "btnCloseCom"
        Me.btnCloseCom.Size = New System.Drawing.Size(95, 27)
        Me.btnCloseCom.TabIndex = 2
        Me.btnCloseCom.Text = "Close COM Port"
        '
        'optCom2
        '
        Me.optCom2.Location = New System.Drawing.Point(8, 56)
        Me.optCom2.Name = "optCom2"
        Me.optCom2.Size = New System.Drawing.Size(66, 26)
        Me.optCom2.TabIndex = 1
        Me.optCom2.Text = "COM &2"
        '
        'GroupBox1
        '
        Me.GroupBox1.Controls.Add(Me.txtTimeout)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕亚洲视频| 欧美成人激情免费网| 亚洲六月丁香色婷婷综合久久| 岛国精品一区二区| 成人免费视频在线观看| 欧美性感一区二区三区| 日韩国产精品大片| 2022国产精品视频| www.日韩在线| 亚洲va在线va天堂| 久久免费美女视频| av成人免费在线| 亚洲一区二区五区| 欧美大胆人体bbbb| 99国产精品久久久久久久久久| 亚洲影视在线播放| 精品嫩草影院久久| 91麻豆免费看| 激情深爱一区二区| 亚洲精品日韩一| 久久综合成人精品亚洲另类欧美| 99re热视频这里只精品| 视频一区视频二区中文| 国产亚洲成av人在线观看导航 | 青青草成人在线观看| 久久久蜜臀国产一区二区| 色先锋aa成人| 久久国产婷婷国产香蕉| 日韩理论在线观看| 日韩三级电影网址| 91久久香蕉国产日韩欧美9色| 日韩经典中文字幕一区| 国产精品久久三| 日韩无一区二区| 色哟哟日韩精品| 国产成人一区二区精品非洲| 亚洲一区二区在线观看视频| 国产午夜精品久久久久久免费视| 在线免费观看不卡av| 国产一区免费电影| 图片区小说区区亚洲影院| 国产欧美1区2区3区| 69久久夜色精品国产69蝌蚪网| 成人免费电影视频| 韩国三级中文字幕hd久久精品| 亚洲精品视频在线观看网站| 久久久久免费观看| 欧美成人精品3d动漫h| 欧美专区日韩专区| 精品国产91久久久久久久妲己| 91免费看`日韩一区二区| 国内外成人在线| 日本不卡在线视频| 亚洲国产aⅴ成人精品无吗| 中文字幕二三区不卡| 精品国产91乱码一区二区三区 | 91亚洲男人天堂| 国产精品99久久久久| 麻豆成人久久精品二区三区小说| 亚洲国产毛片aaaaa无费看 | 亚洲国产一区二区在线播放| 国产精品嫩草影院com| 久久青草欧美一区二区三区| 91精品国模一区二区三区| 欧美系列一区二区| 在线区一区二视频| 欧美亚洲国产一区在线观看网站 | 国产精品一区二区免费不卡 | 欧美一二区视频| 91精品国产高清一区二区三区蜜臀| 99riav一区二区三区| av在线播放一区二区三区| 大陆成人av片| 成人不卡免费av| 91原创在线视频| 欧亚一区二区三区| 欧美日韩中字一区| 欧美精品丝袜久久久中文字幕| 欧美亚洲一区二区在线| 欧美日韩国产不卡| 欧美二区三区的天堂| 欧美一区二区三区四区在线观看| 制服丝袜亚洲色图| 欧美一区二区免费| 久久久久国产精品厨房| 国产嫩草影院久久久久| 国产精品黄色在线观看| 亚洲色图在线播放| 亚洲一二三四久久| 日本一区中文字幕 | 国产成a人亚洲| 成人av电影在线播放| 色综合久久中文字幕| 欧美亚洲综合色| 日韩一区二区在线播放| 精品国产91久久久久久久妲己 | 在线播放日韩导航| 精品av综合导航| 日本欧美大码aⅴ在线播放| 日韩精品一二区| 国产综合久久久久久鬼色| 不卡视频一二三四| 欧美三区在线视频| www日韩大片| 亚洲一区二区视频在线观看| 日本不卡不码高清免费观看| 韩国毛片一区二区三区| av午夜精品一区二区三区| 欧美日韩第一区日日骚| 久久亚洲一区二区三区明星换脸 | 日韩一区二区在线免费观看| 欧美精品一区二区三区视频| 中文字幕在线观看不卡视频| 亚洲成国产人片在线观看| 国产在线一区观看| 日本精品一区二区三区高清| 日韩片之四级片| 日韩美女精品在线| 久久精品二区亚洲w码| 99精品桃花视频在线观看| 欧美久久久久中文字幕| 亚洲国产成人私人影院tom| 午夜精品久久久久久久99樱桃| 国产成人精品三级| 91 com成人网| 亚洲欧洲精品一区二区精品久久久| 日本网站在线观看一区二区三区| 99久久精品国产麻豆演员表| 欧美zozozo| 亚洲不卡一区二区三区| av不卡免费在线观看| 精品国产一区二区三区久久影院 | 美女久久久精品| 91麻豆精品秘密| 久久久久久久久久久99999| 亚洲国产另类av| 91在线你懂得| 久久精品在这里| 免费不卡在线视频| 欧美日韩美女一区二区| 亚洲欧洲精品天堂一级| 国产一区二区美女诱惑| 欧美一区二区久久| 亚洲午夜精品在线| 色综合久久88色综合天天6| 欧美国产日韩亚洲一区| 国产另类ts人妖一区二区| 欧美一区二区三区视频免费播放| 依依成人综合视频| 91丨porny丨在线| 中文字幕乱码亚洲精品一区| 精品一二三四区| 欧美成人免费网站| 男人的天堂久久精品| 欧美日韩一区二区三区在线 | 日本一区二区三区高清不卡| 毛片av一区二区| 日韩欧美一级二级三级久久久| 亚洲成人福利片| 在线日韩国产精品| 亚洲宅男天堂在线观看无病毒| 91小宝寻花一区二区三区| 欧美激情一区在线| 欧美精品少妇一区二区三区| 一区二区欧美国产| 日本伦理一区二区| 亚洲天堂福利av| 色综合久久99| 亚洲一区av在线| 91精品欧美一区二区三区综合在| 午夜激情综合网| 日韩欧美色电影| 精品一区二区三区欧美| 久久精品在这里| 成人免费高清视频| 亚洲精品日韩综合观看成人91| 在线视频欧美精品| 亚欧色一区w666天堂| 91精品国产综合久久蜜臀| 久久99国内精品| 国产精品全国免费观看高清| 99久久夜色精品国产网站| 亚洲精品视频免费看| 欧美丰满高潮xxxx喷水动漫| 蜜桃av一区二区| 国产欧美日韩视频一区二区| 成人sese在线| 亚洲第一狼人社区| 日韩三区在线观看| 国产成人一区二区精品非洲| 亚洲欧洲日本在线| 欧美剧情电影在线观看完整版免费励志电影 | 日韩精品国产欧美| 精品国产电影一区二区| 成人激情午夜影院| 一区二区欧美国产| 欧美精品一区二| 日本高清不卡aⅴ免费网站| 日韩电影在线一区| 国产精品美女久久久久久久网站|