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

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

?? form1.vb

?? rs232程序 可以實現單片機的遠程控制 初學者可以下載參考
?? 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
	Private Delegate Sub CommEventUpdate(ByVal source As Rs232, ByVal mask As Rs232.EventMasks)

#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 lbAsync As System.Windows.Forms.ListBox
	Friend WithEvents lblAsync As System.Windows.Forms.Label
	Friend WithEvents chkEvents As System.Windows.Forms.CheckBox
	Friend WithEvents LinkLabel1 As System.Windows.Forms.LinkLabel
	Friend WithEvents chkAddCR As System.Windows.Forms.CheckBox
	Friend WithEvents Label8 As System.Windows.Forms.Label
	Friend WithEvents txtPortNum As System.Windows.Forms.TextBox
	Friend WithEvents btnTest As System.Windows.Forms.Button
    Friend WithEvents btnInBuffer As System.Windows.Forms.Button
    Friend WithEvents lblInBuffer 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.lbAsync = New System.Windows.Forms.ListBox
        Me.chkEvents = New System.Windows.Forms.CheckBox
        Me.chkAddCR = New System.Windows.Forms.CheckBox
        Me.txtPortNum = New System.Windows.Forms.TextBox
        Me.btnTest = New System.Windows.Forms.Button
        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.Label8 = New System.Windows.Forms.Label
        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.LinkLabel1 = New System.Windows.Forms.LinkLabel
        Me.btnInBuffer = New System.Windows.Forms.Button
        Me.lblInBuffer = 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, 134)
        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, 24)
        Me.txtTimeout.Name = "txtTimeout"
        Me.txtTimeout.Size = New System.Drawing.Size(49, 21)
        Me.txtTimeout.TabIndex = 3
        Me.txtTimeout.Text = "1500"
        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 = "ATZ"
        Me.ToolTip1.SetToolTip(Me.txtTx, "Type data you want to send")
        '
        'chkAutorx
        '
        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, 60)
        Me.txtBaudrate.Name = "txtBaudrate"
        Me.txtBaudrate.Size = New System.Drawing.Size(49, 21)
        Me.txtBaudrate.TabIndex = 5
        Me.txtBaudrate.Text = "9600"
        Me.ToolTip1.SetToolTip(Me.txtBaudrate, "COM Port Baudrate")
        '
        'btnRx
        '
        Me.btnRx.Enabled = False
        Me.btnRx.Location = New System.Drawing.Point(8, 304)
        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 = "2"
        Me.ToolTip1.SetToolTip(Me.txtBytes2Read, "Bytes to read from COM buffer (this number effects also CommEvent)")
        '
        '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")
        '
        'lbAsync
        '
        Me.lbAsync.Anchor = CType(((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Left) _
                    Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
        Me.lbAsync.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.lbAsync.Location = New System.Drawing.Point(7, 426)
        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")
        '
        'chkEvents
        '
        Me.chkEvents.Enabled = False
        Me.chkEvents.FlatStyle = System.Windows.Forms.FlatStyle.System
        Me.chkEvents.Location = New System.Drawing.Point(186, 342)
        Me.chkEvents.Name = "chkEvents"
        Me.chkEvents.Size = New System.Drawing.Size(124, 19)
        Me.chkEvents.TabIndex = 29
        Me.chkEvents.Text = "Enable events"
        Me.ToolTip1.SetToolTip(Me.chkEvents, "Enables notification events (CommEvent)")
        '
        'chkAddCR
        '
        Me.chkAddCR.Location = New System.Drawing.Point(216, 158)
        Me.chkAddCR.Name = "chkAddCR"
        Me.chkAddCR.Size = New System.Drawing.Size(79, 13)
        Me.chkAddCR.TabIndex = 31
        Me.chkAddCR.Text = "Add CR"
        Me.ToolTip1.SetToolTip(Me.chkAddCR, "Add a CR at the end of Tx Message")
        '
        'txtPortNum
        '
        Me.txtPortNum.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.txtPortNum.Location = New System.Drawing.Point(132, 36)
        Me.txtPortNum.Name = "txtPortNum"
        Me.txtPortNum.Size = New System.Drawing.Size(49, 21)
        Me.txtPortNum.TabIndex = 6
        Me.txtPortNum.Text = "1"
        Me.ToolTip1.SetToolTip(Me.txtPortNum, "Enter port number")
        '
        'btnTest
        '
        Me.btnTest.Location = New System.Drawing.Point(132, 64)
        Me.btnTest.Name = "btnTest"
        Me.btnTest.Size = New System.Drawing.Size(49, 17)
        Me.btnTest.TabIndex = 7
        Me.btnTest.Text = "Test"
        Me.ToolTip1.SetToolTip(Me.btnTest, "Test port availability")
        '
        '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, 10)
        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, 46)
        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(10, 18)
        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(10, 38)
        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.Label8)
        Me.GroupBox1.Controls.Add(Me.btnTest)
        Me.GroupBox1.Controls.Add(Me.txtPortNum)
        Me.GroupBox1.Controls.Add(Me.txtTimeout)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲高清一区二区三区| 在线观看免费亚洲| voyeur盗摄精品| 99久久综合99久久综合网站| 99九九99九九九视频精品| 91蜜桃免费观看视频| 丰满少妇久久久久久久| 菠萝蜜视频在线观看一区| 色综合色综合色综合| 色婷婷综合中文久久一本| 色婷婷久久久亚洲一区二区三区| 在线看不卡av| 日韩女优制服丝袜电影| 欧美激情综合网| 亚洲一区在线观看免费| 激情伊人五月天久久综合| 成人v精品蜜桃久久一区| 日本韩国一区二区三区| 欧美亚洲国产bt| 欧美成人免费网站| 综合久久国产九一剧情麻豆| 亚洲18女电影在线观看| 国产一区二区免费视频| 91在线精品一区二区| 欧美一区二区在线免费观看| 欧美激情一区二区在线| 偷拍日韩校园综合在线| 国产一区二区福利| 在线精品视频一区二区三四| 久久综合资源网| 国产日产欧美一区二区三区| 亚洲国产精品影院| 国内精品在线播放| 日本大香伊一区二区三区| 精品国产乱码久久久久久老虎| 国产精品久久综合| 天天综合天天综合色| 韩国欧美国产一区| 欧美一a一片一级一片| 欧美激情一区二区三区不卡| 日韩精品一区第一页| 97se亚洲国产综合自在线不卡 | 国产精品人妖ts系列视频| 亚洲夂夂婷婷色拍ww47| 国产精品一品二品| 欧美一区二区三区婷婷月色| 1024亚洲合集| 精品一区二区三区在线观看国产| 91国偷自产一区二区三区观看| 欧美精品一区二区三区一线天视频| 亚洲精品你懂的| 国产乱一区二区| 日韩欧美aaaaaa| 亚洲第一久久影院| 99久久99久久精品免费观看| 久久一留热品黄| 奇米四色…亚洲| 欧美三级视频在线观看| 最新热久久免费视频| 国产精品综合久久| 日韩欧美国产一区二区三区| 亚洲永久精品国产| av在线这里只有精品| 精品精品欲导航| 亚洲三级久久久| 成人精品视频.| 久久久精品日韩欧美| 日本系列欧美系列| 欧美日韩在线播放| 亚洲午夜电影在线| 色婷婷综合久久久久中文一区二区 | 韩国av一区二区三区四区| 69堂成人精品免费视频| 亚洲欧美日韩小说| 99视频有精品| 国产精品高潮久久久久无| 国产精品羞羞答答xxdd| 久久综合色鬼综合色| 九九九久久久精品| 日韩欧美综合一区| 理论片日本一区| 日韩美女视频在线| 久久av老司机精品网站导航| 欧美一区二区在线视频| 日本美女视频一区二区| 在线成人免费观看| 亚洲综合久久久| 欧美性大战久久久久久久| 国产精品三级av| www.66久久| 国产精品青草久久| 91视频免费观看| 国产精品每日更新| jizz一区二区| 亚洲女同一区二区| 91高清视频免费看| 亚洲午夜电影在线| 日韩一区二区精品| 国产一区二区三区蝌蚪| 国产日韩欧美精品一区| 国产福利精品一区| 中文字幕一区在线观看| av在线不卡免费看| 亚洲乱码国产乱码精品精98午夜 | xfplay精品久久| 国产高清精品在线| 亚洲色图在线播放| 欧美日韩一级二级| 极品少妇xxxx精品少妇| 日本一区二区三区电影| 97精品国产露脸对白| 亚洲国产精品一区二区久久恐怖片 | 国产欧美视频一区二区| 91色.com| 婷婷综合另类小说色区| 日韩美女天天操| 国产成人午夜视频| 亚洲精品国产一区二区精华液| 成人性视频网站| 一区二区三区自拍| 91精品欧美综合在线观看最新| 久久99久久精品欧美| 国产精品乱码妇女bbbb| 在线免费观看日本一区| 久久电影国产免费久久电影 | 亚洲国产乱码最新视频| 欧美日韩一区三区| 久久成人综合网| 国产精品久久久久永久免费观看 | 精品裸体舞一区二区三区| 成人看片黄a免费看在线| 亚洲成人av资源| www国产成人免费观看视频 深夜成人网| 国产91精品免费| 天天影视色香欲综合网老头| 精品国产人成亚洲区| 色一情一伦一子一伦一区| 蜜桃av一区二区| 自拍偷拍欧美精品| 欧美久久久久久久久| 岛国精品在线观看| 日本女优在线视频一区二区| 中文字幕一区二区三| 制服丝袜一区二区三区| 不卡一区二区三区四区| 亚洲高清在线精品| 欧美国产一区在线| 在线观看精品一区| 国产九色sp调教91| 亚洲精选免费视频| 久久精品一区二区三区不卡| 欧美私人免费视频| 成人影视亚洲图片在线| 丝瓜av网站精品一区二区| 国产精品私人自拍| 日韩一区二区三区电影在线观看| 99国产精品久久久| 国产精品99久久久久久似苏梦涵| 午夜一区二区三区视频| 中文字幕亚洲区| 久久综合视频网| 日韩一区二区影院| 欧美午夜精品久久久久久孕妇| 成人污视频在线观看| 久久99精品一区二区三区 | 欧美日韩国产免费一区二区| 懂色av一区二区三区免费看| 美女网站色91| 日韩成人dvd| 亚洲国产成人av| 亚洲欧美日韩小说| 中文一区一区三区高中清不卡| 欧美一区二视频| 欧美日韩精品三区| 色94色欧美sute亚洲线路一ni| 国产精品1024| 经典一区二区三区| 久久99国产精品久久| 日韩avvvv在线播放| 玉米视频成人免费看| 亚洲欧洲国产专区| 国产精品不卡一区| 国产精品久久久久7777按摩| 久久色在线观看| 精品国产乱码久久久久久久久 | 亚洲男女一区二区三区| 国产精品天天看| 国产精品视频看| 中文字幕av不卡| 国产精品水嫩水嫩| 中日韩av电影| 国产精品久久久久久久岛一牛影视 | 日本福利一区二区| 一本一道波多野结衣一区二区| 91福利在线免费观看| 欧美乱妇15p| 日韩美一区二区三区| 国产亚洲一二三区| 亚洲三级电影网站| 亚洲二区在线视频|