Option Strict Off
Option Explicit On
Imports VB = Microsoft.VisualBasic
Friend Class MainForm
	Inherits System.Windows.Forms.Form
#Region "Windows フォーム デザイナによって生成されたコード"
	Public Sub New()
		MyBase.New()
		If m_vb6FormDefInstance Is Nothing Then
			If m_InitializingDefInstance Then
				m_vb6FormDefInstance = Me
			Else
				Try 
					'スタートアップ フォームについては、最初に作成されたインスタンスが既定インスタンスになります。
					If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
						m_vb6FormDefInstance = Me
					End If
				Catch
				End Try
			End If
		End If
		'この呼び出しは、Windows フォーム デザイナで必要です。
		InitializeComponent()
	End Sub
	'Form は、コンポーネント一覧に後処理を実行するために dispose をオーバーライドします。
	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
	'Windows フォーム デザイナで必要です。
	Private components As System.ComponentModel.IContainer
	Public ToolTip1 As System.Windows.Forms.ToolTip
	Public WithEvents PCCAx1 As AxPCCAXLib.AxPCCAx
	Public WithEvents CancelTimer As System.Windows.Forms.Timer
	Public WithEvents CheckHandshake As System.Windows.Forms.CheckBox
	Public WithEvents ResponseTimer As System.Windows.Forms.TextBox
	Public WithEvents ACKTimer As System.Windows.Forms.TextBox
	Public WithEvents _Label_11 As System.Windows.Forms.Label
	Public WithEvents _Label_7 As System.Windows.Forms.Label
	Public WithEvents _Frame_6 As System.Windows.Forms.GroupBox
	Public WithEvents TxtCancelTimer As System.Windows.Forms.TextBox
	Public WithEvents _ChkCancelTimer_1 As System.Windows.Forms.CheckBox
	Public WithEvents _ChkCancelTimer_0 As System.Windows.Forms.CheckBox
	Public WithEvents ChkComBufferClearabbr As System.Windows.Forms.CheckBox
	Public WithEvents CmbComBufferClear As System.Windows.Forms.ComboBox
	Public WithEvents ComBufferClear As System.Windows.Forms.Button
	Public WithEvents CbCancelFlag As System.Windows.Forms.ComboBox
	Public WithEvents _OpCancelFlag_1 As System.Windows.Forms.RadioButton
	Public WithEvents _OpCancelFlag_0 As System.Windows.Forms.RadioButton
	Public WithEvents CancelFlag As System.Windows.Forms.Button
	Public WithEvents LbCancelFlag As System.Windows.Forms.Label
	Public WithEvents _Frame_3 As System.Windows.Forms.GroupBox
	Public WithEvents TxtReceiveDataLen As System.Windows.Forms.TextBox
	Public WithEvents TxtReceiveData As System.Windows.Forms.TextBox
	Public WithEvents _Frame_2 As System.Windows.Forms.GroupBox
	Public WithEvents TxtSendDataRD As System.Windows.Forms.TextBox
	Public WithEvents SendDataRead As System.Windows.Forms.Button
	Public WithEvents SendDataSet As System.Windows.Forms.Button
	Public WithEvents TxtSendDataWR As System.Windows.Forms.TextBox
	Public WithEvents _Frame_1 As System.Windows.Forms.GroupBox
	Public WithEvents RetMsg As System.Windows.Forms.TextBox
	Public WithEvents RetVal As System.Windows.Forms.TextBox
	Public WithEvents ClosePort As System.Windows.Forms.Button
	Public WithEvents Claimed As System.Windows.Forms.Button
	Public WithEvents ChkBreakControl As System.Windows.Forms.CheckBox
	Public WithEvents ChkRTSLineControl As System.Windows.Forms.CheckBox
	Public WithEvents Version As System.Windows.Forms.Button
	Public WithEvents CmdGetCommStatus As System.Windows.Forms.Button
	Public WithEvents ChkDTRLineControl As System.Windows.Forms.CheckBox
	Public WithEvents LbClaimed As System.Windows.Forms.Label
	Public WithEvents LbBreakControl As System.Windows.Forms.Label
	Public WithEvents LbRTSLineControl As System.Windows.Forms.Label
	Public WithEvents LbVersion As System.Windows.Forms.Label
	Public WithEvents _LbGetCommStatus_2 As System.Windows.Forms.Label
	Public WithEvents _LbGetCommStatus_1 As System.Windows.Forms.Label
	Public WithEvents _LbGetCommStatus_0 As System.Windows.Forms.Label
	Public WithEvents LbDTRLineControl As System.Windows.Forms.Label
	Public WithEvents LbResponseTimer As System.Windows.Forms.Label
	Public WithEvents _Label_3 As System.Windows.Forms.Label
	Public WithEvents LbACKTimer As System.Windows.Forms.Label
	Public WithEvents _Label_2 As System.Windows.Forms.Label
	Public WithEvents _FrameOpen_1 As System.Windows.Forms.GroupBox
	Public WithEvents _OpComSet_1 As System.Windows.Forms.RadioButton
	Public WithEvents _OpComSet_0 As System.Windows.Forms.RadioButton
	Public WithEvents TxtRXBufferSize As System.Windows.Forms.TextBox
	Public WithEvents TxtTXBufferSize As System.Windows.Forms.TextBox
	Public WithEvents CmbPortNo As System.Windows.Forms.ComboBox
	Public WithEvents CmbBaudRate As System.Windows.Forms.ComboBox
	Public WithEvents CmbDataBit As System.Windows.Forms.ComboBox
	Public WithEvents CmbParity As System.Windows.Forms.ComboBox
	Public WithEvents CmbDSRCheck As System.Windows.Forms.ComboBox
	Public WithEvents CmbCTSCheck As System.Windows.Forms.ComboBox
	Public WithEvents _Label_1 As System.Windows.Forms.Label
	Public WithEvents _Label_0 As System.Windows.Forms.Label
	Public WithEvents _FrameOpen_0 As System.Windows.Forms.GroupBox
	Public WithEvents OpenPort As System.Windows.Forms.Button
	Public WithEvents GetPortNames As System.Windows.Forms.Button
	Public WithEvents TxtPortNames As System.Windows.Forms.TextBox
	Public WithEvents _Frame_0 As System.Windows.Forms.GroupBox
	Public WithEvents scrrRecMode As System.Windows.Forms.TextBox
	Public WithEvents scrrBusyTimeOut As System.Windows.Forms.TextBox
	Public WithEvents SendCommandRR As System.Windows.Forms.Button
	Public WithEvents _Label_6 As System.Windows.Forms.Label
	Public WithEvents _Frame_5 As System.Windows.Forms.GroupBox
	Public WithEvents TxtERR As System.Windows.Forms.TextBox
	Public WithEvents TxtCOMSTS As System.Windows.Forms.TextBox
	Public WithEvents TxtSEN As System.Windows.Forms.TextBox
	Public WithEvents TxtResDATA As System.Windows.Forms.TextBox
	Public WithEvents _Label_5 As System.Windows.Forms.Label
	Public WithEvents _Label_4 As System.Windows.Forms.Label
	Public WithEvents _Frame_4 As System.Windows.Forms.GroupBox
	Public WithEvents SendCommand As System.Windows.Forms.Button
	Public WithEvents _OpSendCommand_0 As System.Windows.Forms.RadioButton
	Public WithEvents _OpSendCommand_1 As System.Windows.Forms.RadioButton
	Public WithEvents Frame2 As System.Windows.Forms.GroupBox
	Public WithEvents rrCancel As System.Windows.Forms.Button
	Public WithEvents rrRecMode As System.Windows.Forms.TextBox
	Public WithEvents rrTimeOut As System.Windows.Forms.TextBox
	Public WithEvents ReceiveResponse As System.Windows.Forms.Button
	Public WithEvents _Label_9 As System.Windows.Forms.Label
	Public WithEvents Frame3 As System.Windows.Forms.GroupBox
	Public WithEvents _MainSSTab_TabPage0 As System.Windows.Forms.TabPage
	Public WithEvents sdrrResponseMode As System.Windows.Forms.TextBox
	Public WithEvents SendDataRR As System.Windows.Forms.Button
	Public WithEvents sdrrRetryCount As System.Windows.Forms.TextBox
	Public WithEvents _Label_19 As System.Windows.Forms.Label
	Public WithEvents _Label_8 As System.Windows.Forms.Label
	Public WithEvents _Frame_7 As System.Windows.Forms.GroupBox
	Public WithEvents sdStxEtxBcc As System.Windows.Forms.TextBox
	Public WithEvents sdRetryCount As System.Windows.Forms.TextBox
	Public WithEvents sdACKCheck As System.Windows.Forms.TextBox
	Public WithEvents SendData As System.Windows.Forms.Button
	Public WithEvents _Label_10 As System.Windows.Forms.Label
	Public WithEvents _Frame_8 As System.Windows.Forms.GroupBox
	Public WithEvents rdResponseMode As System.Windows.Forms.TextBox
	Public WithEvents ReceiveData As System.Windows.Forms.Button
	Public WithEvents rdACKResponse As System.Windows.Forms.TextBox
	Public WithEvents rdStxEtxBcc As System.Windows.Forms.TextBox
	Public WithEvents _Label_20 As System.Windows.Forms.Label
	Public WithEvents _Label_12 As System.Windows.Forms.Label
	Public WithEvents _Frame_9 As System.Windows.Forms.GroupBox
	Public WithEvents rdhfCancel As System.Windows.Forms.Button
	Public WithEvents rdhfResponseMode As System.Windows.Forms.TextBox
	Public WithEvents SendDataHFRR As System.Windows.Forms.Button
	Public WithEvents rdhfResDataLen As System.Windows.Forms.TextBox
	Public WithEvents rdhfResData As System.Windows.Forms.TextBox
	Public WithEvents rdhfResReserve As System.Windows.Forms.TextBox
	Public WithEvents rdhfResStat As System.Windows.Forms.TextBox
	Public WithEvents rdhfResResp As System.Windows.Forms.TextBox
	Public WithEvents rdhfACKJudge As System.Windows.Forms.TextBox
	Public WithEvents ReceiveDataHF As System.Windows.Forms.Button
	Public WithEvents _Label_21 As System.Windows.Forms.Label
	Public WithEvents Label2 As System.Windows.Forms.Label
	Public WithEvents _Label_13 As System.Windows.Forms.Label
	Public WithEvents _Frame_10 As System.Windows.Forms.GroupBox
	Public WithEvents _MainSSTab_TabPage1 As System.Windows.Forms.TabPage
	Public WithEvents sbcrrReceiveResponse As System.Windows.Forms.TextBox
	Public WithEvents sbcrrRetryCount As System.Windows.Forms.TextBox
	Public WithEvents SendBinaryCommandRR As System.Windows.Forms.Button
	Public WithEvents _Label_18 As System.Windows.Forms.Label
	Public WithEvents _Label_14 As System.Windows.Forms.Label
	Public WithEvents _Frame_11 As System.Windows.Forms.GroupBox
	Public WithEvents rbrCancel As System.Windows.Forms.Button
	Public WithEvents rbrReceiveResponse As System.Windows.Forms.TextBox
	Public WithEvents rbrRetryCount As System.Windows.Forms.TextBox
	Public WithEvents ReceiveBinaryReport As System.Windows.Forms.Button
	Public WithEvents _Label_17 As System.Windows.Forms.Label
	Public WithEvents _Label_15 As System.Windows.Forms.Label
	Public WithEvents _Frame_12 As System.Windows.Forms.GroupBox
	Public WithEvents SendBinaryCommand As System.Windows.Forms.Button
	Public WithEvents sbcRetryCount As System.Windows.Forms.TextBox
	Public WithEvents _Label_16 As System.Windows.Forms.Label
	Public WithEvents _Frame_13 As System.Windows.Forms.GroupBox
	Public WithEvents _MainSSTab_TabPage2 As System.Windows.Forms.TabPage
	Public WithEvents ReceiveBinaryData As System.Windows.Forms.Button
	Public WithEvents _Frame_14 As System.Windows.Forms.GroupBox
	Public WithEvents SendBinaryData As System.Windows.Forms.Button
	Public WithEvents _Frame_15 As System.Windows.Forms.GroupBox
	Public WithEvents _MainSSTab_TabPage3 As System.Windows.Forms.TabPage
	Public WithEvents _chkEventMask_2 As System.Windows.Forms.RadioButton
	Public WithEvents _OpEVT_RXCHAR_Return_0 As System.Windows.Forms.RadioButton
	Public WithEvents _OpEVT_RXCHAR_Return_1 As System.Windows.Forms.RadioButton
	Public WithEvents _OpEVT_RXCHAR_Return_2 As System.Windows.Forms.RadioButton
	Public WithEvents _OpEVT_RXCHAR_Return_3 As System.Windows.Forms.RadioButton
	Public WithEvents _OpEVT_RXCHAR_Return_4 As System.Windows.Forms.RadioButton
	Public WithEvents FrmEVT_RXCHAR_Return As System.Windows.Forms.GroupBox
	Public WithEvents EventMask As System.Windows.Forms.Button
	Public WithEvents _chkEventMask_0 As System.Windows.Forms.RadioButton
	Public WithEvents _chkEventMask_1 As System.Windows.Forms.RadioButton
	Public WithEvents chEventMaskAll As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_2 As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_7 As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_4 As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_3 As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_10 As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_9 As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_8 As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_1 As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_0 As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_5 As System.Windows.Forms.CheckBox
	Public WithEvents _chEventMask_6 As System.Windows.Forms.CheckBox
	Public WithEvents Frame19 As System.Windows.Forms.GroupBox
	Public WithEvents LbEventMaskRD As System.Windows.Forms.Label
	Public WithEvents _Frame_16 As System.Windows.Forms.GroupBox
	Public WithEvents _MainSSTab_TabPage4 As System.Windows.Forms.TabPage
	Public WithEvents ReadCommand As System.Windows.Forms.Button
	Public WithEvents SetCommand As System.Windows.Forms.Button
	Public WithEvents LogFileFolderText As System.Windows.Forms.TextBox
	Public WithEvents LogFlagText As System.Windows.Forms.TextBox
	Public WithEvents WriteFileTimeOutText As System.Windows.Forms.TextBox
	Public WithEvents SendDelayTimeTxt As System.Windows.Forms.TextBox
	Public WithEvents PrintJobClear As System.Windows.Forms.Button
	Public WithEvents _OpPrinterDeviceName_1 As System.Windows.Forms.RadioButton
	Public WithEvents _OpPrinterDeviceName_0 As System.Windows.Forms.RadioButton
	Public WithEvents cmdPriProperty As System.Windows.Forms.Button
	Public WithEvents cboPriSet As System.Windows.Forms.ComboBox
	Public WithEvents PaperList As System.Windows.Forms.ComboBox
	Public WithEvents _lpPriPaper_0 As System.Windows.Forms.Label
	Public WithEvents _Frame_18 As System.Windows.Forms.GroupBox
	Public WithEvents cmdPrinterDeviceName As System.Windows.Forms.Button
	Public WithEvents Label1 As System.Windows.Forms.Label
	Public WithEvents LbPrinterDeviceName As System.Windows.Forms.Label
	Public WithEvents _Frame_17 As System.Windows.Forms.GroupBox
	Public WithEvents Label7 As System.Windows.Forms.Label
	Public WithEvents Label6 As System.Windows.Forms.Label
	Public WithEvents Label5 As System.Windows.Forms.Label
	Public WithEvents SendDelayTime As System.Windows.Forms.Label
	Public WithEvents _MainSSTab_TabPage5 As System.Windows.Forms.TabPage
	Public WithEvents MainSSTab As System.Windows.Forms.TabControl
	Public WithEvents LbRetValue As System.Windows.Forms.Label
	Public WithEvents MainFrame As System.Windows.Forms.GroupBox
    Public WithEvents ChkCancelTimer As Microsoft.VisualBasic.Compatibility.VB6.CheckBoxArray
    Public WithEvents Frame As Microsoft.VisualBasic.Compatibility.VB6.GroupBoxArray
	Public WithEvents FrameOpen As Microsoft.VisualBasic.Compatibility.VB6.GroupBoxArray
	Public WithEvents Label As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	Public WithEvents LbGetCommStatus As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	Public WithEvents OpCancelFlag As Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray
	Public WithEvents OpComSet As Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray
	Public WithEvents OpEVT_RXCHAR_Return As Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray
	Public WithEvents OpPrinterDeviceName As Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray
	Public WithEvents OpSendCommand As Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray
	Public WithEvents chEventMask As Microsoft.VisualBasic.Compatibility.VB6.CheckBoxArray
	Public WithEvents chkEventMask As Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray
	Public WithEvents lpPriPaper As Microsoft.VisualBasic.Compatibility.VB6.LabelArray
	'メモ : 以下のプロシージャは Windows フォーム デザイナで必要です。
	'Windows フォーム デザイナを使って変更できます。
	'コードエディタを使って修正しないでください。
    Friend WithEvents Label3 As System.Windows.Forms.Label


	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(MainForm))
        Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
        Me._ChkCancelTimer_1 = New System.Windows.Forms.CheckBox()
        Me._ChkCancelTimer_0 = New System.Windows.Forms.CheckBox()
        Me.TxtReceiveDataLen = New System.Windows.Forms.TextBox()
        Me.TxtReceiveData = New System.Windows.Forms.TextBox()
        Me.ClosePort = New System.Windows.Forms.Button()
        Me.LbBreakControl = New System.Windows.Forms.Label()
        Me.LbRTSLineControl = New System.Windows.Forms.Label()
        Me.LbDTRLineControl = New System.Windows.Forms.Label()
        Me.LbResponseTimer = New System.Windows.Forms.Label()
        Me.LbACKTimer = New System.Windows.Forms.Label()
        Me.OpenPort = New System.Windows.Forms.Button()
        Me.GetPortNames = New System.Windows.Forms.Button()
        Me.SendCommandRR = New System.Windows.Forms.Button()
        Me.SendCommand = New System.Windows.Forms.Button()
        Me._OpSendCommand_0 = New System.Windows.Forms.RadioButton()
        Me._OpSendCommand_1 = New System.Windows.Forms.RadioButton()
        Me.ReceiveResponse = New System.Windows.Forms.Button()
        Me.SendDataRR = New System.Windows.Forms.Button()
        Me.SendData = New System.Windows.Forms.Button()
        Me.ReceiveData = New System.Windows.Forms.Button()
        Me.rdhfResDataLen = New System.Windows.Forms.TextBox()
        Me.rdhfResData = New System.Windows.Forms.TextBox()
        Me.ReceiveDataHF = New System.Windows.Forms.Button()
        Me.SendBinaryCommandRR = New System.Windows.Forms.Button()
        Me.ReceiveBinaryReport = New System.Windows.Forms.Button()
        Me.SendBinaryCommand = New System.Windows.Forms.Button()
        Me.ReceiveBinaryData = New System.Windows.Forms.Button()
        Me.SendBinaryData = New System.Windows.Forms.Button()
        Me._OpEVT_RXCHAR_Return_1 = New System.Windows.Forms.RadioButton()
        Me._OpEVT_RXCHAR_Return_2 = New System.Windows.Forms.RadioButton()
        Me._OpEVT_RXCHAR_Return_3 = New System.Windows.Forms.RadioButton()
        Me._OpEVT_RXCHAR_Return_4 = New System.Windows.Forms.RadioButton()
        Me.chEventMaskAll = New System.Windows.Forms.CheckBox()
        Me._chEventMask_2 = New System.Windows.Forms.CheckBox()
        Me._chEventMask_7 = New System.Windows.Forms.CheckBox()
        Me._chEventMask_4 = New System.Windows.Forms.CheckBox()
        Me._chEventMask_3 = New System.Windows.Forms.CheckBox()
        Me._chEventMask_10 = New System.Windows.Forms.CheckBox()
        Me._chEventMask_9 = New System.Windows.Forms.CheckBox()
        Me._chEventMask_8 = New System.Windows.Forms.CheckBox()
        Me._chEventMask_1 = New System.Windows.Forms.CheckBox()
        Me._chEventMask_0 = New System.Windows.Forms.CheckBox()
        Me._chEventMask_5 = New System.Windows.Forms.CheckBox()
        Me._chEventMask_6 = New System.Windows.Forms.CheckBox()
        Me.PCCAx1 = New AxPCCAXLib.AxPCCAx()
        Me.CancelTimer = New System.Windows.Forms.Timer(Me.components)
        Me.MainFrame = New System.Windows.Forms.GroupBox()
        Me.CheckHandshake = New System.Windows.Forms.CheckBox()
        Me._Frame_6 = New System.Windows.Forms.GroupBox()
        Me.ResponseTimer = New System.Windows.Forms.TextBox()
        Me.ACKTimer = New System.Windows.Forms.TextBox()
        Me._Label_11 = New System.Windows.Forms.Label()
        Me._Label_7 = New System.Windows.Forms.Label()
        Me._Frame_3 = New System.Windows.Forms.GroupBox()
        Me.TxtCancelTimer = New System.Windows.Forms.TextBox()
        Me.ChkComBufferClearabbr = New System.Windows.Forms.CheckBox()
        Me.CmbComBufferClear = New System.Windows.Forms.ComboBox()
        Me.ComBufferClear = New System.Windows.Forms.Button()
        Me.CbCancelFlag = New System.Windows.Forms.ComboBox()
        Me._OpCancelFlag_1 = New System.Windows.Forms.RadioButton()
        Me._OpCancelFlag_0 = New System.Windows.Forms.RadioButton()
        Me.CancelFlag = New System.Windows.Forms.Button()
        Me.LbCancelFlag = New System.Windows.Forms.Label()
        Me._Frame_2 = New System.Windows.Forms.GroupBox()
        Me._Frame_1 = New System.Windows.Forms.GroupBox()
        Me.TxtSendDataRD = New System.Windows.Forms.TextBox()
        Me.SendDataRead = New System.Windows.Forms.Button()
        Me.SendDataSet = New System.Windows.Forms.Button()
        Me.TxtSendDataWR = New System.Windows.Forms.TextBox()
        Me.RetMsg = New System.Windows.Forms.TextBox()
        Me.RetVal = New System.Windows.Forms.TextBox()
        Me._FrameOpen_1 = New System.Windows.Forms.GroupBox()
        Me.Claimed = New System.Windows.Forms.Button()
        Me.ChkBreakControl = New System.Windows.Forms.CheckBox()
        Me.ChkRTSLineControl = New System.Windows.Forms.CheckBox()
        Me.Version = New System.Windows.Forms.Button()
        Me.CmdGetCommStatus = New System.Windows.Forms.Button()
        Me.ChkDTRLineControl = New System.Windows.Forms.CheckBox()
        Me.LbClaimed = New System.Windows.Forms.Label()
        Me.LbVersion = New System.Windows.Forms.Label()
        Me._LbGetCommStatus_2 = New System.Windows.Forms.Label()
        Me._LbGetCommStatus_1 = New System.Windows.Forms.Label()
        Me._LbGetCommStatus_0 = New System.Windows.Forms.Label()
        Me._Label_3 = New System.Windows.Forms.Label()
        Me._Label_2 = New System.Windows.Forms.Label()
        Me._FrameOpen_0 = New System.Windows.Forms.GroupBox()
        Me._OpComSet_1 = New System.Windows.Forms.RadioButton()
        Me._OpComSet_0 = New System.Windows.Forms.RadioButton()
        Me.TxtRXBufferSize = New System.Windows.Forms.TextBox()
        Me.TxtTXBufferSize = New System.Windows.Forms.TextBox()
        Me.CmbPortNo = New System.Windows.Forms.ComboBox()
        Me.CmbBaudRate = New System.Windows.Forms.ComboBox()
        Me.CmbDataBit = New System.Windows.Forms.ComboBox()
        Me.CmbParity = New System.Windows.Forms.ComboBox()
        Me.CmbDSRCheck = New System.Windows.Forms.ComboBox()
        Me.CmbCTSCheck = New System.Windows.Forms.ComboBox()
        Me._Label_1 = New System.Windows.Forms.Label()
        Me._Label_0 = New System.Windows.Forms.Label()
        Me._Frame_0 = New System.Windows.Forms.GroupBox()
        Me.TxtPortNames = New System.Windows.Forms.TextBox()
        Me.MainSSTab = New System.Windows.Forms.TabControl()
        Me._MainSSTab_TabPage0 = New System.Windows.Forms.TabPage()
        Me._Frame_5 = New System.Windows.Forms.GroupBox()
        Me.scrrRecMode = New System.Windows.Forms.TextBox()
        Me.scrrBusyTimeOut = New System.Windows.Forms.TextBox()
        Me._Label_6 = New System.Windows.Forms.Label()
        Me._Frame_4 = New System.Windows.Forms.GroupBox()
        Me.TxtERR = New System.Windows.Forms.TextBox()
        Me.TxtCOMSTS = New System.Windows.Forms.TextBox()
        Me.TxtSEN = New System.Windows.Forms.TextBox()
        Me.TxtResDATA = New System.Windows.Forms.TextBox()
        Me._Label_5 = New System.Windows.Forms.Label()
        Me._Label_4 = New System.Windows.Forms.Label()
        Me.Frame2 = New System.Windows.Forms.GroupBox()
        Me.Frame3 = New System.Windows.Forms.GroupBox()
        Me.rrCancel = New System.Windows.Forms.Button()
        Me.rrRecMode = New System.Windows.Forms.TextBox()
        Me.rrTimeOut = New System.Windows.Forms.TextBox()
        Me._Label_9 = New System.Windows.Forms.Label()
        Me._MainSSTab_TabPage3 = New System.Windows.Forms.TabPage()
        Me._Frame_14 = New System.Windows.Forms.GroupBox()
        Me._Frame_15 = New System.Windows.Forms.GroupBox()
        Me._MainSSTab_TabPage2 = New System.Windows.Forms.TabPage()
        Me._Frame_11 = New System.Windows.Forms.GroupBox()
        Me.sbcrrReceiveResponse = New System.Windows.Forms.TextBox()
        Me.sbcrrRetryCount = New System.Windows.Forms.TextBox()
        Me._Label_18 = New System.Windows.Forms.Label()
        Me._Label_14 = New System.Windows.Forms.Label()
        Me._Frame_12 = New System.Windows.Forms.GroupBox()
        Me.rbrCancel = New System.Windows.Forms.Button()
        Me.rbrReceiveResponse = New System.Windows.Forms.TextBox()
        Me.rbrRetryCount = New System.Windows.Forms.TextBox()
        Me._Label_17 = New System.Windows.Forms.Label()
        Me._Label_15 = New System.Windows.Forms.Label()
        Me._Frame_13 = New System.Windows.Forms.GroupBox()
        Me.sbcRetryCount = New System.Windows.Forms.TextBox()
        Me._Label_16 = New System.Windows.Forms.Label()
        Me._MainSSTab_TabPage1 = New System.Windows.Forms.TabPage()
        Me._Frame_7 = New System.Windows.Forms.GroupBox()
        Me.sdrrResponseMode = New System.Windows.Forms.TextBox()
        Me.sdrrRetryCount = New System.Windows.Forms.TextBox()
        Me._Label_19 = New System.Windows.Forms.Label()
        Me._Label_8 = New System.Windows.Forms.Label()
        Me._Frame_8 = New System.Windows.Forms.GroupBox()
        Me.sdStxEtxBcc = New System.Windows.Forms.TextBox()
        Me.sdRetryCount = New System.Windows.Forms.TextBox()
        Me.sdACKCheck = New System.Windows.Forms.TextBox()
        Me._Label_10 = New System.Windows.Forms.Label()
        Me._Frame_9 = New System.Windows.Forms.GroupBox()
        Me.rdResponseMode = New System.Windows.Forms.TextBox()
        Me.rdACKResponse = New System.Windows.Forms.TextBox()
        Me.rdStxEtxBcc = New System.Windows.Forms.TextBox()
        Me._Label_20 = New System.Windows.Forms.Label()
        Me._Label_12 = New System.Windows.Forms.Label()
        Me._Frame_10 = New System.Windows.Forms.GroupBox()
        Me.rdhfCancel = New System.Windows.Forms.Button()
        Me.rdhfResponseMode = New System.Windows.Forms.TextBox()
        Me.SendDataHFRR = New System.Windows.Forms.Button()
        Me.rdhfResReserve = New System.Windows.Forms.TextBox()
        Me.rdhfResStat = New System.Windows.Forms.TextBox()
        Me.rdhfResResp = New System.Windows.Forms.TextBox()
        Me.rdhfACKJudge = New System.Windows.Forms.TextBox()
        Me._Label_21 = New System.Windows.Forms.Label()
        Me.Label2 = New System.Windows.Forms.Label()
        Me._Label_13 = New System.Windows.Forms.Label()
        Me._MainSSTab_TabPage4 = New System.Windows.Forms.TabPage()
        Me._Frame_16 = New System.Windows.Forms.GroupBox()
        Me._chkEventMask_2 = New System.Windows.Forms.RadioButton()
        Me.FrmEVT_RXCHAR_Return = New System.Windows.Forms.GroupBox()
        Me._OpEVT_RXCHAR_Return_0 = New System.Windows.Forms.RadioButton()
        Me.EventMask = New System.Windows.Forms.Button()
        Me._chkEventMask_0 = New System.Windows.Forms.RadioButton()
        Me._chkEventMask_1 = New System.Windows.Forms.RadioButton()
        Me.Frame19 = New System.Windows.Forms.GroupBox()
        Me.LbEventMaskRD = New System.Windows.Forms.Label()
        Me._MainSSTab_TabPage5 = New System.Windows.Forms.TabPage()
        Me.ReadCommand = New System.Windows.Forms.Button()
        Me.SetCommand = New System.Windows.Forms.Button()
        Me.LogFileFolderText = New System.Windows.Forms.TextBox()
        Me.LogFlagText = New System.Windows.Forms.TextBox()
        Me.WriteFileTimeOutText = New System.Windows.Forms.TextBox()
        Me.SendDelayTimeTxt = New System.Windows.Forms.TextBox()
        Me._Frame_17 = New System.Windows.Forms.GroupBox()
        Me.PrintJobClear = New System.Windows.Forms.Button()
        Me._OpPrinterDeviceName_1 = New System.Windows.Forms.RadioButton()
        Me._OpPrinterDeviceName_0 = New System.Windows.Forms.RadioButton()
        Me._Frame_18 = New System.Windows.Forms.GroupBox()
        Me.cmdPriProperty = New System.Windows.Forms.Button()
        Me.cboPriSet = New System.Windows.Forms.ComboBox()
        Me.PaperList = New System.Windows.Forms.ComboBox()
        Me._lpPriPaper_0 = New System.Windows.Forms.Label()
        Me.cmdPrinterDeviceName = New System.Windows.Forms.Button()
        Me.Label1 = New System.Windows.Forms.Label()
        Me.LbPrinterDeviceName = New System.Windows.Forms.Label()
        Me.Label7 = New System.Windows.Forms.Label()
        Me.Label6 = New System.Windows.Forms.Label()
        Me.Label5 = New System.Windows.Forms.Label()
        Me.SendDelayTime = New System.Windows.Forms.Label()
        Me.LbRetValue = New System.Windows.Forms.Label()
        Me.ChkCancelTimer = New Microsoft.VisualBasic.Compatibility.VB6.CheckBoxArray(Me.components)
        Me.Frame = New Microsoft.VisualBasic.Compatibility.VB6.GroupBoxArray(Me.components)
        Me.FrameOpen = New Microsoft.VisualBasic.Compatibility.VB6.GroupBoxArray(Me.components)
        Me.Label = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(Me.components)
        Me.LbGetCommStatus = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(Me.components)
        Me.OpCancelFlag = New Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray(Me.components)
        Me.OpComSet = New Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray(Me.components)
        Me.OpEVT_RXCHAR_Return = New Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray(Me.components)
        Me.OpPrinterDeviceName = New Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray(Me.components)
        Me.OpSendCommand = New Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray(Me.components)
        Me.chEventMask = New Microsoft.VisualBasic.Compatibility.VB6.CheckBoxArray(Me.components)
        Me.chkEventMask = New Microsoft.VisualBasic.Compatibility.VB6.RadioButtonArray(Me.components)
        Me.lpPriPaper = New Microsoft.VisualBasic.Compatibility.VB6.LabelArray(Me.components)
        Me.Label3 = New System.Windows.Forms.Label()
        CType(Me.PCCAx1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.MainFrame.SuspendLayout()
        Me._Frame_6.SuspendLayout()
        Me._Frame_3.SuspendLayout()
        Me._Frame_2.SuspendLayout()
        Me._Frame_1.SuspendLayout()
        Me._FrameOpen_1.SuspendLayout()
        Me._FrameOpen_0.SuspendLayout()
        Me._Frame_0.SuspendLayout()
        Me.MainSSTab.SuspendLayout()
        Me._MainSSTab_TabPage0.SuspendLayout()
        Me._Frame_5.SuspendLayout()
        Me._Frame_4.SuspendLayout()
        Me.Frame2.SuspendLayout()
        Me.Frame3.SuspendLayout()
        Me._MainSSTab_TabPage3.SuspendLayout()
        Me._Frame_14.SuspendLayout()
        Me._Frame_15.SuspendLayout()
        Me._MainSSTab_TabPage2.SuspendLayout()
        Me._Frame_11.SuspendLayout()
        Me._Frame_12.SuspendLayout()
        Me._Frame_13.SuspendLayout()
        Me._MainSSTab_TabPage1.SuspendLayout()
        Me._Frame_7.SuspendLayout()
        Me._Frame_8.SuspendLayout()
        Me._Frame_9.SuspendLayout()
        Me._Frame_10.SuspendLayout()
        Me._MainSSTab_TabPage4.SuspendLayout()
        Me._Frame_16.SuspendLayout()
        Me.FrmEVT_RXCHAR_Return.SuspendLayout()
        Me.Frame19.SuspendLayout()
        Me._MainSSTab_TabPage5.SuspendLayout()
        Me._Frame_17.SuspendLayout()
        Me._Frame_18.SuspendLayout()
        CType(Me.ChkCancelTimer, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.Frame, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.FrameOpen, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.Label, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.LbGetCommStatus, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.OpCancelFlag, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.OpComSet, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.OpEVT_RXCHAR_Return, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.OpPrinterDeviceName, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.OpSendCommand, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.chEventMask, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.chkEventMask, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.lpPriPaper, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        '_ChkCancelTimer_1
        '
        Me._ChkCancelTimer_1.BackColor = System.Drawing.SystemColors.Control
        Me._ChkCancelTimer_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._ChkCancelTimer_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ChkCancelTimer.SetIndex(Me._ChkCancelTimer_1, CType(1, Short))
        Me._ChkCancelTimer_1.Location = New System.Drawing.Point(270, 22)
        Me._ChkCancelTimer_1.Name = "_ChkCancelTimer_1"
        Me._ChkCancelTimer_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._ChkCancelTimer_1.Size = New System.Drawing.Size(109, 19)
        Me._ChkCancelTimer_1.TabIndex = 147
        Me._ChkCancelTimer_1.Text = "R                  ms"
        Me.ToolTip1.SetToolTip(Me._ChkCancelTimer_1, "CancelTimer After Start")
        '
        '_ChkCancelTimer_0
        '
        Me._ChkCancelTimer_0.BackColor = System.Drawing.SystemColors.Control
        Me._ChkCancelTimer_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._ChkCancelTimer_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ChkCancelTimer.SetIndex(Me._ChkCancelTimer_0, CType(0, Short))
        Me._ChkCancelTimer_0.Location = New System.Drawing.Point(270, 8)
        Me._ChkCancelTimer_0.Name = "_ChkCancelTimer_0"
        Me._ChkCancelTimer_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._ChkCancelTimer_0.Size = New System.Drawing.Size(35, 19)
        Me._ChkCancelTimer_0.TabIndex = 145
        Me._ChkCancelTimer_0.Text = "F"
        Me.ToolTip1.SetToolTip(Me._ChkCancelTimer_0, "CancelTimer Front Start")
        '
        'TxtReceiveDataLen
        '
        Me.TxtReceiveDataLen.AcceptsReturn = True
        Me.TxtReceiveDataLen.AutoSize = False
        Me.TxtReceiveDataLen.BackColor = System.Drawing.Color.FromArgb(CType(192, Byte), CType(192, Byte), CType(192, Byte))
        Me.TxtReceiveDataLen.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtReceiveDataLen.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.TxtReceiveDataLen.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtReceiveDataLen.Location = New System.Drawing.Point(736, 20)
        Me.TxtReceiveDataLen.MaxLength = 0
        Me.TxtReceiveDataLen.Name = "TxtReceiveDataLen"
        Me.TxtReceiveDataLen.ReadOnly = True
        Me.TxtReceiveDataLen.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtReceiveDataLen.Size = New System.Drawing.Size(55, 22)
        Me.TxtReceiveDataLen.TabIndex = 24
        Me.TxtReceiveDataLen.Text = "TxtReceiveDataLen"
        Me.ToolTip1.SetToolTip(Me.TxtReceiveDataLen, "TxtReceiveDataLen")
        '
        'TxtReceiveData
        '
        Me.TxtReceiveData.AcceptsReturn = True
        Me.TxtReceiveData.AutoSize = False
        Me.TxtReceiveData.BackColor = System.Drawing.Color.FromArgb(CType(192, Byte), CType(192, Byte), CType(192, Byte))
        Me.TxtReceiveData.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtReceiveData.Font = New System.Drawing.Font("ＭＳ ゴシック", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.TxtReceiveData.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtReceiveData.Location = New System.Drawing.Point(4, 20)
        Me.TxtReceiveData.MaxLength = 0
        Me.TxtReceiveData.Name = "TxtReceiveData"
        Me.TxtReceiveData.ReadOnly = True
        Me.TxtReceiveData.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtReceiveData.Size = New System.Drawing.Size(731, 23)
        Me.TxtReceiveData.TabIndex = 23
        Me.TxtReceiveData.Text = "TxtReceiveData"
        Me.ToolTip1.SetToolTip(Me.TxtReceiveData, "TxtReceiveData")
        '
        'ClosePort
        '
        Me.ClosePort.BackColor = System.Drawing.SystemColors.Control
        Me.ClosePort.Cursor = System.Windows.Forms.Cursors.Default
        Me.ClosePort.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.ClosePort.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ClosePort.Location = New System.Drawing.Point(8, 104)
        Me.ClosePort.Name = "ClosePort"
        Me.ClosePort.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ClosePort.Size = New System.Drawing.Size(103, 23)
        Me.ClosePort.TabIndex = 3
        Me.ClosePort.Text = "pcxClosePort( )"
        Me.ToolTip1.SetToolTip(Me.ClosePort, "シリアルポートをクローズします。")
        '
        'LbBreakControl
        '
        Me.LbBreakControl.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.LbBreakControl.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbBreakControl.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbBreakControl.Location = New System.Drawing.Point(232, 58)
        Me.LbBreakControl.Name = "LbBreakControl"
        Me.LbBreakControl.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbBreakControl.Size = New System.Drawing.Size(47, 15)
        Me.LbBreakControl.TabIndex = 151
        Me.LbBreakControl.Text = "False"
        Me.LbBreakControl.TextAlign = System.Drawing.ContentAlignment.TopCenter
        Me.ToolTip1.SetToolTip(Me.LbBreakControl, "On Click Get Value")
        '
        'LbRTSLineControl
        '
        Me.LbRTSLineControl.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.LbRTSLineControl.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbRTSLineControl.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbRTSLineControl.Location = New System.Drawing.Point(232, 46)
        Me.LbRTSLineControl.Name = "LbRTSLineControl"
        Me.LbRTSLineControl.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbRTSLineControl.Size = New System.Drawing.Size(47, 15)
        Me.LbRTSLineControl.TabIndex = 149
        Me.LbRTSLineControl.Text = "True"
        Me.LbRTSLineControl.TextAlign = System.Drawing.ContentAlignment.TopCenter
        Me.ToolTip1.SetToolTip(Me.LbRTSLineControl, "On Click Get Value")
        '
        'LbDTRLineControl
        '
        Me.LbDTRLineControl.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.LbDTRLineControl.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbDTRLineControl.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbDTRLineControl.Location = New System.Drawing.Point(232, 34)
        Me.LbDTRLineControl.Name = "LbDTRLineControl"
        Me.LbDTRLineControl.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbDTRLineControl.Size = New System.Drawing.Size(47, 15)
        Me.LbDTRLineControl.TabIndex = 48
        Me.LbDTRLineControl.Text = "True"
        Me.LbDTRLineControl.TextAlign = System.Drawing.ContentAlignment.TopCenter
        Me.ToolTip1.SetToolTip(Me.LbDTRLineControl, "On Click Get Value")
        '
        'LbResponseTimer
        '
        Me.LbResponseTimer.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.LbResponseTimer.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbResponseTimer.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbResponseTimer.Location = New System.Drawing.Point(72, 34)
        Me.LbResponseTimer.Name = "LbResponseTimer"
        Me.LbResponseTimer.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbResponseTimer.Size = New System.Drawing.Size(47, 17)
        Me.LbResponseTimer.TabIndex = 15
        Me.LbResponseTimer.Text = "Lb3000"
        Me.LbResponseTimer.TextAlign = System.Drawing.ContentAlignment.TopCenter
        Me.ToolTip1.SetToolTip(Me.LbResponseTimer, "On Click Get Value")
        '
        'LbACKTimer
        '
        Me.LbACKTimer.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.LbACKTimer.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbACKTimer.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbACKTimer.Location = New System.Drawing.Point(50, 14)
        Me.LbACKTimer.Name = "LbACKTimer"
        Me.LbACKTimer.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbACKTimer.Size = New System.Drawing.Size(47, 17)
        Me.LbACKTimer.TabIndex = 14
        Me.LbACKTimer.Text = "Lb1000"
        Me.LbACKTimer.TextAlign = System.Drawing.ContentAlignment.TopCenter
        Me.ToolTip1.SetToolTip(Me.LbACKTimer, "On Click Get Value")
        '
        'OpenPort
        '
        Me.OpenPort.BackColor = System.Drawing.SystemColors.Control
        Me.OpenPort.Cursor = System.Windows.Forms.Cursors.Default
        Me.OpenPort.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.OpenPort.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpenPort.Location = New System.Drawing.Point(8, 50)
        Me.OpenPort.Name = "OpenPort"
        Me.OpenPort.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.OpenPort.Size = New System.Drawing.Size(103, 23)
        Me.OpenPort.TabIndex = 2
        Me.OpenPort.Text = "pcxOpenPort( )"
        Me.ToolTip1.SetToolTip(Me.OpenPort, "シリアルポートをオープンします。")
        '
        'GetPortNames
        '
        Me.GetPortNames.BackColor = System.Drawing.SystemColors.Control
        Me.GetPortNames.Cursor = System.Windows.Forms.Cursors.Default
        Me.GetPortNames.ForeColor = System.Drawing.SystemColors.ControlText
        Me.GetPortNames.Location = New System.Drawing.Point(4, 14)
        Me.GetPortNames.Name = "GetPortNames"
        Me.GetPortNames.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.GetPortNames.Size = New System.Drawing.Size(107, 19)
        Me.GetPortNames.TabIndex = 0
        Me.GetPortNames.Text = "GetPortNames"
        Me.ToolTip1.SetToolTip(Me.GetPortNames, "利用可能なシリアルポート名をレジストリから取得し、CSV形式で返します。")
        '
        'SendCommandRR
        '
        Me.SendCommandRR.BackColor = System.Drawing.SystemColors.Control
        Me.SendCommandRR.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendCommandRR.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendCommandRR.Location = New System.Drawing.Point(8, 20)
        Me.SendCommandRR.Name = "SendCommandRR"
        Me.SendCommandRR.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendCommandRR.Size = New System.Drawing.Size(177, 23)
        Me.SendCommandRR.TabIndex = 37
        Me.SendCommandRR.Text = "pcxSendCommandRR( )"
        Me.ToolTip1.SetToolTip(Me.SendCommandRR, "Polling コマンド送受信関数  ")
        '
        'SendCommand
        '
        Me.SendCommand.BackColor = System.Drawing.SystemColors.Control
        Me.SendCommand.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendCommand.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendCommand.Location = New System.Drawing.Point(11, 18)
        Me.SendCommand.Name = "SendCommand"
        Me.SendCommand.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendCommand.Size = New System.Drawing.Size(177, 23)
        Me.SendCommand.TabIndex = 68
        Me.SendCommand.Text = "pcxSendCommand( )"
        Me.ToolTip1.SetToolTip(Me.SendCommand, "4.3.コマンド送信関数  ")
        '
        '_OpSendCommand_0
        '
        Me._OpSendCommand_0.BackColor = System.Drawing.SystemColors.Control
        Me._OpSendCommand_0.Checked = True
        Me._OpSendCommand_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpSendCommand_0.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpSendCommand_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpSendCommand.SetIndex(Me._OpSendCommand_0, CType(0, Short))
        Me._OpSendCommand_0.Location = New System.Drawing.Point(210, 22)
        Me._OpSendCommand_0.Name = "_OpSendCommand_0"
        Me._OpSendCommand_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpSendCommand_0.Size = New System.Drawing.Size(39, 15)
        Me._OpSendCommand_0.TabIndex = 67
        Me._OpSendCommand_0.TabStop = True
        Me._OpSendCommand_0.Text = "Non"
        Me.ToolTip1.SetToolTip(Me._OpSendCommand_0, "Response関数を指定しません。")
        '
        '_OpSendCommand_1
        '
        Me._OpSendCommand_1.BackColor = System.Drawing.SystemColors.Control
        Me._OpSendCommand_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpSendCommand_1.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpSendCommand_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpSendCommand.SetIndex(Me._OpSendCommand_1, CType(1, Short))
        Me._OpSendCommand_1.Location = New System.Drawing.Point(258, 22)
        Me._OpSendCommand_1.Name = "_OpSendCommand_1"
        Me._OpSendCommand_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpSendCommand_1.Size = New System.Drawing.Size(139, 15)
        Me._OpSendCommand_1.TabIndex = 66
        Me._OpSendCommand_1.TabStop = True
        Me._OpSendCommand_1.Text = "pcxReceiveResponse()"
        Me.ToolTip1.SetToolTip(Me._OpSendCommand_1, "crwSendCommand関数の後に""ReceiveResponse関数")
        '
        'ReceiveResponse
        '
        Me.ReceiveResponse.BackColor = System.Drawing.SystemColors.Control
        Me.ReceiveResponse.Cursor = System.Windows.Forms.Cursors.Default
        Me.ReceiveResponse.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ReceiveResponse.Location = New System.Drawing.Point(11, 22)
        Me.ReceiveResponse.Name = "ReceiveResponse"
        Me.ReceiveResponse.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ReceiveResponse.Size = New System.Drawing.Size(177, 23)
        Me.ReceiveResponse.TabIndex = 70
        Me.ReceiveResponse.Text = "pcxReceiveResponse( )"
        Me.ToolTip1.SetToolTip(Me.ReceiveResponse, "Pollingコマンド受信関数")
        '
        'SendDataRR
        '
        Me.SendDataRR.BackColor = System.Drawing.SystemColors.Control
        Me.SendDataRR.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendDataRR.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendDataRR.Location = New System.Drawing.Point(8, 20)
        Me.SendDataRR.Name = "SendDataRR"
        Me.SendDataRR.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendDataRR.Size = New System.Drawing.Size(177, 23)
        Me.SendDataRR.TabIndex = 76
        Me.SendDataRR.Text = "pcxSendDataBCCRR( )"
        Me.ToolTip1.SetToolTip(Me.SendDataRR, "Polling コマンド送受信関数  ")
        '
        'SendData
        '
        Me.SendData.BackColor = System.Drawing.SystemColors.Control
        Me.SendData.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendData.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendData.Location = New System.Drawing.Point(8, 18)
        Me.SendData.Name = "SendData"
        Me.SendData.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendData.Size = New System.Drawing.Size(177, 23)
        Me.SendData.TabIndex = 79
        Me.SendData.Text = "pcxSendData( )"
        Me.ToolTip1.SetToolTip(Me.SendData, "Polling コマンド送受信関数  ")
        '
        'ReceiveData
        '
        Me.ReceiveData.BackColor = System.Drawing.SystemColors.Control
        Me.ReceiveData.Cursor = System.Windows.Forms.Cursors.Default
        Me.ReceiveData.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ReceiveData.Location = New System.Drawing.Point(8, 20)
        Me.ReceiveData.Name = "ReceiveData"
        Me.ReceiveData.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ReceiveData.Size = New System.Drawing.Size(177, 23)
        Me.ReceiveData.TabIndex = 92
        Me.ReceiveData.Text = "pcxReceiveData( )"
        Me.ToolTip1.SetToolTip(Me.ReceiveData, "Polling コマンド送受信関数  ")
        '
        'rdhfResDataLen
        '
        Me.rdhfResDataLen.AcceptsReturn = True
        Me.rdhfResDataLen.AutoSize = False
        Me.rdhfResDataLen.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.rdhfResDataLen.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rdhfResDataLen.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rdhfResDataLen.Location = New System.Drawing.Point(723, 56)
        Me.rdhfResDataLen.MaxLength = 0
        Me.rdhfResDataLen.Name = "rdhfResDataLen"
        Me.rdhfResDataLen.ReadOnly = True
        Me.rdhfResDataLen.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdhfResDataLen.Size = New System.Drawing.Size(41, 18)
        Me.rdhfResDataLen.TabIndex = 102
        Me.rdhfResDataLen.Text = ""
        Me.ToolTip1.SetToolTip(Me.rdhfResDataLen, "ResDataLen")
        '
        'rdhfResData
        '
        Me.rdhfResData.AcceptsReturn = True
        Me.rdhfResData.AutoSize = False
        Me.rdhfResData.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.rdhfResData.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rdhfResData.Font = New System.Drawing.Font("ＭＳ ゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.rdhfResData.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rdhfResData.Location = New System.Drawing.Point(152, 56)
        Me.rdhfResData.MaxLength = 0
        Me.rdhfResData.Name = "rdhfResData"
        Me.rdhfResData.ReadOnly = True
        Me.rdhfResData.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdhfResData.Size = New System.Drawing.Size(571, 18)
        Me.rdhfResData.TabIndex = 101
        Me.rdhfResData.Text = "rdhfResData"
        Me.ToolTip1.SetToolTip(Me.rdhfResData, "rdhfResData")
        '
        'ReceiveDataHF
        '
        Me.ReceiveDataHF.BackColor = System.Drawing.SystemColors.Control
        Me.ReceiveDataHF.Cursor = System.Windows.Forms.Cursors.Default
        Me.ReceiveDataHF.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ReceiveDataHF.Location = New System.Drawing.Point(8, 20)
        Me.ReceiveDataHF.Name = "ReceiveDataHF"
        Me.ReceiveDataHF.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ReceiveDataHF.Size = New System.Drawing.Size(177, 23)
        Me.ReceiveDataHF.TabIndex = 95
        Me.ReceiveDataHF.Text = "pcxReceiveDataHF( )"
        Me.ToolTip1.SetToolTip(Me.ReceiveDataHF, "Polling コマンド送受信関数  ")
        '
        'SendBinaryCommandRR
        '
        Me.SendBinaryCommandRR.BackColor = System.Drawing.SystemColors.Control
        Me.SendBinaryCommandRR.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendBinaryCommandRR.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendBinaryCommandRR.Location = New System.Drawing.Point(8, 22)
        Me.SendBinaryCommandRR.Name = "SendBinaryCommandRR"
        Me.SendBinaryCommandRR.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendBinaryCommandRR.Size = New System.Drawing.Size(205, 23)
        Me.SendBinaryCommandRR.TabIndex = 105
        Me.SendBinaryCommandRR.Text = "pcxSendBinaryCommandRR( )"
        Me.ToolTip1.SetToolTip(Me.SendBinaryCommandRR, "Polling コマンド送受信関数  ")
        '
        'ReceiveBinaryReport
        '
        Me.ReceiveBinaryReport.BackColor = System.Drawing.SystemColors.Control
        Me.ReceiveBinaryReport.Cursor = System.Windows.Forms.Cursors.Default
        Me.ReceiveBinaryReport.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ReceiveBinaryReport.Location = New System.Drawing.Point(8, 20)
        Me.ReceiveBinaryReport.Name = "ReceiveBinaryReport"
        Me.ReceiveBinaryReport.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ReceiveBinaryReport.Size = New System.Drawing.Size(205, 23)
        Me.ReceiveBinaryReport.TabIndex = 109
        Me.ReceiveBinaryReport.Text = "pcxReceiveBinaryReport( )"
        Me.ToolTip1.SetToolTip(Me.ReceiveBinaryReport, "Polling コマンド送受信関数  ")
        '
        'SendBinaryCommand
        '
        Me.SendBinaryCommand.BackColor = System.Drawing.SystemColors.Control
        Me.SendBinaryCommand.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendBinaryCommand.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendBinaryCommand.Location = New System.Drawing.Point(8, 20)
        Me.SendBinaryCommand.Name = "SendBinaryCommand"
        Me.SendBinaryCommand.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendBinaryCommand.Size = New System.Drawing.Size(205, 23)
        Me.SendBinaryCommand.TabIndex = 114
        Me.SendBinaryCommand.Text = "pcxSendBinaryCommand( )"
        Me.ToolTip1.SetToolTip(Me.SendBinaryCommand, "Polling コマンド送受信関数  ")
        '
        'ReceiveBinaryData
        '
        Me.ReceiveBinaryData.BackColor = System.Drawing.SystemColors.Control
        Me.ReceiveBinaryData.Cursor = System.Windows.Forms.Cursors.Default
        Me.ReceiveBinaryData.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ReceiveBinaryData.Location = New System.Drawing.Point(8, 20)
        Me.ReceiveBinaryData.Name = "ReceiveBinaryData"
        Me.ReceiveBinaryData.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ReceiveBinaryData.Size = New System.Drawing.Size(205, 23)
        Me.ReceiveBinaryData.TabIndex = 117
        Me.ReceiveBinaryData.Text = "pcxReceiveBinaryData( )"
        Me.ToolTip1.SetToolTip(Me.ReceiveBinaryData, "Polling コマンド送受信関数  ")
        '
        'SendBinaryData
        '
        Me.SendBinaryData.BackColor = System.Drawing.SystemColors.Control
        Me.SendBinaryData.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendBinaryData.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendBinaryData.Location = New System.Drawing.Point(8, 20)
        Me.SendBinaryData.Name = "SendBinaryData"
        Me.SendBinaryData.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendBinaryData.Size = New System.Drawing.Size(205, 23)
        Me.SendBinaryData.TabIndex = 119
        Me.SendBinaryData.Text = "pcxSendBinaryData( )"
        Me.ToolTip1.SetToolTip(Me.SendBinaryData, "Polling コマンド送受信関数  ")
        '
        '_OpEVT_RXCHAR_Return_1
        '
        Me._OpEVT_RXCHAR_Return_1.BackColor = System.Drawing.SystemColors.Control
        Me._OpEVT_RXCHAR_Return_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpEVT_RXCHAR_Return_1.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpEVT_RXCHAR_Return_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpEVT_RXCHAR_Return.SetIndex(Me._OpEVT_RXCHAR_Return_1, CType(1, Short))
        Me._OpEVT_RXCHAR_Return_1.Location = New System.Drawing.Point(60, 16)
        Me._OpEVT_RXCHAR_Return_1.Name = "_OpEVT_RXCHAR_Return_1"
        Me._OpEVT_RXCHAR_Return_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpEVT_RXCHAR_Return_1.Size = New System.Drawing.Size(143, 14)
        Me._OpEVT_RXCHAR_Return_1.TabIndex = 142
        Me._OpEVT_RXCHAR_Return_1.TabStop = True
        Me._OpEVT_RXCHAR_Return_1.Text = "pcxReceiveData"
        Me.ToolTip1.SetToolTip(Me._OpEVT_RXCHAR_Return_1, "pcxReceiveData")
        '
        '_OpEVT_RXCHAR_Return_2
        '
        Me._OpEVT_RXCHAR_Return_2.BackColor = System.Drawing.SystemColors.Control
        Me._OpEVT_RXCHAR_Return_2.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpEVT_RXCHAR_Return_2.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpEVT_RXCHAR_Return_2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpEVT_RXCHAR_Return.SetIndex(Me._OpEVT_RXCHAR_Return_2, CType(2, Short))
        Me._OpEVT_RXCHAR_Return_2.Location = New System.Drawing.Point(60, 30)
        Me._OpEVT_RXCHAR_Return_2.Name = "_OpEVT_RXCHAR_Return_2"
        Me._OpEVT_RXCHAR_Return_2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpEVT_RXCHAR_Return_2.Size = New System.Drawing.Size(143, 14)
        Me._OpEVT_RXCHAR_Return_2.TabIndex = 141
        Me._OpEVT_RXCHAR_Return_2.TabStop = True
        Me._OpEVT_RXCHAR_Return_2.Text = "pcxReceiveDataHF"
        Me.ToolTip1.SetToolTip(Me._OpEVT_RXCHAR_Return_2, "pcxReceiveDataBCCHF")
        '
        '_OpEVT_RXCHAR_Return_3
        '
        Me._OpEVT_RXCHAR_Return_3.BackColor = System.Drawing.SystemColors.Control
        Me._OpEVT_RXCHAR_Return_3.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpEVT_RXCHAR_Return_3.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpEVT_RXCHAR_Return_3.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpEVT_RXCHAR_Return.SetIndex(Me._OpEVT_RXCHAR_Return_3, CType(3, Short))
        Me._OpEVT_RXCHAR_Return_3.Location = New System.Drawing.Point(60, 44)
        Me._OpEVT_RXCHAR_Return_3.Name = "_OpEVT_RXCHAR_Return_3"
        Me._OpEVT_RXCHAR_Return_3.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpEVT_RXCHAR_Return_3.Size = New System.Drawing.Size(143, 14)
        Me._OpEVT_RXCHAR_Return_3.TabIndex = 140
        Me._OpEVT_RXCHAR_Return_3.TabStop = True
        Me._OpEVT_RXCHAR_Return_3.Text = "pcxReceiveBinaryReport"
        Me.ToolTip1.SetToolTip(Me._OpEVT_RXCHAR_Return_3, "pcxReceiveBinaryReport")
        '
        '_OpEVT_RXCHAR_Return_4
        '
        Me._OpEVT_RXCHAR_Return_4.BackColor = System.Drawing.SystemColors.Control
        Me._OpEVT_RXCHAR_Return_4.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpEVT_RXCHAR_Return_4.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpEVT_RXCHAR_Return_4.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpEVT_RXCHAR_Return.SetIndex(Me._OpEVT_RXCHAR_Return_4, CType(4, Short))
        Me._OpEVT_RXCHAR_Return_4.Location = New System.Drawing.Point(60, 58)
        Me._OpEVT_RXCHAR_Return_4.Name = "_OpEVT_RXCHAR_Return_4"
        Me._OpEVT_RXCHAR_Return_4.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpEVT_RXCHAR_Return_4.Size = New System.Drawing.Size(143, 14)
        Me._OpEVT_RXCHAR_Return_4.TabIndex = 139
        Me._OpEVT_RXCHAR_Return_4.TabStop = True
        Me._OpEVT_RXCHAR_Return_4.Text = "pcxReceiveBinaryData"
        Me.ToolTip1.SetToolTip(Me._OpEVT_RXCHAR_Return_4, "pcxReceiveBinaryData")
        '
        'chEventMaskAll
        '
        Me.chEventMaskAll.BackColor = System.Drawing.SystemColors.Control
        Me.chEventMaskAll.Cursor = System.Windows.Forms.Cursors.Default
        Me.chEventMaskAll.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.chEventMaskAll.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMaskAll.Location = New System.Drawing.Point(200, 86)
        Me.chEventMaskAll.Name = "chEventMaskAll"
        Me.chEventMaskAll.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.chEventMaskAll.Size = New System.Drawing.Size(137, 14)
        Me.chEventMaskAll.TabIndex = 136
        Me.chEventMaskAll.Text = "EVT_PCX_ALL"
        Me.ToolTip1.SetToolTip(Me.chEventMaskAll, "ALLイベント[0xFFFFFFFF]")
        '
        '_chEventMask_2
        '
        Me._chEventMask_2.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_2.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_2.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_2, CType(2, Short))
        Me._chEventMask_2.Location = New System.Drawing.Point(8, 44)
        Me._chEventMask_2.Name = "_chEventMask_2"
        Me._chEventMask_2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_2.Size = New System.Drawing.Size(187, 14)
        Me._chEventMask_2.TabIndex = 135
        Me._chEventMask_2.Text = "EVT_PCX_ERR_BUFFER_OVERFLOW"
        Me.ToolTip1.SetToolTip(Me._chEventMask_2, "[0x00000004]")
        '
        '_chEventMask_7
        '
        Me._chEventMask_7.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_7.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_7.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_7.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_7, CType(7, Short))
        Me._chEventMask_7.Location = New System.Drawing.Point(200, 30)
        Me._chEventMask_7.Name = "_chEventMask_7"
        Me._chEventMask_7.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_7.Size = New System.Drawing.Size(137, 14)
        Me._chEventMask_7.TabIndex = 131
        Me._chEventMask_7.Text = "EVT_PCX_RING"
        Me.ToolTip1.SetToolTip(Me._chEventMask_7, "" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "[0x00000100]")
        '
        '_chEventMask_4
        '
        Me._chEventMask_4.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_4.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_4.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_4.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_4, CType(4, Short))
        Me._chEventMask_4.Location = New System.Drawing.Point(8, 72)
        Me._chEventMask_4.Name = "_chEventMask_4"
        Me._chEventMask_4.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_4.Size = New System.Drawing.Size(147, 14)
        Me._chEventMask_4.TabIndex = 130
        Me._chEventMask_4.Text = "EVT_PCX_DSR"
        Me.ToolTip1.SetToolTip(Me._chEventMask_4, "[0x00000010]")
        '
        '_chEventMask_3
        '
        Me._chEventMask_3.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_3.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_3.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_3.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_3, CType(3, Short))
        Me._chEventMask_3.Location = New System.Drawing.Point(8, 58)
        Me._chEventMask_3.Name = "_chEventMask_3"
        Me._chEventMask_3.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_3.Size = New System.Drawing.Size(147, 14)
        Me._chEventMask_3.TabIndex = 129
        Me._chEventMask_3.Text = "EVT_PCX_CTS"
        Me.ToolTip1.SetToolTip(Me._chEventMask_3, "[0x00000008]")
        '
        '_chEventMask_10
        '
        Me._chEventMask_10.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_10.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_10.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_10.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_10, CType(10, Short))
        Me._chEventMask_10.Location = New System.Drawing.Point(200, 72)
        Me._chEventMask_10.Name = "_chEventMask_10"
        Me._chEventMask_10.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_10.Size = New System.Drawing.Size(137, 14)
        Me._chEventMask_10.TabIndex = 128
        Me._chEventMask_10.Text = "EVT_PCX_ERR_PARITY"
        Me.ToolTip1.SetToolTip(Me._chEventMask_10, "" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "[0x00000800]")
        '
        '_chEventMask_9
        '
        Me._chEventMask_9.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_9.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_9.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_9.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_9, CType(9, Short))
        Me._chEventMask_9.Location = New System.Drawing.Point(200, 58)
        Me._chEventMask_9.Name = "_chEventMask_9"
        Me._chEventMask_9.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_9.Size = New System.Drawing.Size(137, 14)
        Me._chEventMask_9.TabIndex = 127
        Me._chEventMask_9.Text = "EVT_PCX_ERR_OVERRUN"
        Me.ToolTip1.SetToolTip(Me._chEventMask_9, "オーバーランエラーが発生した。" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "[0x00000200]")
        '
        '_chEventMask_8
        '
        Me._chEventMask_8.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_8.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_8.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_8.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_8, CType(8, Short))
        Me._chEventMask_8.Location = New System.Drawing.Point(200, 44)
        Me._chEventMask_8.Name = "_chEventMask_8"
        Me._chEventMask_8.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_8.Size = New System.Drawing.Size(137, 14)
        Me._chEventMask_8.TabIndex = 126
        Me._chEventMask_8.Text = "EVT_PCX_ERR_FRAME"
        Me.ToolTip1.SetToolTip(Me._chEventMask_8, "" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "[0x00000200]")
        '
        '_chEventMask_1
        '
        Me._chEventMask_1.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_1.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_1, CType(1, Short))
        Me._chEventMask_1.Location = New System.Drawing.Point(8, 30)
        Me._chEventMask_1.Name = "_chEventMask_1"
        Me._chEventMask_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_1.Size = New System.Drawing.Size(147, 14)
        Me._chEventMask_1.TabIndex = 125
        Me._chEventMask_1.Text = "EVT_CRW_TXEMPTY"
        Me.ToolTip1.SetToolTip(Me._chEventMask_1, "" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "[0x00000002]")
        '
        '_chEventMask_0
        '
        Me._chEventMask_0.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_0.Checked = True
        Me._chEventMask_0.CheckState = System.Windows.Forms.CheckState.Checked
        Me._chEventMask_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_0.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_0, CType(0, Short))
        Me._chEventMask_0.Location = New System.Drawing.Point(8, 16)
        Me._chEventMask_0.Name = "_chEventMask_0"
        Me._chEventMask_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_0.Size = New System.Drawing.Size(147, 14)
        Me._chEventMask_0.TabIndex = 124
        Me._chEventMask_0.Text = "EVT_PCX_RXCHAR"
        Me.ToolTip1.SetToolTip(Me._chEventMask_0, "" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "[0x00000001]")
        '
        '_chEventMask_5
        '
        Me._chEventMask_5.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_5.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_5.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_5.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_5, CType(5, Short))
        Me._chEventMask_5.Location = New System.Drawing.Point(8, 86)
        Me._chEventMask_5.Name = "_chEventMask_5"
        Me._chEventMask_5.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_5.Size = New System.Drawing.Size(147, 14)
        Me._chEventMask_5.TabIndex = 123
        Me._chEventMask_5.Text = "EVT_PCX_RLSD"
        Me.ToolTip1.SetToolTip(Me._chEventMask_5, "[0x00000020]")
        '
        '_chEventMask_6
        '
        Me._chEventMask_6.BackColor = System.Drawing.SystemColors.Control
        Me._chEventMask_6.Checked = True
        Me._chEventMask_6.CheckState = System.Windows.Forms.CheckState.Checked
        Me._chEventMask_6.Cursor = System.Windows.Forms.Cursors.Default
        Me._chEventMask_6.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._chEventMask_6.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chEventMask.SetIndex(Me._chEventMask_6, CType(6, Short))
        Me._chEventMask_6.Location = New System.Drawing.Point(200, 16)
        Me._chEventMask_6.Name = "_chEventMask_6"
        Me._chEventMask_6.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chEventMask_6.Size = New System.Drawing.Size(137, 14)
        Me._chEventMask_6.TabIndex = 122
        Me._chEventMask_6.Text = "EVT_PCX_BREAK"
        Me.ToolTip1.SetToolTip(Me._chEventMask_6, "" & Microsoft.VisualBasic.ChrW(13) & Microsoft.VisualBasic.ChrW(10) & "[0x00000040]")
        '
        'PCCAx1
        '
        Me.PCCAx1.Enabled = True
        Me.PCCAx1.Location = New System.Drawing.Point(32, 688)
        Me.PCCAx1.Name = "PCCAx1"
        Me.PCCAx1.OcxState = CType(resources.GetObject("PCCAx1.OcxState"), System.Windows.Forms.AxHost.State)
        Me.PCCAx1.Size = New System.Drawing.Size(40, 40)
        Me.PCCAx1.TabIndex = 192
        '
        'CancelTimer
        '
        Me.CancelTimer.Interval = 2000
        '
        'MainFrame
        '
        Me.MainFrame.BackColor = System.Drawing.SystemColors.Control
        Me.MainFrame.Controls.AddRange(New System.Windows.Forms.Control() {Me.CheckHandshake, Me._Frame_6, Me._Frame_3, Me._Frame_2, Me._Frame_1, Me.RetMsg, Me.RetVal, Me.ClosePort, Me._FrameOpen_1, Me._FrameOpen_0, Me.OpenPort, Me._Frame_0, Me.MainSSTab, Me.LbRetValue})
        Me.MainFrame.Font = New System.Drawing.Font("Arial", 1.5!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.MainFrame.ForeColor = System.Drawing.SystemColors.ControlText
        Me.MainFrame.Location = New System.Drawing.Point(4, 4)
        Me.MainFrame.Name = "MainFrame"
        Me.MainFrame.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.MainFrame.Size = New System.Drawing.Size(807, 681)
        Me.MainFrame.TabIndex = 40
        Me.MainFrame.TabStop = False
        '
        'CheckHandshake
        '
        Me.CheckHandshake.BackColor = System.Drawing.SystemColors.Control
        Me.CheckHandshake.Cursor = System.Windows.Forms.Cursors.Default
        Me.CheckHandshake.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.CheckHandshake.ForeColor = System.Drawing.SystemColors.ControlText
        Me.CheckHandshake.Location = New System.Drawing.Point(12, 76)
        Me.CheckHandshake.Name = "CheckHandshake"
        Me.CheckHandshake.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CheckHandshake.Size = New System.Drawing.Size(97, 15)
        Me.CheckHandshake.TabIndex = 166
        Me.CheckHandshake.Text = "Handshake"
        '
        '_Frame_6
        '
        Me._Frame_6.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_6.Controls.AddRange(New System.Windows.Forms.Control() {Me.ResponseTimer, Me.ACKTimer, Me._Label_11, Me._Label_7})
        Me._Frame_6.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_6.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_6, CType(6, Short))
        Me._Frame_6.Location = New System.Drawing.Point(4, 288)
        Me._Frame_6.Name = "_Frame_6"
        Me._Frame_6.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_6.Size = New System.Drawing.Size(795, 37)
        Me._Frame_6.TabIndex = 82
        Me._Frame_6.TabStop = False
        Me._Frame_6.Text = "common Timer"
        '
        'ResponseTimer
        '
        Me.ResponseTimer.AcceptsReturn = True
        Me.ResponseTimer.AutoSize = False
        Me.ResponseTimer.BackColor = System.Drawing.SystemColors.Window
        Me.ResponseTimer.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.ResponseTimer.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.ResponseTimer.ForeColor = System.Drawing.SystemColors.WindowText
        Me.ResponseTimer.Location = New System.Drawing.Point(456, 12)
        Me.ResponseTimer.MaxLength = 0
        Me.ResponseTimer.Name = "ResponseTimer"
        Me.ResponseTimer.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ResponseTimer.Size = New System.Drawing.Size(59, 19)
        Me.ResponseTimer.TabIndex = 85
        Me.ResponseTimer.Text = "txt9999"
        '
        'ACKTimer
        '
        Me.ACKTimer.AcceptsReturn = True
        Me.ACKTimer.AutoSize = False
        Me.ACKTimer.BackColor = System.Drawing.SystemColors.Window
        Me.ACKTimer.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.ACKTimer.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.ACKTimer.ForeColor = System.Drawing.SystemColors.WindowText
        Me.ACKTimer.Location = New System.Drawing.Point(210, 12)
        Me.ACKTimer.MaxLength = 0
        Me.ACKTimer.Name = "ACKTimer"
        Me.ACKTimer.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ACKTimer.Size = New System.Drawing.Size(59, 19)
        Me.ACKTimer.TabIndex = 83
        Me.ACKTimer.Text = "txt9999"
        '
        '_Label_11
        '
        Me._Label_11.AutoSize = True
        Me._Label_11.BackColor = System.Drawing.SystemColors.Control
        Me._Label_11.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_11.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_11.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_11, CType(11, Short))
        Me._Label_11.Location = New System.Drawing.Point(380, 16)
        Me._Label_11.Name = "_Label_11"
        Me._Label_11.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_11.Size = New System.Drawing.Size(168, 13)
        Me._Label_11.TabIndex = 86
        Me._Label_11.Text = "ResponseTimer                      ms"
        '
        '_Label_7
        '
        Me._Label_7.AutoSize = True
        Me._Label_7.BackColor = System.Drawing.SystemColors.Control
        Me._Label_7.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_7.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_7.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_7, CType(7, Short))
        Me._Label_7.Location = New System.Drawing.Point(160, 16)
        Me._Label_7.Name = "_Label_7"
        Me._Label_7.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_7.Size = New System.Drawing.Size(141, 13)
        Me._Label_7.TabIndex = 84
        Me._Label_7.Text = "ACKTimer                      ms"
        '
        '_Frame_3
        '
        Me._Frame_3.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_3.Controls.AddRange(New System.Windows.Forms.Control() {Me.TxtCancelTimer, Me._ChkCancelTimer_1, Me._ChkCancelTimer_0, Me.ChkComBufferClearabbr, Me.CmbComBufferClear, Me.ComBufferClear, Me.CbCancelFlag, Me._OpCancelFlag_1, Me._OpCancelFlag_0, Me.CancelFlag, Me.LbCancelFlag})
        Me._Frame_3.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_3.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_3, CType(3, Short))
        Me._Frame_3.Location = New System.Drawing.Point(4, 246)
        Me._Frame_3.Name = "_Frame_3"
        Me._Frame_3.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_3.Size = New System.Drawing.Size(795, 43)
        Me._Frame_3.TabIndex = 58
        Me._Frame_3.TabStop = False
        Me._Frame_3.Text = "common APIs"
        '
        'TxtCancelTimer
        '
        Me.TxtCancelTimer.AcceptsReturn = True
        Me.TxtCancelTimer.AutoSize = False
        Me.TxtCancelTimer.BackColor = System.Drawing.SystemColors.Window
        Me.TxtCancelTimer.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtCancelTimer.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtCancelTimer.Location = New System.Drawing.Point(300, 10)
        Me.TxtCancelTimer.MaxLength = 5
        Me.TxtCancelTimer.Name = "TxtCancelTimer"
        Me.TxtCancelTimer.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtCancelTimer.Size = New System.Drawing.Size(49, 26)
        Me.TxtCancelTimer.TabIndex = 146
        Me.TxtCancelTimer.Text = "2000"
        Me.TxtCancelTimer.TextAlign = System.Windows.Forms.HorizontalAlignment.Right
        '
        'ChkComBufferClearabbr
        '
        Me.ChkComBufferClearabbr.BackColor = System.Drawing.SystemColors.Control
        Me.ChkComBufferClearabbr.Cursor = System.Windows.Forms.Cursors.Default
        Me.ChkComBufferClearabbr.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.ChkComBufferClearabbr.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ChkComBufferClearabbr.Location = New System.Drawing.Point(742, 18)
        Me.ChkComBufferClearabbr.Name = "ChkComBufferClearabbr"
        Me.ChkComBufferClearabbr.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ChkComBufferClearabbr.Size = New System.Drawing.Size(51, 17)
        Me.ChkComBufferClearabbr.TabIndex = 31
        Me.ChkComBufferClearabbr.Text = "abbr."
        '
        'CmbComBufferClear
        '
        Me.CmbComBufferClear.BackColor = System.Drawing.SystemColors.Window
        Me.CmbComBufferClear.Cursor = System.Windows.Forms.Cursors.Default
        Me.CmbComBufferClear.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.CmbComBufferClear.ForeColor = System.Drawing.SystemColors.WindowText
        Me.CmbComBufferClear.Items.AddRange(New Object() {"0:Send and Receive Buffer", "1:Send Buffer", "2:Receive Buffer"})
        Me.CmbComBufferClear.Location = New System.Drawing.Point(576, 14)
        Me.CmbComBufferClear.Name = "CmbComBufferClear"
        Me.CmbComBufferClear.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CmbComBufferClear.Size = New System.Drawing.Size(161, 22)
        Me.CmbComBufferClear.TabIndex = 30
        Me.CmbComBufferClear.Text = "CmbComBufferClear"
        '
        'ComBufferClear
        '
        Me.ComBufferClear.BackColor = System.Drawing.SystemColors.Control
        Me.ComBufferClear.Cursor = System.Windows.Forms.Cursors.Default
        Me.ComBufferClear.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.ComBufferClear.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ComBufferClear.Location = New System.Drawing.Point(430, 14)
        Me.ComBufferClear.Name = "ComBufferClear"
        Me.ComBufferClear.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ComBufferClear.Size = New System.Drawing.Size(145, 21)
        Me.ComBufferClear.TabIndex = 29
        Me.ComBufferClear.Text = "pcxComBufferClear( )"
        '
        'CbCancelFlag
        '
        Me.CbCancelFlag.BackColor = System.Drawing.SystemColors.Window
        Me.CbCancelFlag.Cursor = System.Windows.Forms.Cursors.Default
        Me.CbCancelFlag.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.CbCancelFlag.ForeColor = System.Drawing.SystemColors.WindowText
        Me.CbCancelFlag.Items.AddRange(New Object() {"True", "False"})
        Me.CbCancelFlag.Location = New System.Drawing.Point(188, 14)
        Me.CbCancelFlag.Name = "CbCancelFlag"
        Me.CbCancelFlag.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CbCancelFlag.Size = New System.Drawing.Size(79, 22)
        Me.CbCancelFlag.TabIndex = 28
        Me.CbCancelFlag.Text = "CbCancelFlag"
        '
        '_OpCancelFlag_1
        '
        Me._OpCancelFlag_1.BackColor = System.Drawing.SystemColors.Control
        Me._OpCancelFlag_1.Checked = True
        Me._OpCancelFlag_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpCancelFlag_1.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpCancelFlag_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpCancelFlag.SetIndex(Me._OpCancelFlag_1, CType(1, Short))
        Me._OpCancelFlag_1.Location = New System.Drawing.Point(134, 26)
        Me._OpCancelFlag_1.Name = "_OpCancelFlag_1"
        Me._OpCancelFlag_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpCancelFlag_1.Size = New System.Drawing.Size(49, 13)
        Me._OpCancelFlag_1.TabIndex = 26
        Me._OpCancelFlag_1.TabStop = True
        Me._OpCancelFlag_1.Text = "Read"
        '
        '_OpCancelFlag_0
        '
        Me._OpCancelFlag_0.BackColor = System.Drawing.SystemColors.Control
        Me._OpCancelFlag_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpCancelFlag_0.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpCancelFlag_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpCancelFlag.SetIndex(Me._OpCancelFlag_0, CType(0, Short))
        Me._OpCancelFlag_0.Location = New System.Drawing.Point(134, 12)
        Me._OpCancelFlag_0.Name = "_OpCancelFlag_0"
        Me._OpCancelFlag_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpCancelFlag_0.Size = New System.Drawing.Size(49, 13)
        Me._OpCancelFlag_0.TabIndex = 27
        Me._OpCancelFlag_0.TabStop = True
        Me._OpCancelFlag_0.Text = "Set"
        '
        'CancelFlag
        '
        Me.CancelFlag.BackColor = System.Drawing.SystemColors.Control
        Me.CancelFlag.Cursor = System.Windows.Forms.Cursors.Default
        Me.CancelFlag.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.CancelFlag.ForeColor = System.Drawing.SystemColors.ControlText
        Me.CancelFlag.Location = New System.Drawing.Point(8, 16)
        Me.CancelFlag.Name = "CancelFlag"
        Me.CancelFlag.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CancelFlag.Size = New System.Drawing.Size(81, 19)
        Me.CancelFlag.TabIndex = 25
        Me.CancelFlag.Text = "CancelFlag"
        '
        'LbCancelFlag
        '
        Me.LbCancelFlag.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.LbCancelFlag.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
        Me.LbCancelFlag.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbCancelFlag.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.LbCancelFlag.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbCancelFlag.Location = New System.Drawing.Point(92, 16)
        Me.LbCancelFlag.Name = "LbCancelFlag"
        Me.LbCancelFlag.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbCancelFlag.Size = New System.Drawing.Size(39, 17)
        Me.LbCancelFlag.TabIndex = 59
        Me.LbCancelFlag.Text = "LbCancelFlag"
        Me.LbCancelFlag.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        '_Frame_2
        '
        Me._Frame_2.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_2.Controls.AddRange(New System.Windows.Forms.Control() {Me.TxtReceiveDataLen, Me.TxtReceiveData})
        Me._Frame_2.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_2, CType(2, Short))
        Me._Frame_2.Location = New System.Drawing.Point(4, 196)
        Me._Frame_2.Name = "_Frame_2"
        Me._Frame_2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_2.Size = New System.Drawing.Size(795, 51)
        Me._Frame_2.TabIndex = 57
        Me._Frame_2.TabStop = False
        Me._Frame_2.Text = "ReceiveData Property"
        '
        '_Frame_1
        '
        Me._Frame_1.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_1.Controls.AddRange(New System.Windows.Forms.Control() {Me.TxtSendDataRD, Me.SendDataRead, Me.SendDataSet, Me.TxtSendDataWR})
        Me._Frame_1.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_1, CType(1, Short))
        Me._Frame_1.Location = New System.Drawing.Point(4, 130)
        Me._Frame_1.Name = "_Frame_1"
        Me._Frame_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_1.Size = New System.Drawing.Size(795, 67)
        Me._Frame_1.TabIndex = 56
        Me._Frame_1.TabStop = False
        Me._Frame_1.Text = "SendData Property"
        '
        'TxtSendDataRD
        '
        Me.TxtSendDataRD.AcceptsReturn = True
        Me.TxtSendDataRD.AutoSize = False
        Me.TxtSendDataRD.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.TxtSendDataRD.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtSendDataRD.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.TxtSendDataRD.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtSendDataRD.Location = New System.Drawing.Point(98, 38)
        Me.TxtSendDataRD.MaxLength = 0
        Me.TxtSendDataRD.Name = "TxtSendDataRD"
        Me.TxtSendDataRD.ReadOnly = True
        Me.TxtSendDataRD.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtSendDataRD.Size = New System.Drawing.Size(692, 21)
        Me.TxtSendDataRD.TabIndex = 22
        Me.TxtSendDataRD.Text = "TxtSendDataRD"
        '
        'SendDataRead
        '
        Me.SendDataRead.BackColor = System.Drawing.SystemColors.Control
        Me.SendDataRead.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendDataRead.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.SendDataRead.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendDataRead.Location = New System.Drawing.Point(4, 38)
        Me.SendDataRead.Name = "SendDataRead"
        Me.SendDataRead.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendDataRead.Size = New System.Drawing.Size(91, 21)
        Me.SendDataRead.TabIndex = 21
        Me.SendDataRead.Text = "SendData Read"
        '
        'SendDataSet
        '
        Me.SendDataSet.BackColor = System.Drawing.SystemColors.Control
        Me.SendDataSet.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendDataSet.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.SendDataSet.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendDataSet.Location = New System.Drawing.Point(4, 16)
        Me.SendDataSet.Name = "SendDataSet"
        Me.SendDataSet.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendDataSet.Size = New System.Drawing.Size(91, 21)
        Me.SendDataSet.TabIndex = 19
        Me.SendDataSet.Text = "SendData Set"
        '
        'TxtSendDataWR
        '
        Me.TxtSendDataWR.AcceptsReturn = True
        Me.TxtSendDataWR.AutoSize = False
        Me.TxtSendDataWR.BackColor = System.Drawing.SystemColors.Window
        Me.TxtSendDataWR.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtSendDataWR.Font = New System.Drawing.Font("ＭＳ ゴシック", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.TxtSendDataWR.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtSendDataWR.Location = New System.Drawing.Point(98, 16)
        Me.TxtSendDataWR.MaxLength = 0
        Me.TxtSendDataWR.Name = "TxtSendDataWR"
        Me.TxtSendDataWR.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtSendDataWR.Size = New System.Drawing.Size(691, 21)
        Me.TxtSendDataWR.TabIndex = 20
        Me.TxtSendDataWR.Text = "TxtSendDataWR"
        '
        'RetMsg
        '
        Me.RetMsg.AcceptsReturn = True
        Me.RetMsg.AutoSize = False
        Me.RetMsg.BackColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(255, Byte), CType(128, Byte))
        Me.RetMsg.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.RetMsg.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.RetMsg.ForeColor = System.Drawing.SystemColors.WindowText
        Me.RetMsg.Location = New System.Drawing.Point(185, 650)
        Me.RetMsg.MaxLength = 0
        Me.RetMsg.Name = "RetMsg"
        Me.RetMsg.ReadOnly = True
        Me.RetMsg.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.RetMsg.Size = New System.Drawing.Size(577, 23)
        Me.RetMsg.TabIndex = 54
        Me.RetMsg.Text = ""
        '
        'RetVal
        '
        Me.RetVal.AcceptsReturn = True
        Me.RetVal.AutoSize = False
        Me.RetVal.BackColor = System.Drawing.SystemColors.Window
        Me.RetVal.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.RetVal.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 12.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.RetVal.ForeColor = System.Drawing.SystemColors.WindowText
        Me.RetVal.Location = New System.Drawing.Point(74, 650)
        Me.RetVal.MaxLength = 0
        Me.RetVal.Name = "RetVal"
        Me.RetVal.ReadOnly = True
        Me.RetVal.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.RetVal.Size = New System.Drawing.Size(108, 24)
        Me.RetVal.TabIndex = 53
        Me.RetVal.Text = ""
        '
        '_FrameOpen_1
        '
        Me._FrameOpen_1.BackColor = System.Drawing.SystemColors.Control
        Me._FrameOpen_1.Controls.AddRange(New System.Windows.Forms.Control() {Me.Claimed, Me.ChkBreakControl, Me.ChkRTSLineControl, Me.Version, Me.CmdGetCommStatus, Me.ChkDTRLineControl, Me.LbClaimed, Me.LbBreakControl, Me.LbRTSLineControl, Me.LbVersion, Me._LbGetCommStatus_2, Me._LbGetCommStatus_1, Me._LbGetCommStatus_0, Me.LbDTRLineControl, Me.LbResponseTimer, Me._Label_3, Me.LbACKTimer, Me._Label_2})
        Me._FrameOpen_1.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._FrameOpen_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.FrameOpen.SetIndex(Me._FrameOpen_1, CType(1, Short))
        Me._FrameOpen_1.Location = New System.Drawing.Point(406, 44)
        Me._FrameOpen_1.Name = "_FrameOpen_1"
        Me._FrameOpen_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._FrameOpen_1.Size = New System.Drawing.Size(393, 87)
        Me._FrameOpen_1.TabIndex = 45
        Me._FrameOpen_1.TabStop = False
        Me._FrameOpen_1.Text = "Property Status"
        '
        'Claimed
        '
        Me.Claimed.BackColor = System.Drawing.SystemColors.Control
        Me.Claimed.Cursor = System.Windows.Forms.Cursors.Default
        Me.Claimed.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Claimed.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Claimed.Location = New System.Drawing.Point(6, 50)
        Me.Claimed.Name = "Claimed"
        Me.Claimed.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Claimed.Size = New System.Drawing.Size(83, 17)
        Me.Claimed.TabIndex = 152
        Me.Claimed.Text = "Claimed"
        '
        'ChkBreakControl
        '
        Me.ChkBreakControl.BackColor = System.Drawing.SystemColors.Control
        Me.ChkBreakControl.Cursor = System.Windows.Forms.Cursors.Default
        Me.ChkBreakControl.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.ChkBreakControl.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ChkBreakControl.Location = New System.Drawing.Point(144, 58)
        Me.ChkBreakControl.Name = "ChkBreakControl"
        Me.ChkBreakControl.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ChkBreakControl.Size = New System.Drawing.Size(97, 15)
        Me.ChkBreakControl.TabIndex = 150
        Me.ChkBreakControl.Text = "BreakControl"
        '
        'ChkRTSLineControl
        '
        Me.ChkRTSLineControl.BackColor = System.Drawing.SystemColors.Control
        Me.ChkRTSLineControl.Checked = True
        Me.ChkRTSLineControl.CheckState = System.Windows.Forms.CheckState.Checked
        Me.ChkRTSLineControl.Cursor = System.Windows.Forms.Cursors.Default
        Me.ChkRTSLineControl.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.ChkRTSLineControl.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ChkRTSLineControl.Location = New System.Drawing.Point(144, 46)
        Me.ChkRTSLineControl.Name = "ChkRTSLineControl"
        Me.ChkRTSLineControl.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ChkRTSLineControl.Size = New System.Drawing.Size(97, 15)
        Me.ChkRTSLineControl.TabIndex = 148
        Me.ChkRTSLineControl.Text = "RTSLineControl"
        '
        'Version
        '
        Me.Version.BackColor = System.Drawing.SystemColors.Control
        Me.Version.Cursor = System.Windows.Forms.Cursors.Default
        Me.Version.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Version.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Version.Location = New System.Drawing.Point(142, 12)
        Me.Version.Name = "Version"
        Me.Version.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Version.Size = New System.Drawing.Size(83, 18)
        Me.Version.TabIndex = 16
        Me.Version.Text = "OCX Version"
        '
        'CmdGetCommStatus
        '
        Me.CmdGetCommStatus.BackColor = System.Drawing.SystemColors.Control
        Me.CmdGetCommStatus.Cursor = System.Windows.Forms.Cursors.Default
        Me.CmdGetCommStatus.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.CmdGetCommStatus.ForeColor = System.Drawing.SystemColors.ControlText
        Me.CmdGetCommStatus.Location = New System.Drawing.Point(296, 10)
        Me.CmdGetCommStatus.Name = "CmdGetCommStatus"
        Me.CmdGetCommStatus.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CmdGetCommStatus.Size = New System.Drawing.Size(93, 19)
        Me.CmdGetCommStatus.TabIndex = 18
        Me.CmdGetCommStatus.Text = "GetCommStatus"
        '
        'ChkDTRLineControl
        '
        Me.ChkDTRLineControl.BackColor = System.Drawing.SystemColors.Control
        Me.ChkDTRLineControl.Checked = True
        Me.ChkDTRLineControl.CheckState = System.Windows.Forms.CheckState.Checked
        Me.ChkDTRLineControl.Cursor = System.Windows.Forms.Cursors.Default
        Me.ChkDTRLineControl.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.ChkDTRLineControl.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ChkDTRLineControl.Location = New System.Drawing.Point(144, 34)
        Me.ChkDTRLineControl.Name = "ChkDTRLineControl"
        Me.ChkDTRLineControl.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ChkDTRLineControl.Size = New System.Drawing.Size(97, 15)
        Me.ChkDTRLineControl.TabIndex = 17
        Me.ChkDTRLineControl.Text = "DTRLineControl"
        '
        'LbClaimed
        '
        Me.LbClaimed.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.LbClaimed.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbClaimed.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.LbClaimed.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbClaimed.Location = New System.Drawing.Point(10, 68)
        Me.LbClaimed.Name = "LbClaimed"
        Me.LbClaimed.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbClaimed.Size = New System.Drawing.Size(79, 15)
        Me.LbClaimed.TabIndex = 153
        Me.LbClaimed.Text = "Port256 = Flase"
        '
        'LbVersion
        '
        Me.LbVersion.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.LbVersion.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbVersion.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.LbVersion.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbVersion.Location = New System.Drawing.Point(232, 12)
        Me.LbVersion.Name = "LbVersion"
        Me.LbVersion.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbVersion.Size = New System.Drawing.Size(55, 17)
        Me.LbVersion.TabIndex = 52
        Me.LbVersion.Text = "X.X.X.X"
        Me.LbVersion.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        '_LbGetCommStatus_2
        '
        Me._LbGetCommStatus_2.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me._LbGetCommStatus_2.Cursor = System.Windows.Forms.Cursors.Default
        Me._LbGetCommStatus_2.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._LbGetCommStatus_2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbGetCommStatus.SetIndex(Me._LbGetCommStatus_2, CType(2, Short))
        Me._LbGetCommStatus_2.Location = New System.Drawing.Point(296, 64)
        Me._LbGetCommStatus_2.Name = "_LbGetCommStatus_2"
        Me._LbGetCommStatus_2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._LbGetCommStatus_2.Size = New System.Drawing.Size(88, 15)
        Me._LbGetCommStatus_2.TabIndex = 51
        Me._LbGetCommStatus_2.Text = "0 = RLSD_OFF"
        '
        '_LbGetCommStatus_1
        '
        Me._LbGetCommStatus_1.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me._LbGetCommStatus_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._LbGetCommStatus_1.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._LbGetCommStatus_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbGetCommStatus.SetIndex(Me._LbGetCommStatus_1, CType(1, Short))
        Me._LbGetCommStatus_1.Location = New System.Drawing.Point(296, 48)
        Me._LbGetCommStatus_1.Name = "_LbGetCommStatus_1"
        Me._LbGetCommStatus_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._LbGetCommStatus_1.Size = New System.Drawing.Size(88, 15)
        Me._LbGetCommStatus_1.TabIndex = 50
        Me._LbGetCommStatus_1.Text = "0 = CTS_OFF"
        '
        '_LbGetCommStatus_0
        '
        Me._LbGetCommStatus_0.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me._LbGetCommStatus_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._LbGetCommStatus_0.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._LbGetCommStatus_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbGetCommStatus.SetIndex(Me._LbGetCommStatus_0, CType(0, Short))
        Me._LbGetCommStatus_0.Location = New System.Drawing.Point(296, 32)
        Me._LbGetCommStatus_0.Name = "_LbGetCommStatus_0"
        Me._LbGetCommStatus_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._LbGetCommStatus_0.Size = New System.Drawing.Size(88, 15)
        Me._LbGetCommStatus_0.TabIndex = 49
        Me._LbGetCommStatus_0.Text = "0 = DSR_OFF"
        '
        '_Label_3
        '
        Me._Label_3.AutoSize = True
        Me._Label_3.BackColor = System.Drawing.SystemColors.Control
        Me._Label_3.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_3.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_3.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_3, CType(3, Short))
        Me._Label_3.Location = New System.Drawing.Point(6, 38)
        Me._Label_3.Name = "_Label_3"
        Me._Label_3.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_3.Size = New System.Drawing.Size(125, 11)
        Me._Label_3.TabIndex = 47
        Me._Label_3.Text = "ResponseTimer                 ms"
        '
        '_Label_2
        '
        Me._Label_2.AutoSize = True
        Me._Label_2.BackColor = System.Drawing.SystemColors.Control
        Me._Label_2.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_2.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_2, CType(2, Short))
        Me._Label_2.Location = New System.Drawing.Point(6, 18)
        Me._Label_2.Name = "_Label_2"
        Me._Label_2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_2.Size = New System.Drawing.Size(102, 11)
        Me._Label_2.TabIndex = 46
        Me._Label_2.Text = "ACKTimer                 ms"
        '
        '_FrameOpen_0
        '
        Me._FrameOpen_0.BackColor = System.Drawing.SystemColors.Control
        Me._FrameOpen_0.Controls.AddRange(New System.Windows.Forms.Control() {Me._OpComSet_1, Me._OpComSet_0, Me.TxtRXBufferSize, Me.TxtTXBufferSize, Me.CmbPortNo, Me.CmbBaudRate, Me.CmbDataBit, Me.CmbParity, Me.CmbDSRCheck, Me.CmbCTSCheck, Me._Label_1, Me._Label_0})
        Me._FrameOpen_0.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._FrameOpen_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.FrameOpen.SetIndex(Me._FrameOpen_0, CType(0, Short))
        Me._FrameOpen_0.Location = New System.Drawing.Point(116, 44)
        Me._FrameOpen_0.Name = "_FrameOpen_0"
        Me._FrameOpen_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._FrameOpen_0.Size = New System.Drawing.Size(287, 87)
        Me._FrameOpen_0.TabIndex = 42
        Me._FrameOpen_0.TabStop = False
        Me._FrameOpen_0.Text = "Com Setting"
        '
        '_OpComSet_1
        '
        Me._OpComSet_1.BackColor = System.Drawing.SystemColors.Control
        Me._OpComSet_1.Checked = True
        Me._OpComSet_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpComSet_1.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpComSet_1.ForeColor = System.Drawing.Color.FromArgb(CType(0, Byte), CType(192, Byte), CType(0, Byte))
        Me.OpComSet.SetIndex(Me._OpComSet_1, CType(1, Short))
        Me._OpComSet_1.Location = New System.Drawing.Point(4, 48)
        Me._OpComSet_1.Name = "_OpComSet_1"
        Me._OpComSet_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpComSet_1.Size = New System.Drawing.Size(52, 19)
        Me._OpComSet_1.TabIndex = 4
        Me._OpComSet_1.TabStop = True
        Me._OpComSet_1.Text = "Read"
        '
        '_OpComSet_0
        '
        Me._OpComSet_0.BackColor = System.Drawing.SystemColors.Control
        Me._OpComSet_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpComSet_0.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpComSet_0.ForeColor = System.Drawing.Color.FromArgb(CType(255, Byte), CType(128, Byte), CType(128, Byte))
        Me.OpComSet.SetIndex(Me._OpComSet_0, CType(0, Short))
        Me._OpComSet_0.Location = New System.Drawing.Point(4, 24)
        Me._OpComSet_0.Name = "_OpComSet_0"
        Me._OpComSet_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpComSet_0.Size = New System.Drawing.Size(44, 19)
        Me._OpComSet_0.TabIndex = 5
        Me._OpComSet_0.TabStop = True
        Me._OpComSet_0.Text = "Set"
        '
        'TxtRXBufferSize
        '
        Me.TxtRXBufferSize.AcceptsReturn = True
        Me.TxtRXBufferSize.AutoSize = False
        Me.TxtRXBufferSize.BackColor = System.Drawing.SystemColors.Window
        Me.TxtRXBufferSize.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtRXBufferSize.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.TxtRXBufferSize.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtRXBufferSize.Location = New System.Drawing.Point(222, 60)
        Me.TxtRXBufferSize.MaxLength = 0
        Me.TxtRXBufferSize.Name = "TxtRXBufferSize"
        Me.TxtRXBufferSize.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtRXBufferSize.Size = New System.Drawing.Size(49, 21)
        Me.TxtRXBufferSize.TabIndex = 13
        Me.TxtRXBufferSize.Text = "RX2048"
        Me.TxtRXBufferSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
        '
        'TxtTXBufferSize
        '
        Me.TxtTXBufferSize.AcceptsReturn = True
        Me.TxtTXBufferSize.AutoSize = False
        Me.TxtTXBufferSize.BackColor = System.Drawing.SystemColors.Window
        Me.TxtTXBufferSize.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtTXBufferSize.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.TxtTXBufferSize.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtTXBufferSize.Location = New System.Drawing.Point(164, 60)
        Me.TxtTXBufferSize.MaxLength = 0
        Me.TxtTXBufferSize.Name = "TxtTXBufferSize"
        Me.TxtTXBufferSize.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtTXBufferSize.Size = New System.Drawing.Size(49, 21)
        Me.TxtTXBufferSize.TabIndex = 12
        Me.TxtTXBufferSize.Text = "TX2048"
        Me.TxtTXBufferSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Center
        '
        'CmbPortNo
        '
        Me.CmbPortNo.BackColor = System.Drawing.SystemColors.Window
        Me.CmbPortNo.Cursor = System.Windows.Forms.Cursors.Default
        Me.CmbPortNo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.CmbPortNo.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.CmbPortNo.ForeColor = System.Drawing.SystemColors.WindowText
        Me.CmbPortNo.Items.AddRange(New Object() {"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "70", "71", "72", "73", "74", "75", "76", "77", "78", "79", "80", "81", "82", "83", "84", "85", "86", "87", "88", "89", "90", "91", "92", "93", "94", "95", "96", "97", "98", "99", "100", "101", "102", "103", "104", "105", "106", "107", "108", "109", "110", "111", "112", "113", "114", "115", "116", "117", "118", "119", "120", "121", "122", "123", "124", "125", "126", "127", "128", "129", "130", "131", "132", "133", "134", "135", "136", "137", "138", "139", "140", "141", "142", "143", "144", "145", "146", "147", "148", "149", "150", "151", "152", "153", "154", "155", "156", "157", "158", "159", "160", "161", "162", "163", "164", "165", "166", "167", "168", "169", "170", "171", "172", "173", "174", "175", "176", "177", "178", "179", "180", "181", "182", "183", "184", "185", "186", "187", "188", "189", "190", "191", "192", "193", "194", "195", "196", "197", "198", "199", "200", "201", "202", "203", "204", "205", "206", "207", "208", "209", "210", "211", "212", "213", "214", "215", "216", "217", "218", "219", "220", "221", "222", "223", "224", "225", "226", "227", "228", "229", "230", "231", "232", "233", "234", "235", "236", "237", "238", "239", "240", "241", "242", "243", "244", "245", "246", "247", "248", "249", "250", "251", "252", "253", "254", "255", "256"})
        Me.CmbPortNo.Location = New System.Drawing.Point(54, 26)
        Me.CmbPortNo.Name = "CmbPortNo"
        Me.CmbPortNo.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CmbPortNo.Size = New System.Drawing.Size(46, 22)
        Me.CmbPortNo.TabIndex = 6
        '
        'CmbBaudRate
        '
        Me.CmbBaudRate.BackColor = System.Drawing.SystemColors.Window
        Me.CmbBaudRate.Cursor = System.Windows.Forms.Cursors.Default
        Me.CmbBaudRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.CmbBaudRate.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.CmbBaudRate.ForeColor = System.Drawing.SystemColors.WindowText
        Me.CmbBaudRate.Items.AddRange(New Object() {"1200", "2400", "4800", "9600", "19200", "38400", "57600", "115200"})
        Me.CmbBaudRate.Location = New System.Drawing.Point(98, 26)
        Me.CmbBaudRate.Name = "CmbBaudRate"
        Me.CmbBaudRate.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CmbBaudRate.Size = New System.Drawing.Size(62, 22)
        Me.CmbBaudRate.TabIndex = 7
        '
        'CmbDataBit
        '
        Me.CmbDataBit.BackColor = System.Drawing.SystemColors.Window
        Me.CmbDataBit.Cursor = System.Windows.Forms.Cursors.Default
        Me.CmbDataBit.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.CmbDataBit.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.CmbDataBit.ForeColor = System.Drawing.SystemColors.WindowText
        Me.CmbDataBit.Items.AddRange(New Object() {"7", "8"})
        Me.CmbDataBit.Location = New System.Drawing.Point(160, 26)
        Me.CmbDataBit.Name = "CmbDataBit"
        Me.CmbDataBit.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CmbDataBit.Size = New System.Drawing.Size(32, 22)
        Me.CmbDataBit.TabIndex = 8
        '
        'CmbParity
        '
        Me.CmbParity.BackColor = System.Drawing.SystemColors.Window
        Me.CmbParity.Cursor = System.Windows.Forms.Cursors.Default
        Me.CmbParity.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList
        Me.CmbParity.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.CmbParity.ForeColor = System.Drawing.SystemColors.WindowText
        Me.CmbParity.Items.AddRange(New Object() {"N：None", "E：Even", "O：Odd"})
        Me.CmbParity.Location = New System.Drawing.Point(192, 26)
        Me.CmbParity.Name = "CmbParity"
        Me.CmbParity.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CmbParity.Size = New System.Drawing.Size(87, 22)
        Me.CmbParity.TabIndex = 9
        '
        'CmbDSRCheck
        '
        Me.CmbDSRCheck.BackColor = System.Drawing.SystemColors.Window
        Me.CmbDSRCheck.Cursor = System.Windows.Forms.Cursors.Default
        Me.CmbDSRCheck.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.CmbDSRCheck.ForeColor = System.Drawing.SystemColors.WindowText
        Me.CmbDSRCheck.Items.AddRange(New Object() {"True", "False"})
        Me.CmbDSRCheck.Location = New System.Drawing.Point(56, 60)
        Me.CmbDSRCheck.Name = "CmbDSRCheck"
        Me.CmbDSRCheck.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CmbDSRCheck.Size = New System.Drawing.Size(51, 22)
        Me.CmbDSRCheck.TabIndex = 10
        Me.CmbDSRCheck.Text = "False"
        '
        'CmbCTSCheck
        '
        Me.CmbCTSCheck.BackColor = System.Drawing.SystemColors.Window
        Me.CmbCTSCheck.Cursor = System.Windows.Forms.Cursors.Default
        Me.CmbCTSCheck.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.CmbCTSCheck.ForeColor = System.Drawing.SystemColors.WindowText
        Me.CmbCTSCheck.Items.AddRange(New Object() {"True", "False"})
        Me.CmbCTSCheck.Location = New System.Drawing.Point(110, 60)
        Me.CmbCTSCheck.Name = "CmbCTSCheck"
        Me.CmbCTSCheck.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.CmbCTSCheck.Size = New System.Drawing.Size(51, 22)
        Me.CmbCTSCheck.TabIndex = 11
        Me.CmbCTSCheck.Text = "False"
        '
        '_Label_1
        '
        Me._Label_1.AutoSize = True
        Me._Label_1.BackColor = System.Drawing.SystemColors.Control
        Me._Label_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_1.Font = New System.Drawing.Font("Arial", 6.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_1, CType(1, Short))
        Me._Label_1.Location = New System.Drawing.Point(56, 50)
        Me._Label_1.Name = "_Label_1"
        Me._Label_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_1.Size = New System.Drawing.Size(222, 11)
        Me._Label_1.TabIndex = 44
        Me._Label_1.Text = "DSR_Check CTS_Check TXBufferSize RXBufferSize"
        '
        '_Label_0
        '
        Me._Label_0.AutoSize = True
        Me._Label_0.BackColor = System.Drawing.SystemColors.Control
        Me._Label_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_0.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_0, CType(0, Short))
        Me._Label_0.Location = New System.Drawing.Point(54, 14)
        Me._Label_0.Name = "_Label_0"
        Me._Label_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_0.Size = New System.Drawing.Size(187, 13)
        Me._Label_0.TabIndex = 43
        Me._Label_0.Text = "PortNo    BaudRate    DataBit  Parity"
        '
        '_Frame_0
        '
        Me._Frame_0.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_0.Controls.AddRange(New System.Windows.Forms.Control() {Me.GetPortNames, Me.TxtPortNames})
        Me._Frame_0.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_0, CType(0, Short))
        Me._Frame_0.Location = New System.Drawing.Point(4, 4)
        Me._Frame_0.Name = "_Frame_0"
        Me._Frame_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_0.Size = New System.Drawing.Size(796, 41)
        Me._Frame_0.TabIndex = 41
        Me._Frame_0.TabStop = False
        '
        'TxtPortNames
        '
        Me.TxtPortNames.AcceptsReturn = True
        Me.TxtPortNames.AutoSize = False
        Me.TxtPortNames.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.TxtPortNames.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtPortNames.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.TxtPortNames.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtPortNames.Location = New System.Drawing.Point(118, 14)
        Me.TxtPortNames.MaxLength = 0
        Me.TxtPortNames.Name = "TxtPortNames"
        Me.TxtPortNames.ReadOnly = True
        Me.TxtPortNames.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtPortNames.Size = New System.Drawing.Size(671, 18)
        Me.TxtPortNames.TabIndex = 1
        Me.TxtPortNames.Text = ""
        '
        'MainSSTab
        '
        Me.MainSSTab.Controls.AddRange(New System.Windows.Forms.Control() {Me._MainSSTab_TabPage0, Me._MainSSTab_TabPage3, Me._MainSSTab_TabPage2, Me._MainSSTab_TabPage1, Me._MainSSTab_TabPage4, Me._MainSSTab_TabPage5})
        Me.MainSSTab.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.MainSSTab.ItemSize = New System.Drawing.Size(42, 18)
        Me.MainSSTab.Location = New System.Drawing.Point(6, 328)
        Me.MainSSTab.Name = "MainSSTab"
        Me.MainSSTab.SelectedIndex = 0
        Me.MainSSTab.Size = New System.Drawing.Size(793, 303)
        Me.MainSSTab.TabIndex = 32
        '
        '_MainSSTab_TabPage0
        '
        Me._MainSSTab_TabPage0.Controls.AddRange(New System.Windows.Forms.Control() {Me._Frame_5, Me._Frame_4, Me.Frame2, Me.Frame3})
        Me._MainSSTab_TabPage0.Location = New System.Drawing.Point(4, 22)
        Me._MainSSTab_TabPage0.Name = "_MainSSTab_TabPage0"
        Me._MainSSTab_TabPage0.Size = New System.Drawing.Size(785, 277)
        Me._MainSSTab_TabPage0.TabIndex = 0
        Me._MainSSTab_TabPage0.Text = "Polling Method"
        '
        '_Frame_5
        '
        Me._Frame_5.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_5.Controls.AddRange(New System.Windows.Forms.Control() {Me.scrrRecMode, Me.scrrBusyTimeOut, Me.SendCommandRR, Me._Label_6})
        Me._Frame_5.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_5.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_5, CType(5, Short))
        Me._Frame_5.Location = New System.Drawing.Point(8, 96)
        Me._Frame_5.Name = "_Frame_5"
        Me._Frame_5.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_5.Size = New System.Drawing.Size(771, 53)
        Me._Frame_5.TabIndex = 60
        Me._Frame_5.TabStop = False
        Me._Frame_5.Text = "pcxSendCommandRR"
        '
        'scrrRecMode
        '
        Me.scrrRecMode.AcceptsReturn = True
        Me.scrrRecMode.AutoSize = False
        Me.scrrRecMode.BackColor = System.Drawing.SystemColors.Window
        Me.scrrRecMode.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.scrrRecMode.ForeColor = System.Drawing.SystemColors.WindowText
        Me.scrrRecMode.Location = New System.Drawing.Point(195, 23)
        Me.scrrRecMode.MaxLength = 0
        Me.scrrRecMode.Name = "scrrRecMode"
        Me.scrrRecMode.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.scrrRecMode.Size = New System.Drawing.Size(51, 18)
        Me.scrrRecMode.TabIndex = 38
        Me.scrrRecMode.Text = "1"
        '
        'scrrBusyTimeOut
        '
        Me.scrrBusyTimeOut.AcceptsReturn = True
        Me.scrrBusyTimeOut.AutoSize = False
        Me.scrrBusyTimeOut.BackColor = System.Drawing.SystemColors.Window
        Me.scrrBusyTimeOut.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.scrrBusyTimeOut.ForeColor = System.Drawing.SystemColors.WindowText
        Me.scrrBusyTimeOut.Location = New System.Drawing.Point(251, 23)
        Me.scrrBusyTimeOut.MaxLength = 0
        Me.scrrBusyTimeOut.Name = "scrrBusyTimeOut"
        Me.scrrBusyTimeOut.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.scrrBusyTimeOut.Size = New System.Drawing.Size(62, 18)
        Me.scrrBusyTimeOut.TabIndex = 39
        Me.scrrBusyTimeOut.Text = "5000ms"
        '
        '_Label_6
        '
        Me._Label_6.AutoSize = True
        Me._Label_6.BackColor = System.Drawing.SystemColors.Control
        Me._Label_6.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_6.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_6.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_6, CType(6, Short))
        Me._Label_6.Location = New System.Drawing.Point(198, 10)
        Me._Label_6.Name = "_Label_6"
        Me._Label_6.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_6.Size = New System.Drawing.Size(130, 13)
        Me._Label_6.TabIndex = 61
        Me._Label_6.Text = "iRecMode  BusyTimeOut"
        '
        '_Frame_4
        '
        Me._Frame_4.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_4.Controls.AddRange(New System.Windows.Forms.Control() {Me.TxtERR, Me.TxtCOMSTS, Me.TxtSEN, Me.TxtResDATA, Me._Label_5, Me._Label_4})
        Me._Frame_4.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_4.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_4, CType(4, Short))
        Me._Frame_4.Location = New System.Drawing.Point(8, 8)
        Me._Frame_4.Name = "_Frame_4"
        Me._Frame_4.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_4.Size = New System.Drawing.Size(769, 85)
        Me._Frame_4.TabIndex = 62
        Me._Frame_4.TabStop = False
        Me._Frame_4.Text = "Polling common Property APIs"
        '
        'TxtERR
        '
        Me.TxtERR.AcceptsReturn = True
        Me.TxtERR.AutoSize = False
        Me.TxtERR.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.TxtERR.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtERR.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.TxtERR.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtERR.Location = New System.Drawing.Point(74, 60)
        Me.TxtERR.MaxLength = 0
        Me.TxtERR.Name = "TxtERR"
        Me.TxtERR.ReadOnly = True
        Me.TxtERR.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtERR.Size = New System.Drawing.Size(67, 21)
        Me.TxtERR.TabIndex = 35
        Me.TxtERR.Text = "SEN"
        '
        'TxtCOMSTS
        '
        Me.TxtCOMSTS.AcceptsReturn = True
        Me.TxtCOMSTS.AutoSize = False
        Me.TxtCOMSTS.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.TxtCOMSTS.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtCOMSTS.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.TxtCOMSTS.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtCOMSTS.Location = New System.Drawing.Point(4, 28)
        Me.TxtCOMSTS.MaxLength = 0
        Me.TxtCOMSTS.Name = "TxtCOMSTS"
        Me.TxtCOMSTS.ReadOnly = True
        Me.TxtCOMSTS.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtCOMSTS.Size = New System.Drawing.Size(67, 21)
        Me.TxtCOMSTS.TabIndex = 33
        Me.TxtCOMSTS.Text = "COMSTS"
        '
        'TxtSEN
        '
        Me.TxtSEN.AcceptsReturn = True
        Me.TxtSEN.AutoSize = False
        Me.TxtSEN.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.TxtSEN.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtSEN.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.TxtSEN.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtSEN.Location = New System.Drawing.Point(73, 28)
        Me.TxtSEN.MaxLength = 0
        Me.TxtSEN.Name = "TxtSEN"
        Me.TxtSEN.ReadOnly = True
        Me.TxtSEN.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtSEN.Size = New System.Drawing.Size(67, 21)
        Me.TxtSEN.TabIndex = 34
        Me.TxtSEN.Text = "SEN"
        '
        'TxtResDATA
        '
        Me.TxtResDATA.AcceptsReturn = True
        Me.TxtResDATA.AutoSize = False
        Me.TxtResDATA.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.TxtResDATA.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.TxtResDATA.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.75!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.TxtResDATA.ForeColor = System.Drawing.SystemColors.WindowText
        Me.TxtResDATA.Location = New System.Drawing.Point(142, 28)
        Me.TxtResDATA.MaxLength = 0
        Me.TxtResDATA.Name = "TxtResDATA"
        Me.TxtResDATA.ReadOnly = True
        Me.TxtResDATA.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.TxtResDATA.Size = New System.Drawing.Size(618, 21)
        Me.TxtResDATA.TabIndex = 36
        Me.TxtResDATA.Text = "ResDATA"
        '
        '_Label_5
        '
        Me._Label_5.AutoSize = True
        Me._Label_5.BackColor = System.Drawing.SystemColors.Control
        Me._Label_5.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_5.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_5.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_5, CType(5, Short))
        Me._Label_5.Location = New System.Drawing.Point(76, 48)
        Me._Label_5.Name = "_Label_5"
        Me._Label_5.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_5.Size = New System.Drawing.Size(28, 13)
        Me._Label_5.TabIndex = 64
        Me._Label_5.Text = "ERR"
        '
        '_Label_4
        '
        Me._Label_4.AutoSize = True
        Me._Label_4.BackColor = System.Drawing.SystemColors.Control
        Me._Label_4.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_4.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_4.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_4, CType(4, Short))
        Me._Label_4.Location = New System.Drawing.Point(8, 16)
        Me._Label_4.Name = "_Label_4"
        Me._Label_4.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_4.Size = New System.Drawing.Size(202, 13)
        Me._Label_4.TabIndex = 63
        Me._Label_4.Text = "COM/STS       SEN                ResDATA"
        '
        'Frame2
        '
        Me.Frame2.BackColor = System.Drawing.SystemColors.Control
        Me.Frame2.Controls.AddRange(New System.Windows.Forms.Control() {Me.SendCommand, Me._OpSendCommand_0, Me._OpSendCommand_1})
        Me.Frame2.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Frame2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame2.Location = New System.Drawing.Point(8, 152)
        Me.Frame2.Name = "Frame2"
        Me.Frame2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Frame2.Size = New System.Drawing.Size(771, 54)
        Me.Frame2.TabIndex = 65
        Me.Frame2.TabStop = False
        Me.Frame2.Text = "pcxSendCommand"
        '
        'Frame3
        '
        Me.Frame3.BackColor = System.Drawing.SystemColors.Control
        Me.Frame3.Controls.AddRange(New System.Windows.Forms.Control() {Me.rrCancel, Me.rrRecMode, Me.rrTimeOut, Me.ReceiveResponse, Me._Label_9})
        Me.Frame3.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Frame3.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame3.Location = New System.Drawing.Point(8, 208)
        Me.Frame3.Name = "Frame3"
        Me.Frame3.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Frame3.Size = New System.Drawing.Size(771, 60)
        Me.Frame3.TabIndex = 69
        Me.Frame3.TabStop = False
        Me.Frame3.Text = "pcxReceiveResponse"
        '
        'rrCancel
        '
        Me.rrCancel.BackColor = System.Drawing.SystemColors.Control
        Me.rrCancel.Cursor = System.Windows.Forms.Cursors.Default
        Me.rrCancel.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.rrCancel.ForeColor = System.Drawing.SystemColors.ControlText
        Me.rrCancel.Location = New System.Drawing.Point(348, 26)
        Me.rrCancel.Name = "rrCancel"
        Me.rrCancel.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rrCancel.Size = New System.Drawing.Size(81, 19)
        Me.rrCancel.TabIndex = 191
        Me.rrCancel.Text = "CancelFlag"
        '
        'rrRecMode
        '
        Me.rrRecMode.AcceptsReturn = True
        Me.rrRecMode.AutoSize = False
        Me.rrRecMode.BackColor = System.Drawing.SystemColors.Window
        Me.rrRecMode.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rrRecMode.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rrRecMode.Location = New System.Drawing.Point(195, 25)
        Me.rrRecMode.MaxLength = 0
        Me.rrRecMode.Name = "rrRecMode"
        Me.rrRecMode.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rrRecMode.Size = New System.Drawing.Size(51, 22)
        Me.rrRecMode.TabIndex = 72
        Me.rrRecMode.Text = "0"
        '
        'rrTimeOut
        '
        Me.rrTimeOut.AcceptsReturn = True
        Me.rrTimeOut.AutoSize = False
        Me.rrTimeOut.BackColor = System.Drawing.SystemColors.Window
        Me.rrTimeOut.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rrTimeOut.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rrTimeOut.Location = New System.Drawing.Point(251, 25)
        Me.rrTimeOut.MaxLength = 0
        Me.rrTimeOut.Name = "rrTimeOut"
        Me.rrTimeOut.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rrTimeOut.Size = New System.Drawing.Size(62, 22)
        Me.rrTimeOut.TabIndex = 71
        Me.rrTimeOut.Text = "5000ms"
        '
        '_Label_9
        '
        Me._Label_9.AutoSize = True
        Me._Label_9.BackColor = System.Drawing.SystemColors.Control
        Me._Label_9.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_9.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_9.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_9, CType(9, Short))
        Me._Label_9.Location = New System.Drawing.Point(198, 12)
        Me._Label_9.Name = "_Label_9"
        Me._Label_9.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_9.Size = New System.Drawing.Size(130, 13)
        Me._Label_9.TabIndex = 73
        Me._Label_9.Text = "iRecMode  BusyTimeOut"
        '
        '_MainSSTab_TabPage3
        '
        Me._MainSSTab_TabPage3.Controls.AddRange(New System.Windows.Forms.Control() {Me._Frame_14, Me._Frame_15})
        Me._MainSSTab_TabPage3.Location = New System.Drawing.Point(4, 22)
        Me._MainSSTab_TabPage3.Name = "_MainSSTab_TabPage3"
        Me._MainSSTab_TabPage3.Size = New System.Drawing.Size(785, 277)
        Me._MainSSTab_TabPage3.TabIndex = 3
        Me._MainSSTab_TabPage3.Text = "Binary Method"
        '
        '_Frame_14
        '
        Me._Frame_14.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_14.Controls.AddRange(New System.Windows.Forms.Control() {Me.ReceiveBinaryData})
        Me._Frame_14.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_14.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_14, CType(14, Short))
        Me._Frame_14.Location = New System.Drawing.Point(8, 80)
        Me._Frame_14.Name = "_Frame_14"
        Me._Frame_14.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_14.Size = New System.Drawing.Size(771, 53)
        Me._Frame_14.TabIndex = 116
        Me._Frame_14.TabStop = False
        Me._Frame_14.Text = "pcxReceiveBinaryData"
        '
        '_Frame_15
        '
        Me._Frame_15.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_15.Controls.AddRange(New System.Windows.Forms.Control() {Me.SendBinaryData})
        Me._Frame_15.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_15.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_15, CType(15, Short))
        Me._Frame_15.Location = New System.Drawing.Point(8, 16)
        Me._Frame_15.Name = "_Frame_15"
        Me._Frame_15.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_15.Size = New System.Drawing.Size(771, 53)
        Me._Frame_15.TabIndex = 118
        Me._Frame_15.TabStop = False
        Me._Frame_15.Text = "pcxSendBinaryData"
        '
        '_MainSSTab_TabPage2
        '
        Me._MainSSTab_TabPage2.Controls.AddRange(New System.Windows.Forms.Control() {Me._Frame_11, Me._Frame_12, Me._Frame_13})
        Me._MainSSTab_TabPage2.Location = New System.Drawing.Point(4, 22)
        Me._MainSSTab_TabPage2.Name = "_MainSSTab_TabPage2"
        Me._MainSSTab_TabPage2.Size = New System.Drawing.Size(785, 277)
        Me._MainSSTab_TabPage2.TabIndex = 2
        Me._MainSSTab_TabPage2.Text = "UHF Binary Method"
        '
        '_Frame_11
        '
        Me._Frame_11.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_11.Controls.AddRange(New System.Windows.Forms.Control() {Me.sbcrrReceiveResponse, Me.sbcrrRetryCount, Me.SendBinaryCommandRR, Me._Label_18, Me._Label_14})
        Me._Frame_11.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_11.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_11, CType(11, Short))
        Me._Frame_11.Location = New System.Drawing.Point(10, 8)
        Me._Frame_11.Name = "_Frame_11"
        Me._Frame_11.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_11.Size = New System.Drawing.Size(771, 53)
        Me._Frame_11.TabIndex = 104
        Me._Frame_11.TabStop = False
        Me._Frame_11.Text = "pcxSendBinaryCommandRR"
        '
        'sbcrrReceiveResponse
        '
        Me.sbcrrReceiveResponse.AcceptsReturn = True
        Me.sbcrrReceiveResponse.AutoSize = False
        Me.sbcrrReceiveResponse.BackColor = System.Drawing.SystemColors.Window
        Me.sbcrrReceiveResponse.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.sbcrrReceiveResponse.ForeColor = System.Drawing.SystemColors.WindowText
        Me.sbcrrReceiveResponse.Location = New System.Drawing.Point(238, 26)
        Me.sbcrrReceiveResponse.MaxLength = 0
        Me.sbcrrReceiveResponse.Name = "sbcrrReceiveResponse"
        Me.sbcrrReceiveResponse.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.sbcrrReceiveResponse.Size = New System.Drawing.Size(75, 18)
        Me.sbcrrReceiveResponse.TabIndex = 169
        Me.sbcrrReceiveResponse.Text = "0"
        '
        'sbcrrRetryCount
        '
        Me.sbcrrRetryCount.AcceptsReturn = True
        Me.sbcrrRetryCount.AutoSize = False
        Me.sbcrrRetryCount.BackColor = System.Drawing.SystemColors.Window
        Me.sbcrrRetryCount.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.sbcrrRetryCount.ForeColor = System.Drawing.SystemColors.WindowText
        Me.sbcrrRetryCount.Location = New System.Drawing.Point(323, 25)
        Me.sbcrrRetryCount.MaxLength = 0
        Me.sbcrrRetryCount.Name = "sbcrrRetryCount"
        Me.sbcrrRetryCount.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.sbcrrRetryCount.Size = New System.Drawing.Size(51, 18)
        Me.sbcrrRetryCount.TabIndex = 106
        Me.sbcrrRetryCount.Text = "99999"
        '
        '_Label_18
        '
        Me._Label_18.AutoSize = True
        Me._Label_18.BackColor = System.Drawing.SystemColors.Control
        Me._Label_18.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_18.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_18.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_18, CType(18, Short))
        Me._Label_18.Location = New System.Drawing.Point(238, 14)
        Me._Label_18.Name = "_Label_18"
        Me._Label_18.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_18.Size = New System.Drawing.Size(84, 13)
        Me._Label_18.TabIndex = 170
        Me._Label_18.Text = "ResponseMode"
        '
        '_Label_14
        '
        Me._Label_14.AutoSize = True
        Me._Label_14.BackColor = System.Drawing.SystemColors.Control
        Me._Label_14.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_14.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_14.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_14, CType(14, Short))
        Me._Label_14.Location = New System.Drawing.Point(324, 12)
        Me._Label_14.Name = "_Label_14"
        Me._Label_14.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_14.Size = New System.Drawing.Size(61, 13)
        Me._Label_14.TabIndex = 107
        Me._Label_14.Text = "RetryCount"
        '
        '_Frame_12
        '
        Me._Frame_12.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_12.Controls.AddRange(New System.Windows.Forms.Control() {Me.rbrCancel, Me.rbrReceiveResponse, Me.rbrRetryCount, Me.ReceiveBinaryReport, Me._Label_17, Me._Label_15})
        Me._Frame_12.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_12.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_12, CType(12, Short))
        Me._Frame_12.Location = New System.Drawing.Point(8, 136)
        Me._Frame_12.Name = "_Frame_12"
        Me._Frame_12.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_12.Size = New System.Drawing.Size(771, 53)
        Me._Frame_12.TabIndex = 108
        Me._Frame_12.TabStop = False
        Me._Frame_12.Text = "pcxReceiveBinaryReport"
        '
        'rbrCancel
        '
        Me.rbrCancel.BackColor = System.Drawing.SystemColors.Control
        Me.rbrCancel.Cursor = System.Windows.Forms.Cursors.Default
        Me.rbrCancel.ForeColor = System.Drawing.SystemColors.ControlText
        Me.rbrCancel.Location = New System.Drawing.Point(392, 20)
        Me.rbrCancel.Name = "rbrCancel"
        Me.rbrCancel.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rbrCancel.Size = New System.Drawing.Size(77, 21)
        Me.rbrCancel.TabIndex = 190
        Me.rbrCancel.Text = "CancelFlag"
        '
        'rbrReceiveResponse
        '
        Me.rbrReceiveResponse.AcceptsReturn = True
        Me.rbrReceiveResponse.AutoSize = False
        Me.rbrReceiveResponse.BackColor = System.Drawing.SystemColors.Window
        Me.rbrReceiveResponse.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rbrReceiveResponse.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rbrReceiveResponse.Location = New System.Drawing.Point(238, 22)
        Me.rbrReceiveResponse.MaxLength = 0
        Me.rbrReceiveResponse.Name = "rbrReceiveResponse"
        Me.rbrReceiveResponse.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rbrReceiveResponse.Size = New System.Drawing.Size(75, 18)
        Me.rbrReceiveResponse.TabIndex = 167
        Me.rbrReceiveResponse.Text = "0"
        '
        'rbrRetryCount
        '
        Me.rbrRetryCount.AcceptsReturn = True
        Me.rbrRetryCount.AutoSize = False
        Me.rbrRetryCount.BackColor = System.Drawing.SystemColors.Window
        Me.rbrRetryCount.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rbrRetryCount.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rbrRetryCount.Location = New System.Drawing.Point(324, 22)
        Me.rbrRetryCount.MaxLength = 0
        Me.rbrRetryCount.Name = "rbrRetryCount"
        Me.rbrRetryCount.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rbrRetryCount.Size = New System.Drawing.Size(51, 18)
        Me.rbrRetryCount.TabIndex = 110
        Me.rbrRetryCount.Text = "99999"
        '
        '_Label_17
        '
        Me._Label_17.AutoSize = True
        Me._Label_17.BackColor = System.Drawing.SystemColors.Control
        Me._Label_17.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_17.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_17.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_17, CType(17, Short))
        Me._Label_17.Location = New System.Drawing.Point(238, 10)
        Me._Label_17.Name = "_Label_17"
        Me._Label_17.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_17.Size = New System.Drawing.Size(84, 13)
        Me._Label_17.TabIndex = 168
        Me._Label_17.Text = "ResponseMode"
        '
        '_Label_15
        '
        Me._Label_15.AutoSize = True
        Me._Label_15.BackColor = System.Drawing.SystemColors.Control
        Me._Label_15.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_15.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_15.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_15, CType(15, Short))
        Me._Label_15.Location = New System.Drawing.Point(324, 10)
        Me._Label_15.Name = "_Label_15"
        Me._Label_15.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_15.Size = New System.Drawing.Size(61, 13)
        Me._Label_15.TabIndex = 111
        Me._Label_15.Text = "RetryCount"
        '
        '_Frame_13
        '
        Me._Frame_13.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_13.Controls.AddRange(New System.Windows.Forms.Control() {Me.SendBinaryCommand, Me.sbcRetryCount, Me._Label_16})
        Me._Frame_13.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_13.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_13, CType(13, Short))
        Me._Frame_13.Location = New System.Drawing.Point(8, 72)
        Me._Frame_13.Name = "_Frame_13"
        Me._Frame_13.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_13.Size = New System.Drawing.Size(771, 53)
        Me._Frame_13.TabIndex = 112
        Me._Frame_13.TabStop = False
        Me._Frame_13.Text = "pcxSendBinaryCommand"
        '
        'sbcRetryCount
        '
        Me.sbcRetryCount.AcceptsReturn = True
        Me.sbcRetryCount.AutoSize = False
        Me.sbcRetryCount.BackColor = System.Drawing.SystemColors.Window
        Me.sbcRetryCount.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.sbcRetryCount.ForeColor = System.Drawing.SystemColors.WindowText
        Me.sbcRetryCount.Location = New System.Drawing.Point(238, 22)
        Me.sbcRetryCount.MaxLength = 0
        Me.sbcRetryCount.Name = "sbcRetryCount"
        Me.sbcRetryCount.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.sbcRetryCount.Size = New System.Drawing.Size(51, 18)
        Me.sbcRetryCount.TabIndex = 113
        Me.sbcRetryCount.Text = "99999"
        '
        '_Label_16
        '
        Me._Label_16.AutoSize = True
        Me._Label_16.BackColor = System.Drawing.SystemColors.Control
        Me._Label_16.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_16.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_16.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_16, CType(16, Short))
        Me._Label_16.Location = New System.Drawing.Point(240, 10)
        Me._Label_16.Name = "_Label_16"
        Me._Label_16.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_16.Size = New System.Drawing.Size(61, 13)
        Me._Label_16.TabIndex = 115
        Me._Label_16.Text = "RetryCount"
        '
        '_MainSSTab_TabPage1
        '
        Me._MainSSTab_TabPage1.Controls.AddRange(New System.Windows.Forms.Control() {Me._Frame_7, Me._Frame_8, Me._Frame_9, Me._Frame_10})
        Me._MainSSTab_TabPage1.Location = New System.Drawing.Point(4, 22)
        Me._MainSSTab_TabPage1.Name = "_MainSSTab_TabPage1"
        Me._MainSSTab_TabPage1.Size = New System.Drawing.Size(785, 277)
        Me._MainSSTab_TabPage1.TabIndex = 1
        Me._MainSSTab_TabPage1.Text = "STX-EXT_BCC Method"
        '
        '_Frame_7
        '
        Me._Frame_7.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_7.Controls.AddRange(New System.Windows.Forms.Control() {Me.sdrrResponseMode, Me.SendDataRR, Me.sdrrRetryCount, Me._Label_19, Me._Label_8})
        Me._Frame_7.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_7.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_7, CType(7, Short))
        Me._Frame_7.Location = New System.Drawing.Point(8, 8)
        Me._Frame_7.Name = "_Frame_7"
        Me._Frame_7.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_7.Size = New System.Drawing.Size(771, 53)
        Me._Frame_7.TabIndex = 74
        Me._Frame_7.TabStop = False
        Me._Frame_7.Text = "pcxSendDataRR"
        '
        'sdrrResponseMode
        '
        Me.sdrrResponseMode.AcceptsReturn = True
        Me.sdrrResponseMode.AutoSize = False
        Me.sdrrResponseMode.BackColor = System.Drawing.SystemColors.Window
        Me.sdrrResponseMode.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.sdrrResponseMode.ForeColor = System.Drawing.SystemColors.WindowText
        Me.sdrrResponseMode.Location = New System.Drawing.Point(194, 23)
        Me.sdrrResponseMode.MaxLength = 0
        Me.sdrrResponseMode.Name = "sdrrResponseMode"
        Me.sdrrResponseMode.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.sdrrResponseMode.Size = New System.Drawing.Size(51, 18)
        Me.sdrrResponseMode.TabIndex = 171
        Me.sdrrResponseMode.Text = "0"
        '
        'sdrrRetryCount
        '
        Me.sdrrRetryCount.AcceptsReturn = True
        Me.sdrrRetryCount.AutoSize = False
        Me.sdrrRetryCount.BackColor = System.Drawing.SystemColors.Window
        Me.sdrrRetryCount.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.sdrrRetryCount.ForeColor = System.Drawing.SystemColors.WindowText
        Me.sdrrRetryCount.Location = New System.Drawing.Point(277, 23)
        Me.sdrrRetryCount.MaxLength = 0
        Me.sdrrRetryCount.Name = "sdrrRetryCount"
        Me.sdrrRetryCount.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.sdrrRetryCount.Size = New System.Drawing.Size(51, 18)
        Me.sdrrRetryCount.TabIndex = 75
        Me.sdrrRetryCount.Text = "99999"
        '
        '_Label_19
        '
        Me._Label_19.AutoSize = True
        Me._Label_19.BackColor = System.Drawing.SystemColors.Control
        Me._Label_19.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_19.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_19.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_19, CType(19, Short))
        Me._Label_19.Location = New System.Drawing.Point(195, 10)
        Me._Label_19.Name = "_Label_19"
        Me._Label_19.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_19.Size = New System.Drawing.Size(84, 13)
        Me._Label_19.TabIndex = 172
        Me._Label_19.Text = "ResponseMode"
        '
        '_Label_8
        '
        Me._Label_8.AutoSize = True
        Me._Label_8.BackColor = System.Drawing.SystemColors.Control
        Me._Label_8.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_8.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_8.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_8, CType(8, Short))
        Me._Label_8.Location = New System.Drawing.Point(278, 10)
        Me._Label_8.Name = "_Label_8"
        Me._Label_8.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_8.Size = New System.Drawing.Size(61, 13)
        Me._Label_8.TabIndex = 77
        Me._Label_8.Text = "RetryCount"
        '
        '_Frame_8
        '
        Me._Frame_8.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_8.Controls.AddRange(New System.Windows.Forms.Control() {Me.sdStxEtxBcc, Me.sdRetryCount, Me.sdACKCheck, Me.SendData, Me._Label_10})
        Me._Frame_8.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_8.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_8, CType(8, Short))
        Me._Frame_8.Location = New System.Drawing.Point(8, 64)
        Me._Frame_8.Name = "_Frame_8"
        Me._Frame_8.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_8.Size = New System.Drawing.Size(771, 53)
        Me._Frame_8.TabIndex = 78
        Me._Frame_8.TabStop = False
        Me._Frame_8.Text = "pcxSendData"
        '
        'sdStxEtxBcc
        '
        Me.sdStxEtxBcc.AcceptsReturn = True
        Me.sdStxEtxBcc.AutoSize = False
        Me.sdStxEtxBcc.BackColor = System.Drawing.SystemColors.Window
        Me.sdStxEtxBcc.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.sdStxEtxBcc.ForeColor = System.Drawing.SystemColors.WindowText
        Me.sdStxEtxBcc.Location = New System.Drawing.Point(340, 22)
        Me.sdStxEtxBcc.MaxLength = 0
        Me.sdStxEtxBcc.Name = "sdStxEtxBcc"
        Me.sdStxEtxBcc.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.sdStxEtxBcc.Size = New System.Drawing.Size(51, 18)
        Me.sdStxEtxBcc.TabIndex = 88
        Me.sdStxEtxBcc.Text = "99999"
        '
        'sdRetryCount
        '
        Me.sdRetryCount.AcceptsReturn = True
        Me.sdRetryCount.AutoSize = False
        Me.sdRetryCount.BackColor = System.Drawing.SystemColors.Window
        Me.sdRetryCount.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.sdRetryCount.ForeColor = System.Drawing.SystemColors.WindowText
        Me.sdRetryCount.Location = New System.Drawing.Point(266, 22)
        Me.sdRetryCount.MaxLength = 0
        Me.sdRetryCount.Name = "sdRetryCount"
        Me.sdRetryCount.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.sdRetryCount.Size = New System.Drawing.Size(51, 18)
        Me.sdRetryCount.TabIndex = 87
        Me.sdRetryCount.Text = "99999"
        '
        'sdACKCheck
        '
        Me.sdACKCheck.AcceptsReturn = True
        Me.sdACKCheck.AutoSize = False
        Me.sdACKCheck.BackColor = System.Drawing.SystemColors.Window
        Me.sdACKCheck.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.sdACKCheck.ForeColor = System.Drawing.SystemColors.WindowText
        Me.sdACKCheck.Location = New System.Drawing.Point(195, 23)
        Me.sdACKCheck.MaxLength = 0
        Me.sdACKCheck.Name = "sdACKCheck"
        Me.sdACKCheck.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.sdACKCheck.Size = New System.Drawing.Size(51, 18)
        Me.sdACKCheck.TabIndex = 80
        Me.sdACKCheck.Text = "99999"
        '
        '_Label_10
        '
        Me._Label_10.AutoSize = True
        Me._Label_10.BackColor = System.Drawing.SystemColors.Control
        Me._Label_10.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_10.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_10.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_10, CType(10, Short))
        Me._Label_10.Location = New System.Drawing.Point(196, 10)
        Me._Label_10.Name = "_Label_10"
        Me._Label_10.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_10.Size = New System.Drawing.Size(209, 13)
        Me._Label_10.TabIndex = 81
        Me._Label_10.Text = "ACKCheck      RetryCount       StxEtxBcc"
        '
        '_Frame_9
        '
        Me._Frame_9.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_9.Controls.AddRange(New System.Windows.Forms.Control() {Me.rdResponseMode, Me.ReceiveData, Me.rdACKResponse, Me.rdStxEtxBcc, Me._Label_20, Me._Label_12})
        Me._Frame_9.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_9.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_9, CType(9, Short))
        Me._Frame_9.Location = New System.Drawing.Point(8, 120)
        Me._Frame_9.Name = "_Frame_9"
        Me._Frame_9.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_9.Size = New System.Drawing.Size(771, 53)
        Me._Frame_9.TabIndex = 89
        Me._Frame_9.TabStop = False
        Me._Frame_9.Text = "pcxReceiveData"
        '
        'rdResponseMode
        '
        Me.rdResponseMode.AcceptsReturn = True
        Me.rdResponseMode.AutoSize = False
        Me.rdResponseMode.BackColor = System.Drawing.SystemColors.Window
        Me.rdResponseMode.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rdResponseMode.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rdResponseMode.Location = New System.Drawing.Point(194, 23)
        Me.rdResponseMode.MaxLength = 0
        Me.rdResponseMode.Name = "rdResponseMode"
        Me.rdResponseMode.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdResponseMode.Size = New System.Drawing.Size(51, 18)
        Me.rdResponseMode.TabIndex = 173
        Me.rdResponseMode.Text = "0"
        '
        'rdACKResponse
        '
        Me.rdACKResponse.AcceptsReturn = True
        Me.rdACKResponse.AutoSize = False
        Me.rdACKResponse.BackColor = System.Drawing.SystemColors.Window
        Me.rdACKResponse.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rdACKResponse.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rdACKResponse.Location = New System.Drawing.Point(283, 23)
        Me.rdACKResponse.MaxLength = 0
        Me.rdACKResponse.Name = "rdACKResponse"
        Me.rdACKResponse.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdACKResponse.Size = New System.Drawing.Size(51, 18)
        Me.rdACKResponse.TabIndex = 91
        Me.rdACKResponse.Text = "99999"
        '
        'rdStxEtxBcc
        '
        Me.rdStxEtxBcc.AcceptsReturn = True
        Me.rdStxEtxBcc.AutoSize = False
        Me.rdStxEtxBcc.BackColor = System.Drawing.SystemColors.Window
        Me.rdStxEtxBcc.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rdStxEtxBcc.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rdStxEtxBcc.Location = New System.Drawing.Point(362, 22)
        Me.rdStxEtxBcc.MaxLength = 0
        Me.rdStxEtxBcc.Name = "rdStxEtxBcc"
        Me.rdStxEtxBcc.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdStxEtxBcc.Size = New System.Drawing.Size(51, 18)
        Me.rdStxEtxBcc.TabIndex = 90
        Me.rdStxEtxBcc.Text = "99999"
        '
        '_Label_20
        '
        Me._Label_20.AutoSize = True
        Me._Label_20.BackColor = System.Drawing.SystemColors.Control
        Me._Label_20.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_20.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_20.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_20, CType(20, Short))
        Me._Label_20.Location = New System.Drawing.Point(195, 10)
        Me._Label_20.Name = "_Label_20"
        Me._Label_20.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_20.Size = New System.Drawing.Size(84, 13)
        Me._Label_20.TabIndex = 174
        Me._Label_20.Text = "ResponseMode"
        '
        '_Label_12
        '
        Me._Label_12.AutoSize = True
        Me._Label_12.BackColor = System.Drawing.SystemColors.Control
        Me._Label_12.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_12.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_12.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_12, CType(12, Short))
        Me._Label_12.Location = New System.Drawing.Point(284, 10)
        Me._Label_12.Name = "_Label_12"
        Me._Label_12.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_12.Size = New System.Drawing.Size(136, 13)
        Me._Label_12.TabIndex = 93
        Me._Label_12.Text = "ACKResponse  StxEtxBcc"
        '
        '_Frame_10
        '
        Me._Frame_10.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_10.Controls.AddRange(New System.Windows.Forms.Control() {Me.Label3, Me.rdhfCancel, Me.rdhfResponseMode, Me.SendDataHFRR, Me.rdhfResDataLen, Me.rdhfResData, Me.rdhfResReserve, Me.rdhfResStat, Me.rdhfResResp, Me.rdhfACKJudge, Me.ReceiveDataHF, Me._Label_21, Me.Label2, Me._Label_13})
        Me._Frame_10.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Frame_10.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_10, CType(10, Short))
        Me._Frame_10.Location = New System.Drawing.Point(8, 184)
        Me._Frame_10.Name = "_Frame_10"
        Me._Frame_10.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_10.Size = New System.Drawing.Size(771, 83)
        Me._Frame_10.TabIndex = 94
        Me._Frame_10.TabStop = False
        Me._Frame_10.Text = "pcxReceiveDataHF"
        '
        'rdhfCancel
        '
        Me.rdhfCancel.BackColor = System.Drawing.SystemColors.Control
        Me.rdhfCancel.Cursor = System.Windows.Forms.Cursors.Default
        Me.rdhfCancel.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.rdhfCancel.ForeColor = System.Drawing.SystemColors.ControlText
        Me.rdhfCancel.Location = New System.Drawing.Point(522, 24)
        Me.rdhfCancel.Name = "rdhfCancel"
        Me.rdhfCancel.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdhfCancel.Size = New System.Drawing.Size(81, 19)
        Me.rdhfCancel.TabIndex = 189
        Me.rdhfCancel.Text = "CancelFlag"
        '
        'rdhfResponseMode
        '
        Me.rdhfResponseMode.AcceptsReturn = True
        Me.rdhfResponseMode.AutoSize = False
        Me.rdhfResponseMode.BackColor = System.Drawing.SystemColors.Window
        Me.rdhfResponseMode.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rdhfResponseMode.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rdhfResponseMode.Location = New System.Drawing.Point(194, 23)
        Me.rdhfResponseMode.MaxLength = 0
        Me.rdhfResponseMode.Name = "rdhfResponseMode"
        Me.rdhfResponseMode.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdhfResponseMode.Size = New System.Drawing.Size(51, 18)
        Me.rdhfResponseMode.TabIndex = 187
        Me.rdhfResponseMode.Text = "0"
        '
        'SendDataHFRR
        '
        Me.SendDataHFRR.BackColor = System.Drawing.SystemColors.Control
        Me.SendDataHFRR.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendDataHFRR.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendDataHFRR.Location = New System.Drawing.Point(364, 22)
        Me.SendDataHFRR.Name = "SendDataHFRR"
        Me.SendDataHFRR.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendDataHFRR.Size = New System.Drawing.Size(143, 21)
        Me.SendDataHFRR.TabIndex = 186
        Me.SendDataHFRR.Text = "SendDataHFRR( )"
        '
        'rdhfResReserve
        '
        Me.rdhfResReserve.AcceptsReturn = True
        Me.rdhfResReserve.AutoSize = False
        Me.rdhfResReserve.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.rdhfResReserve.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rdhfResReserve.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.rdhfResReserve.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rdhfResReserve.Location = New System.Drawing.Point(12, 55)
        Me.rdhfResReserve.MaxLength = 0
        Me.rdhfResReserve.Name = "rdhfResReserve"
        Me.rdhfResReserve.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdhfResReserve.Size = New System.Drawing.Size(27, 18)
        Me.rdhfResReserve.TabIndex = 100
        Me.rdhfResReserve.Text = "F"
        '
        'rdhfResStat
        '
        Me.rdhfResStat.AcceptsReturn = True
        Me.rdhfResStat.AutoSize = False
        Me.rdhfResStat.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.rdhfResStat.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rdhfResStat.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.rdhfResStat.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rdhfResStat.Location = New System.Drawing.Point(92, 55)
        Me.rdhfResStat.MaxLength = 0
        Me.rdhfResStat.Name = "rdhfResStat"
        Me.rdhfResStat.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdhfResStat.Size = New System.Drawing.Size(34, 18)
        Me.rdhfResStat.TabIndex = 99
        Me.rdhfResStat.Text = "00"
        '
        'rdhfResResp
        '
        Me.rdhfResResp.AcceptsReturn = True
        Me.rdhfResResp.AutoSize = False
        Me.rdhfResResp.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.rdhfResResp.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rdhfResResp.Font = New System.Drawing.Font("ＭＳ Ｐゴシック", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(128, Byte))
        Me.rdhfResResp.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rdhfResResp.Location = New System.Drawing.Point(56, 55)
        Me.rdhfResResp.MaxLength = 0
        Me.rdhfResResp.Name = "rdhfResResp"
        Me.rdhfResResp.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdhfResResp.Size = New System.Drawing.Size(34, 18)
        Me.rdhfResResp.TabIndex = 98
        Me.rdhfResResp.Text = "00"
        '
        'rdhfACKJudge
        '
        Me.rdhfACKJudge.AcceptsReturn = True
        Me.rdhfACKJudge.AutoSize = False
        Me.rdhfACKJudge.BackColor = System.Drawing.SystemColors.Window
        Me.rdhfACKJudge.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.rdhfACKJudge.ForeColor = System.Drawing.SystemColors.WindowText
        Me.rdhfACKJudge.Location = New System.Drawing.Point(285, 23)
        Me.rdhfACKJudge.MaxLength = 0
        Me.rdhfACKJudge.Name = "rdhfACKJudge"
        Me.rdhfACKJudge.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.rdhfACKJudge.Size = New System.Drawing.Size(51, 18)
        Me.rdhfACKJudge.TabIndex = 96
        Me.rdhfACKJudge.Text = "99999"
        '
        '_Label_21
        '
        Me._Label_21.AutoSize = True
        Me._Label_21.BackColor = System.Drawing.SystemColors.Control
        Me._Label_21.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_21.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_21.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_21, CType(21, Short))
        Me._Label_21.Location = New System.Drawing.Point(195, 10)
        Me._Label_21.Name = "_Label_21"
        Me._Label_21.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_21.Size = New System.Drawing.Size(84, 13)
        Me._Label_21.TabIndex = 188
        Me._Label_21.Text = "ResponseMode"
        '
        'Label2
        '
        Me.Label2.AutoSize = True
        Me.Label2.BackColor = System.Drawing.SystemColors.Control
        Me.Label2.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label2.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label2.Location = New System.Drawing.Point(14, 43)
        Me.Label2.Name = "Label2"
        Me.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label2.Size = New System.Drawing.Size(200, 13)
        Me.Label2.TabIndex = 103
        Me.Label2.Text = "Reserve Resp   StatResData ResData "
        '
        '_Label_13
        '
        Me._Label_13.AutoSize = True
        Me._Label_13.BackColor = System.Drawing.SystemColors.Control
        Me._Label_13.Cursor = System.Windows.Forms.Cursors.Default
        Me._Label_13.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._Label_13.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label.SetIndex(Me._Label_13, CType(13, Short))
        Me._Label_13.Location = New System.Drawing.Point(286, 10)
        Me._Label_13.Name = "_Label_13"
        Me._Label_13.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Label_13.Size = New System.Drawing.Size(58, 13)
        Me._Label_13.TabIndex = 97
        Me._Label_13.Text = "ACKJudge"
        '
        '_MainSSTab_TabPage4
        '
        Me._MainSSTab_TabPage4.Controls.AddRange(New System.Windows.Forms.Control() {Me._Frame_16})
        Me._MainSSTab_TabPage4.Location = New System.Drawing.Point(4, 22)
        Me._MainSSTab_TabPage4.Name = "_MainSSTab_TabPage4"
        Me._MainSSTab_TabPage4.Size = New System.Drawing.Size(785, 277)
        Me._MainSSTab_TabPage4.TabIndex = 4
        Me._MainSSTab_TabPage4.Text = "Event Method"
        '
        '_Frame_16
        '
        Me._Frame_16.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_16.Controls.AddRange(New System.Windows.Forms.Control() {Me._chkEventMask_2, Me.FrmEVT_RXCHAR_Return, Me.EventMask, Me._chkEventMask_0, Me._chkEventMask_1, Me.Frame19, Me.LbEventMaskRD})
        Me._Frame_16.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_16, CType(16, Short))
        Me._Frame_16.Location = New System.Drawing.Point(8, 8)
        Me._Frame_16.Name = "_Frame_16"
        Me._Frame_16.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_16.Size = New System.Drawing.Size(778, 118)
        Me._Frame_16.TabIndex = 120
        Me._Frame_16.TabStop = False
        Me._Frame_16.Text = "Event Mask Property"
        '
        '_chkEventMask_2
        '
        Me._chkEventMask_2.BackColor = System.Drawing.SystemColors.Control
        Me._chkEventMask_2.Cursor = System.Windows.Forms.Cursors.Default
        Me._chkEventMask_2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkEventMask.SetIndex(Me._chkEventMask_2, CType(2, Short))
        Me._chkEventMask_2.Location = New System.Drawing.Point(32, 96)
        Me._chkEventMask_2.Name = "_chkEventMask_2"
        Me._chkEventMask_2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chkEventMask_2.Size = New System.Drawing.Size(74, 16)
        Me._chkEventMask_2.TabIndex = 144
        Me._chkEventMask_2.TabStop = True
        Me._chkEventMask_2.Text = "Release"
        '
        'FrmEVT_RXCHAR_Return
        '
        Me.FrmEVT_RXCHAR_Return.BackColor = System.Drawing.SystemColors.Control
        Me.FrmEVT_RXCHAR_Return.Controls.AddRange(New System.Windows.Forms.Control() {Me._OpEVT_RXCHAR_Return_0, Me._OpEVT_RXCHAR_Return_1, Me._OpEVT_RXCHAR_Return_2, Me._OpEVT_RXCHAR_Return_3, Me._OpEVT_RXCHAR_Return_4})
        Me.FrmEVT_RXCHAR_Return.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.FrmEVT_RXCHAR_Return.ForeColor = System.Drawing.SystemColors.ControlText
        Me.FrmEVT_RXCHAR_Return.Location = New System.Drawing.Point(206, 30)
        Me.FrmEVT_RXCHAR_Return.Name = "FrmEVT_RXCHAR_Return"
        Me.FrmEVT_RXCHAR_Return.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.FrmEVT_RXCHAR_Return.Size = New System.Drawing.Size(219, 81)
        Me.FrmEVT_RXCHAR_Return.TabIndex = 138
        Me.FrmEVT_RXCHAR_Return.TabStop = False
        Me.FrmEVT_RXCHAR_Return.Text = "EVT_CRW_RXCHAR > Return of Method"
        '
        '_OpEVT_RXCHAR_Return_0
        '
        Me._OpEVT_RXCHAR_Return_0.BackColor = System.Drawing.SystemColors.Control
        Me._OpEVT_RXCHAR_Return_0.Checked = True
        Me._OpEVT_RXCHAR_Return_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpEVT_RXCHAR_Return_0.Font = New System.Drawing.Font("Arial", 8.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me._OpEVT_RXCHAR_Return_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpEVT_RXCHAR_Return.SetIndex(Me._OpEVT_RXCHAR_Return_0, CType(0, Short))
        Me._OpEVT_RXCHAR_Return_0.Location = New System.Drawing.Point(8, 46)
        Me._OpEVT_RXCHAR_Return_0.Name = "_OpEVT_RXCHAR_Return_0"
        Me._OpEVT_RXCHAR_Return_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpEVT_RXCHAR_Return_0.Size = New System.Drawing.Size(45, 12)
        Me._OpEVT_RXCHAR_Return_0.TabIndex = 143
        Me._OpEVT_RXCHAR_Return_0.TabStop = True
        Me._OpEVT_RXCHAR_Return_0.Text = "Non"
        '
        'EventMask
        '
        Me.EventMask.BackColor = System.Drawing.SystemColors.Control
        Me.EventMask.Cursor = System.Windows.Forms.Cursors.Default
        Me.EventMask.ForeColor = System.Drawing.SystemColors.ControlText
        Me.EventMask.Location = New System.Drawing.Point(3, 20)
        Me.EventMask.Name = "EventMask"
        Me.EventMask.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.EventMask.Size = New System.Drawing.Size(181, 23)
        Me.EventMask.TabIndex = 134
        Me.EventMask.Text = "EventMask"
        '
        '_chkEventMask_0
        '
        Me._chkEventMask_0.BackColor = System.Drawing.SystemColors.Control
        Me._chkEventMask_0.Checked = True
        Me._chkEventMask_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._chkEventMask_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkEventMask.SetIndex(Me._chkEventMask_0, CType(0, Short))
        Me._chkEventMask_0.Location = New System.Drawing.Point(32, 48)
        Me._chkEventMask_0.Name = "_chkEventMask_0"
        Me._chkEventMask_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chkEventMask_0.Size = New System.Drawing.Size(64, 16)
        Me._chkEventMask_0.TabIndex = 133
        Me._chkEventMask_0.TabStop = True
        Me._chkEventMask_0.Text = "Set"
        '
        '_chkEventMask_1
        '
        Me._chkEventMask_1.BackColor = System.Drawing.SystemColors.Control
        Me._chkEventMask_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._chkEventMask_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.chkEventMask.SetIndex(Me._chkEventMask_1, CType(1, Short))
        Me._chkEventMask_1.Location = New System.Drawing.Point(32, 72)
        Me._chkEventMask_1.Name = "_chkEventMask_1"
        Me._chkEventMask_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._chkEventMask_1.Size = New System.Drawing.Size(58, 16)
        Me._chkEventMask_1.TabIndex = 132
        Me._chkEventMask_1.TabStop = True
        Me._chkEventMask_1.Text = "Read"
        '
        'Frame19
        '
        Me.Frame19.BackColor = System.Drawing.SystemColors.Control
        Me.Frame19.Controls.AddRange(New System.Windows.Forms.Control() {Me.chEventMaskAll, Me._chEventMask_2, Me._chEventMask_7, Me._chEventMask_4, Me._chEventMask_3, Me._chEventMask_10, Me._chEventMask_9, Me._chEventMask_8, Me._chEventMask_1, Me._chEventMask_0, Me._chEventMask_5, Me._chEventMask_6})
        Me.Frame19.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame19.Location = New System.Drawing.Point(430, 8)
        Me.Frame19.Name = "Frame19"
        Me.Frame19.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Frame19.Size = New System.Drawing.Size(341, 105)
        Me.Frame19.TabIndex = 121
        Me.Frame19.TabStop = False
        Me.Frame19.Text = "Event"
        '
        'LbEventMaskRD
        '
        Me.LbEventMaskRD.BackColor = System.Drawing.Color.FromArgb(CType(192, Byte), CType(192, Byte), CType(192, Byte))
        Me.LbEventMaskRD.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbEventMaskRD.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbEventMaskRD.Location = New System.Drawing.Point(104, 74)
        Me.LbEventMaskRD.Name = "LbEventMaskRD"
        Me.LbEventMaskRD.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbEventMaskRD.Size = New System.Drawing.Size(67, 15)
        Me.LbEventMaskRD.TabIndex = 137
        Me.LbEventMaskRD.TextAlign = System.Drawing.ContentAlignment.TopCenter
        '
        '_MainSSTab_TabPage5
        '
        Me._MainSSTab_TabPage5.Controls.AddRange(New System.Windows.Forms.Control() {Me.ReadCommand, Me.SetCommand, Me.LogFileFolderText, Me.LogFlagText, Me.WriteFileTimeOutText, Me.SendDelayTimeTxt, Me._Frame_17, Me.Label7, Me.Label6, Me.Label5, Me.SendDelayTime})
        Me._MainSSTab_TabPage5.Location = New System.Drawing.Point(4, 22)
        Me._MainSSTab_TabPage5.Name = "_MainSSTab_TabPage5"
        Me._MainSSTab_TabPage5.Size = New System.Drawing.Size(785, 277)
        Me._MainSSTab_TabPage5.TabIndex = 5
        Me._MainSSTab_TabPage5.Text = "etc"
        '
        'ReadCommand
        '
        Me.ReadCommand.BackColor = System.Drawing.SystemColors.Control
        Me.ReadCommand.Cursor = System.Windows.Forms.Cursors.Default
        Me.ReadCommand.ForeColor = System.Drawing.SystemColors.ControlText
        Me.ReadCommand.Location = New System.Drawing.Point(76, 208)
        Me.ReadCommand.Name = "ReadCommand"
        Me.ReadCommand.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.ReadCommand.Size = New System.Drawing.Size(47, 24)
        Me.ReadCommand.TabIndex = 185
        Me.ReadCommand.Text = "Read"
        '
        'SetCommand
        '
        Me.SetCommand.BackColor = System.Drawing.SystemColors.Control
        Me.SetCommand.Cursor = System.Windows.Forms.Cursors.Default
        Me.SetCommand.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SetCommand.Location = New System.Drawing.Point(14, 208)
        Me.SetCommand.Name = "SetCommand"
        Me.SetCommand.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SetCommand.Size = New System.Drawing.Size(49, 24)
        Me.SetCommand.TabIndex = 184
        Me.SetCommand.Text = "Set"
        '
        'LogFileFolderText
        '
        Me.LogFileFolderText.AcceptsReturn = True
        Me.LogFileFolderText.AutoSize = False
        Me.LogFileFolderText.BackColor = System.Drawing.SystemColors.Window
        Me.LogFileFolderText.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.LogFileFolderText.ForeColor = System.Drawing.SystemColors.WindowText
        Me.LogFileFolderText.Location = New System.Drawing.Point(316, 176)
        Me.LogFileFolderText.MaxLength = 0
        Me.LogFileFolderText.Name = "LogFileFolderText"
        Me.LogFileFolderText.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LogFileFolderText.Size = New System.Drawing.Size(233, 23)
        Me.LogFileFolderText.TabIndex = 178
        Me.LogFileFolderText.Text = "Text4"
        '
        'LogFlagText
        '
        Me.LogFlagText.AcceptsReturn = True
        Me.LogFlagText.AutoSize = False
        Me.LogFlagText.BackColor = System.Drawing.SystemColors.Window
        Me.LogFlagText.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.LogFlagText.ForeColor = System.Drawing.SystemColors.WindowText
        Me.LogFlagText.Location = New System.Drawing.Point(228, 176)
        Me.LogFlagText.MaxLength = 0
        Me.LogFlagText.Name = "LogFlagText"
        Me.LogFlagText.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LogFlagText.Size = New System.Drawing.Size(67, 23)
        Me.LogFlagText.TabIndex = 177
        Me.LogFlagText.Text = "Text3"
        '
        'WriteFileTimeOutText
        '
        Me.WriteFileTimeOutText.AcceptsReturn = True
        Me.WriteFileTimeOutText.AutoSize = False
        Me.WriteFileTimeOutText.BackColor = System.Drawing.SystemColors.Window
        Me.WriteFileTimeOutText.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.WriteFileTimeOutText.ForeColor = System.Drawing.SystemColors.WindowText
        Me.WriteFileTimeOutText.Location = New System.Drawing.Point(114, 176)
        Me.WriteFileTimeOutText.MaxLength = 0
        Me.WriteFileTimeOutText.Name = "WriteFileTimeOutText"
        Me.WriteFileTimeOutText.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.WriteFileTimeOutText.Size = New System.Drawing.Size(97, 23)
        Me.WriteFileTimeOutText.TabIndex = 176
        Me.WriteFileTimeOutText.Text = "Text2"
        '
        'SendDelayTimeTxt
        '
        Me.SendDelayTimeTxt.AcceptsReturn = True
        Me.SendDelayTimeTxt.AutoSize = False
        Me.SendDelayTimeTxt.BackColor = System.Drawing.SystemColors.Window
        Me.SendDelayTimeTxt.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.SendDelayTimeTxt.ForeColor = System.Drawing.SystemColors.WindowText
        Me.SendDelayTimeTxt.Location = New System.Drawing.Point(16, 176)
        Me.SendDelayTimeTxt.MaxLength = 0
        Me.SendDelayTimeTxt.Name = "SendDelayTimeTxt"
        Me.SendDelayTimeTxt.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendDelayTimeTxt.Size = New System.Drawing.Size(87, 22)
        Me.SendDelayTimeTxt.TabIndex = 175
        Me.SendDelayTimeTxt.Text = "Text1"
        '
        '_Frame_17
        '
        Me._Frame_17.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_17.Controls.AddRange(New System.Windows.Forms.Control() {Me.PrintJobClear, Me._OpPrinterDeviceName_1, Me._OpPrinterDeviceName_0, Me._Frame_18, Me.cmdPrinterDeviceName, Me.Label1, Me.LbPrinterDeviceName})
        Me._Frame_17.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_17, CType(17, Short))
        Me._Frame_17.Location = New System.Drawing.Point(6, 8)
        Me._Frame_17.Name = "_Frame_17"
        Me._Frame_17.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_17.Size = New System.Drawing.Size(777, 141)
        Me._Frame_17.TabIndex = 154
        Me._Frame_17.TabStop = False
        Me._Frame_17.Text = "Printer Jop Clear"
        '
        'PrintJobClear
        '
        Me.PrintJobClear.BackColor = System.Drawing.SystemColors.Control
        Me.PrintJobClear.Cursor = System.Windows.Forms.Cursors.Default
        Me.PrintJobClear.ForeColor = System.Drawing.SystemColors.ControlText
        Me.PrintJobClear.Location = New System.Drawing.Point(544, 50)
        Me.PrintJobClear.Name = "PrintJobClear"
        Me.PrintJobClear.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.PrintJobClear.Size = New System.Drawing.Size(193, 29)
        Me.PrintJobClear.TabIndex = 165
        Me.PrintJobClear.Text = "pcxPrintJobClear( )"
        '
        '_OpPrinterDeviceName_1
        '
        Me._OpPrinterDeviceName_1.BackColor = System.Drawing.SystemColors.Control
        Me._OpPrinterDeviceName_1.Checked = True
        Me._OpPrinterDeviceName_1.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpPrinterDeviceName_1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpPrinterDeviceName.SetIndex(Me._OpPrinterDeviceName_1, CType(1, Short))
        Me._OpPrinterDeviceName_1.Location = New System.Drawing.Point(52, 68)
        Me._OpPrinterDeviceName_1.Name = "_OpPrinterDeviceName_1"
        Me._OpPrinterDeviceName_1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpPrinterDeviceName_1.Size = New System.Drawing.Size(55, 19)
        Me._OpPrinterDeviceName_1.TabIndex = 164
        Me._OpPrinterDeviceName_1.TabStop = True
        Me._OpPrinterDeviceName_1.Text = "Read"
        '
        '_OpPrinterDeviceName_0
        '
        Me._OpPrinterDeviceName_0.BackColor = System.Drawing.SystemColors.Control
        Me._OpPrinterDeviceName_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._OpPrinterDeviceName_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.OpPrinterDeviceName.SetIndex(Me._OpPrinterDeviceName_0, CType(0, Short))
        Me._OpPrinterDeviceName_0.Location = New System.Drawing.Point(52, 50)
        Me._OpPrinterDeviceName_0.Name = "_OpPrinterDeviceName_0"
        Me._OpPrinterDeviceName_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._OpPrinterDeviceName_0.Size = New System.Drawing.Size(55, 19)
        Me._OpPrinterDeviceName_0.TabIndex = 163
        Me._OpPrinterDeviceName_0.TabStop = True
        Me._OpPrinterDeviceName_0.Text = "Set"
        '
        '_Frame_18
        '
        Me._Frame_18.BackColor = System.Drawing.SystemColors.Control
        Me._Frame_18.Controls.AddRange(New System.Windows.Forms.Control() {Me.cmdPriProperty, Me.cboPriSet, Me.PaperList, Me._lpPriPaper_0})
        Me._Frame_18.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Frame.SetIndex(Me._Frame_18, CType(18, Short))
        Me._Frame_18.Location = New System.Drawing.Point(168, 12)
        Me._Frame_18.Name = "_Frame_18"
        Me._Frame_18.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._Frame_18.Size = New System.Drawing.Size(349, 91)
        Me._Frame_18.TabIndex = 156
        Me._Frame_18.TabStop = False
        Me._Frame_18.Text = "Printer List"
        '
        'cmdPriProperty
        '
        Me.cmdPriProperty.BackColor = System.Drawing.SystemColors.Control
        Me.cmdPriProperty.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdPriProperty.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdPriProperty.Location = New System.Drawing.Point(226, 46)
        Me.cmdPriProperty.Name = "cmdPriProperty"
        Me.cmdPriProperty.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdPriProperty.Size = New System.Drawing.Size(99, 27)
        Me.cmdPriProperty.TabIndex = 159
        Me.cmdPriProperty.Text = "Printer Property"
        '
        'cboPriSet
        '
        Me.cboPriSet.BackColor = System.Drawing.SystemColors.Window
        Me.cboPriSet.Cursor = System.Windows.Forms.Cursors.Default
        Me.cboPriSet.ForeColor = System.Drawing.SystemColors.WindowText
        Me.cboPriSet.Location = New System.Drawing.Point(6, 18)
        Me.cboPriSet.Name = "cboPriSet"
        Me.cboPriSet.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cboPriSet.Size = New System.Drawing.Size(321, 23)
        Me.cboPriSet.TabIndex = 158
        Me.cboPriSet.Text = "cboPriSet"
        '
        'PaperList
        '
        Me.PaperList.BackColor = System.Drawing.SystemColors.Control
        Me.PaperList.Cursor = System.Windows.Forms.Cursors.Default
        Me.PaperList.ForeColor = System.Drawing.SystemColors.WindowText
        Me.PaperList.Location = New System.Drawing.Point(60, 50)
        Me.PaperList.Name = "PaperList"
        Me.PaperList.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.PaperList.Size = New System.Drawing.Size(165, 23)
        Me.PaperList.TabIndex = 157
        Me.PaperList.Text = "PaperList"
        '
        '_lpPriPaper_0
        '
        Me._lpPriPaper_0.BackColor = System.Drawing.SystemColors.Control
        Me._lpPriPaper_0.Cursor = System.Windows.Forms.Cursors.Default
        Me._lpPriPaper_0.ForeColor = System.Drawing.SystemColors.ControlText
        Me.lpPriPaper.SetIndex(Me._lpPriPaper_0, CType(0, Short))
        Me._lpPriPaper_0.Location = New System.Drawing.Point(4, 52)
        Me._lpPriPaper_0.Name = "_lpPriPaper_0"
        Me._lpPriPaper_0.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me._lpPriPaper_0.Size = New System.Drawing.Size(60, 15)
        Me._lpPriPaper_0.TabIndex = 160
        Me._lpPriPaper_0.Text = "on Paper:"
        '
        'cmdPrinterDeviceName
        '
        Me.cmdPrinterDeviceName.BackColor = System.Drawing.SystemColors.Control
        Me.cmdPrinterDeviceName.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdPrinterDeviceName.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdPrinterDeviceName.Location = New System.Drawing.Point(10, 22)
        Me.cmdPrinterDeviceName.Name = "cmdPrinterDeviceName"
        Me.cmdPrinterDeviceName.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdPrinterDeviceName.Size = New System.Drawing.Size(139, 25)
        Me.cmdPrinterDeviceName.TabIndex = 155
        Me.cmdPrinterDeviceName.Text = "PrinterDeviceName"
        '
        'Label1
        '
        Me.Label1.BackColor = System.Drawing.SystemColors.Control
        Me.Label1.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label1.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label1.Location = New System.Drawing.Point(48, 114)
        Me.Label1.Name = "Label1"
        Me.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label1.Size = New System.Drawing.Size(112, 19)
        Me.Label1.TabIndex = 162
        Me.Label1.Text = "ActiveX Property :"
        '
        'LbPrinterDeviceName
        '
        Me.LbPrinterDeviceName.BackColor = System.Drawing.Color.FromArgb(CType(224, Byte), CType(224, Byte), CType(224, Byte))
        Me.LbPrinterDeviceName.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
        Me.LbPrinterDeviceName.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbPrinterDeviceName.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.LbPrinterDeviceName.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbPrinterDeviceName.Location = New System.Drawing.Point(168, 108)
        Me.LbPrinterDeviceName.Name = "LbPrinterDeviceName"
        Me.LbPrinterDeviceName.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbPrinterDeviceName.Size = New System.Drawing.Size(347, 23)
        Me.LbPrinterDeviceName.TabIndex = 161
        '
        'Label7
        '
        Me.Label7.BackColor = System.Drawing.SystemColors.Control
        Me.Label7.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label7.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label7.Location = New System.Drawing.Point(316, 160)
        Me.Label7.Name = "Label7"
        Me.Label7.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label7.Size = New System.Drawing.Size(73, 17)
        Me.Label7.TabIndex = 183
        Me.Label7.Text = "LogFileFolder"
        '
        'Label6
        '
        Me.Label6.BackColor = System.Drawing.SystemColors.Control
        Me.Label6.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label6.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label6.Location = New System.Drawing.Point(228, 160)
        Me.Label6.Name = "Label6"
        Me.Label6.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label6.Size = New System.Drawing.Size(65, 17)
        Me.Label6.TabIndex = 182
        Me.Label6.Text = "LogFlag"
        '
        'Label5
        '
        Me.Label5.BackColor = System.Drawing.SystemColors.Control
        Me.Label5.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label5.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label5.Location = New System.Drawing.Point(114, 160)
        Me.Label5.Name = "Label5"
        Me.Label5.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label5.Size = New System.Drawing.Size(103, 17)
        Me.Label5.TabIndex = 181
        Me.Label5.Text = "WriteFileTimeOut"
        '
        'SendDelayTime
        '
        Me.SendDelayTime.BackColor = System.Drawing.SystemColors.Control
        Me.SendDelayTime.Cursor = System.Windows.Forms.Cursors.Default
        Me.SendDelayTime.ForeColor = System.Drawing.SystemColors.ControlText
        Me.SendDelayTime.Location = New System.Drawing.Point(14, 160)
        Me.SendDelayTime.Name = "SendDelayTime"
        Me.SendDelayTime.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.SendDelayTime.Size = New System.Drawing.Size(93, 17)
        Me.SendDelayTime.TabIndex = 179
        Me.SendDelayTime.Text = "SendDelayTime"
        '
        'LbRetValue
        '
        Me.LbRetValue.AutoSize = True
        Me.LbRetValue.BackColor = System.Drawing.SystemColors.Control
        Me.LbRetValue.Cursor = System.Windows.Forms.Cursors.Default
        Me.LbRetValue.Font = New System.Drawing.Font("Arial", 11.25!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.LbRetValue.ForeColor = System.Drawing.SystemColors.ControlText
        Me.LbRetValue.Location = New System.Drawing.Point(77, 632)
        Me.LbRetValue.Name = "LbRetValue"
        Me.LbRetValue.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.LbRetValue.Size = New System.Drawing.Size(96, 18)
        Me.LbRetValue.TabIndex = 55
        Me.LbRetValue.Text = "ReturnValue:"
        '
        'OpComSet
        '
        '
        'Label3
        '
        Me.Label3.Location = New System.Drawing.Point(688, 40)
        Me.Label3.Name = "Label3"
        Me.Label3.Size = New System.Drawing.Size(80, 16)
        Me.Label3.TabIndex = 190
        Me.Label3.Text = "ResDataLen"
        '
        'MainForm
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(6, 14)
        Me.ClientSize = New System.Drawing.Size(887, 734)
        Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.PCCAx1, Me.MainFrame})
        Me.Font = New System.Drawing.Font("Arial", 9.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Location = New System.Drawing.Point(11, 37)
        Me.Name = "MainForm"
        Me.Text = "PComControlActiveX Test Program VB.NET(2008) Ver1.x.x [OCX Ver2.x.x.x]"
        CType(Me.PCCAx1, System.ComponentModel.ISupportInitialize).EndInit()
        Me.MainFrame.ResumeLayout(False)
        Me._Frame_6.ResumeLayout(False)
        Me._Frame_3.ResumeLayout(False)
        Me._Frame_2.ResumeLayout(False)
        Me._Frame_1.ResumeLayout(False)
        Me._FrameOpen_1.ResumeLayout(False)
        Me._FrameOpen_0.ResumeLayout(False)
        Me._Frame_0.ResumeLayout(False)
        Me.MainSSTab.ResumeLayout(False)
        Me._MainSSTab_TabPage0.ResumeLayout(False)
        Me._Frame_5.ResumeLayout(False)
        Me._Frame_4.ResumeLayout(False)
        Me.Frame2.ResumeLayout(False)
        Me.Frame3.ResumeLayout(False)
        Me._MainSSTab_TabPage3.ResumeLayout(False)
        Me._Frame_14.ResumeLayout(False)
        Me._Frame_15.ResumeLayout(False)
        Me._MainSSTab_TabPage2.ResumeLayout(False)
        Me._Frame_11.ResumeLayout(False)
        Me._Frame_12.ResumeLayout(False)
        Me._Frame_13.ResumeLayout(False)
        Me._MainSSTab_TabPage1.ResumeLayout(False)
        Me._Frame_7.ResumeLayout(False)
        Me._Frame_8.ResumeLayout(False)
        Me._Frame_9.ResumeLayout(False)
        Me._Frame_10.ResumeLayout(False)
        Me._MainSSTab_TabPage4.ResumeLayout(False)
        Me._Frame_16.ResumeLayout(False)
        Me.FrmEVT_RXCHAR_Return.ResumeLayout(False)
        Me.Frame19.ResumeLayout(False)
        Me._MainSSTab_TabPage5.ResumeLayout(False)
        Me._Frame_17.ResumeLayout(False)
        Me._Frame_18.ResumeLayout(False)
        CType(Me.ChkCancelTimer, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.Frame, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.FrameOpen, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.Label, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.LbGetCommStatus, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.OpCancelFlag, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.OpComSet, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.OpEVT_RXCHAR_Return, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.OpPrinterDeviceName, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.OpSendCommand, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.chEventMask, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.chkEventMask, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.lpPriPaper, System.ComponentModel.ISupportInitialize).EndInit()
        Me.ResumeLayout(False)

    End Sub
#End Region 
#Region "アップグレード ウィザードのサポート コード"
	Private Shared m_vb6FormDefInstance As MainForm
	Private Shared m_InitializingDefInstance As Boolean
	Public Shared Property DefInstance() As MainForm
		Get
			If m_vb6FormDefInstance Is Nothing OrElse m_vb6FormDefInstance.IsDisposed Then
				m_InitializingDefInstance = True
				m_vb6FormDefInstance = New MainForm()
				m_InitializingDefInstance = False
			End If
			DefInstance = m_vb6FormDefInstance
		End Get
		Set
			m_vb6FormDefInstance = Value
		End Set
	End Property
#End Region 
	Public FormLoadFlag As Boolean
	Public ColorCode As Object

    Public Const DC_PAPERSIZE = 3
    Public Const DC_BINS = 6
    Public Const DC_BINNAMES = 12
    Public Const DC_PAPERNAMES = 16

    Declare Function DeviceCapabilities Lib "winspool.drv" Alias "DeviceCapabilitiesA" ( _
        ByVal pDevice As String, _
        ByVal pPort As String, _
        ByVal fwCapability As Short, _
        <System.Runtime.InteropServices.OutAttribute()> ByVal pOutput() As Short, _
        ByVal pDevMode As IntPtr) As Integer

    Declare Function DeviceCapabilitiesName Lib "winspool.drv" Alias "DeviceCapabilitiesA" ( _
      ByVal pDevice As String, _
      ByVal pPort As String, _
      ByVal fwCapability As Short, _
      <System.Runtime.InteropServices.OutAttribute()> ByVal pOutput(,) As Byte, _
      ByVal pDevMode As IntPtr) As Integer

    Public Declare Sub MoveMemory Lib "kernel32.dll" Alias "RtlMoveMemory" ( _
      ByVal Destination As String, _
      <System.Runtime.InteropServices.OutAttribute()> ByVal Source As Byte, _
      ByVal Length As Long)

    Private Sub CancelFlag_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CancelFlag.Click
        Dim i As Short

        CancelFlag.Enabled = False

        If OpCancelFlag(0).Checked = True Then
            PCCAx1.CancelFlag = CBool(CbCancelFlag.Text)
            LbCancelFlag.Text = CStr(PCCAx1.CancelFlag)
        ElseIf OpCancelFlag(1).Checked = True Then
            LbCancelFlag.Text = CStr(PCCAx1.CancelFlag)
            For i = 0 To CbCancelFlag.Items.Count
                If CbCancelFlag.Text = CStr(PCCAx1.CancelFlag) Then
                    CbCancelFlag.SelectedIndex = i
                    Exit For
                End If
            Next i
        End If

        CancelFlag.Enabled = True
    End Sub

    Private Sub CancelTimer_Tick(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CancelTimer.Tick
        CancelTimer.Enabled = False
        OpCancelFlag(0).Checked = True
        CbCancelFlag.SelectedIndex = 0
        CancelFlag_Click(CancelFlag, New System.EventArgs())
    End Sub

    Private Sub CbCancelFlag_SelectedIndexChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CbCancelFlag.SelectedIndexChanged
        ToolTip1.SetToolTip(CbCancelFlag, CbCancelFlag.Text)
    End Sub

    Private Sub cboPriSet_SelectedIndexChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cboPriSet.SelectedIndexChanged
        'ラベルに情報を再表示する為に選択したプリンタをセット
        Dim strMyPrinter As String
        Dim strPrinter As String
        Dim objPrinter As String
        Dim myPrinter As String
        Dim myPort As String
        Dim myQes As Integer
        Dim mBuf As Integer
        Dim mPaper() As Byte
        Dim sPaperName As New VB6.FixedLengthString(64)
        Dim AllPaper As Integer

        strMyPrinter = cboPriSet.Text
        For Each objPrinter In Printing.PrinterSettings.InstalledPrinters
            '選択したプリンタが見つかったら
            If objPrinter = strMyPrinter Then
                'オブジェクトに代入
                strPrinter = strMyPrinter
            End If
        Next objPrinter

        ' リストボックスを初期化
        PaperList.Items.Clear()

        'PrintDocumentの作成
        Dim PrintDocument1 As New System.Drawing.Printing.PrintDocument()
        Dim ps As System.Drawing.Printing.PaperSize

        PrintDocument1.PrinterSettings.PrinterName = strPrinter
        For Each ps In PrintDocument1.PrinterSettings.PaperSizes
            ' 用紙名追加
            PaperList.Items.Add(ps.PaperName)
        Next ps
        PaperList.SelectedIndex = 0

    End Sub

    Private Sub CheckHandshake_CheckStateChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CheckHandshake.CheckStateChanged
        If CheckHandshake.CheckState = 1 Then
            PCCAx1.AutoHandshake = True
        Else
            PCCAx1.AutoHandshake = False
        End If
    End Sub

    Private Sub ChkBreakControl_MouseUp(ByVal eventSender As System.Object, ByVal eventArgs As System.Windows.Forms.MouseEventArgs) Handles ChkBreakControl.MouseUp
        Dim Button As Short = eventArgs.Button \ &H100000
        Dim Shift As Short = System.Windows.Forms.Control.ModifierKeys \ &H10000
        Dim X As Single = VB6.PixelsToTwipsX(eventArgs.X)
        Dim Y As Single = VB6.PixelsToTwipsY(eventArgs.Y)
        If ChkBreakControl.CheckState = 1 Then
            PCCAx1.BreakControl = True
        Else
            PCCAx1.BreakControl = False
        End If
        LbBreakControl.Text = CStr(PCCAx1.BreakControl)
    End Sub

    Private Sub ChkComBufferClearabbr_CheckStateChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles ChkComBufferClearabbr.CheckStateChanged
        If ChkComBufferClearabbr.CheckState = 1 Then
            CmbComBufferClear.SelectedIndex = 0
            CmbComBufferClear.Enabled = False
        Else
            CmbComBufferClear.Enabled = True
        End If
    End Sub

    Private Sub ChkDTRLineControl_MouseUp(ByVal eventSender As System.Object, ByVal eventArgs As System.Windows.Forms.MouseEventArgs) Handles ChkDTRLineControl.MouseUp
        Dim Button As Short = eventArgs.Button \ &H100000
        Dim Shift As Short = System.Windows.Forms.Control.ModifierKeys \ &H10000
        Dim X As Single = VB6.PixelsToTwipsX(eventArgs.X)
        Dim Y As Single = VB6.PixelsToTwipsY(eventArgs.Y)
        If ChkDTRLineControl.CheckState = 1 Then
            PCCAx1.DTRLineControl = True
        Else
            PCCAx1.DTRLineControl = False
        End If
        LbDTRLineControl.Text = CStr(PCCAx1.DTRLineControl)
    End Sub

    Private Sub ChkRTSLineControl_MouseUp(ByVal eventSender As System.Object, ByVal eventArgs As System.Windows.Forms.MouseEventArgs) Handles ChkRTSLineControl.MouseUp
        Dim Button As Short = eventArgs.Button \ &H100000
        Dim Shift As Short = System.Windows.Forms.Control.ModifierKeys \ &H10000
        Dim X As Single = VB6.PixelsToTwipsX(eventArgs.X)
        Dim Y As Single = VB6.PixelsToTwipsY(eventArgs.Y)
        If ChkRTSLineControl.CheckState = 1 Then
            PCCAx1.RTSLineControl = True
        Else
            PCCAx1.RTSLineControl = False
        End If
        LbRTSLineControl.Text = CStr(PCCAx1.RTSLineControl)
    End Sub

    Private Sub Claimed_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Claimed.Click
        Claimed.Enabled = False
        LbClaimed.Text = "Port:" & CStr(PCCAx1.PortNo) & " = " & CStr(PCCAx1.Claimed)
        Claimed.Enabled = True
    End Sub

    Private Sub ClosePort_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles ClosePort.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        ClosePort.Enabled = False

        Rtn = PCCAx1.pcxClosePort()

        ClosePort.Enabled = True

        DisplayResult(Rtn, ClosePort.Text)
    End Sub

    Private Sub CmbComBufferClear_SelectedIndexChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CmbComBufferClear.SelectedIndexChanged
        ToolTip1.SetToolTip(CmbComBufferClear, CmbComBufferClear.Text)
    End Sub

    Private Sub CmdGetCommStatus_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CmdGetCommStatus.Click
        Dim COMSTS As String

        CmdGetCommStatus.Enabled = False

        COMSTS = PCCAx1.GetCommStatus

        CmdGetCommStatus.Enabled = True

        If CDbl(Mid(COMSTS, 1, 1)) = 1 Then
            LbGetCommStatus(0).Text = "1 = DSR_ON"
        Else
            LbGetCommStatus(0).Text = "0 = DSR_OFF"
        End If

        If CDbl(Mid(COMSTS, 2, 1)) = 1 Then
            LbGetCommStatus(1).Text = "1 = CTS_ON"
        Else
            LbGetCommStatus(1).Text = "0 = CTS_OFF"
        End If

        If CDbl(Mid(COMSTS, 3, 1)) = 1 Then
            LbGetCommStatus(2).Text = "1 = RLSD_ON"
        Else
            LbGetCommStatus(2).Text = "0 = RLSD_OFF"
        End If


    End Sub

    Private Sub cmdPrinterDeviceName_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdPrinterDeviceName.Click
        If OpPrinterDeviceName(0).Checked = True Then
            PCCAx1.PrinterDeviceName = cboPriSet.Text
            LbPrinterDeviceName.Text = PCCAx1.PrinterDeviceName
            OpPrinterDeviceName(1).Checked = True
        Else
            LbPrinterDeviceName.Text = PCCAx1.PrinterDeviceName
        End If
    End Sub

    Private Sub cmdPriProperty_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdPriProperty.Click
        Dim bytBuf() As Byte
        Dim lngRet As Integer
        Dim lngAct As basWinAPI.PRINTACTION_ENUM

        ' bytBuf = System.Text.UnicodeEncoding.Unicode.GetBytes(StrConv(NullTrim(cboPriSet.Text & vbNullChar), vbFromUnicode))
        bytBuf = System.Text.Encoding.Default.GetBytes(cboPriSet.Text)

        lngAct = basWinAPI.PRINTACTION_ENUM.PRINTACTION_PROPERTIES
        lngRet = SHInvokePrinterCommand(Me.Handle.ToInt32, lngAct, bytBuf(0), vbNullString, 1)
    End Sub

    Private Sub ComBufferClear_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles ComBufferClear.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        ComBufferClear.Enabled = False

        If ChkComBufferClearabbr.CheckState = 1 Then
            Rtn = PCCAx1.pcxComBufferClear(0)
        Else
            Rtn = PCCAx1.pcxComBufferClear(CInt(VB.Left(CmbComBufferClear.Text, 1)))
        End If

        ComBufferClear.Enabled = True

        DisplayResult(Rtn, ComBufferClear.Text)
    End Sub

    Private Sub EventMask_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles EventMask.Click
        Dim Rtn As Short
        Dim lEvent As Integer

        If chkEventMask(0).Checked = True Then 'EventMask Set
            If chEventMaskAll.CheckState = 1 Then
                lEvent = EVT_PCX_ALL
            Else
                lEvent = &H0
                If chEventMask(0).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_RXCHAR
                End If
                If chEventMask(1).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_TXEMPTY
                End If
                If chEventMask(2).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_ERR_BUFFER_OVERFLOW
                End If
                If chEventMask(3).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_CTS
                End If
                If chEventMask(4).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_DSR
                End If
                If chEventMask(5).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_RLSD
                End If
                If chEventMask(6).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_BREAK
                End If
                If chEventMask(7).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_RING
                End If
                If chEventMask(8).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_ERR_FRAME
                End If
                If chEventMask(9).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_ERR_OVERRUN
                End If
                If chEventMask(10).CheckState = 1 Then
                    lEvent = lEvent + EVT_PCX_ERR_PARITY
                End If
            End If
            PCCAx1.EventMask = lEvent
        ElseIf chkEventMask(1).Checked = True Then
            LbEventMaskRD.Text = "x" & CStr(Hex(PCCAx1.EventMask))
        ElseIf chkEventMask(2).Checked = True Then
            PCCAx1.EventMask = EVT_PCX_RELEASE
        End If

    End Sub

    Private Sub MainForm_Closing(ByVal eventSender As System.Object, ByVal eventArgs As System.ComponentModel.CancelEventArgs) Handles MyBase.Closing
        Dim Cancel As Short = eventArgs.Cancel
        Dim Rtn As Integer

        If PCCAx1.Claimed = True Then
            Rtn = PCCAx1.pcxClosePort()
            DisplayResult(Rtn, ClosePort.Text)
        End If
        eventArgs.Cancel = Cancel
    End Sub

    Private Sub LbCancelFlag_Change()
        With LbCancelFlag
            If .Text = "True" Then
                .BackColor = System.Drawing.ColorTranslator.FromOle(&H8080FF)
            Else
                .BackColor = System.Drawing.ColorTranslator.FromOle(&HE0E0E0)
            End If
        End With
    End Sub

    Private Sub LbRTSLineControl_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles LbRTSLineControl.Click
        LbRTSLineControl.Text = CStr(PCCAx1.DTRLineControl)
    End Sub

    Private Sub OpenPort_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles OpenPort.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        OpenPort.Enabled = False

        Rtn = PCCAx1.pcxOpenPort()

        OpenPort.Enabled = True

        DisplayResult(Rtn, OpenPort.Text)

    End Sub

    Private Sub PCCAx1_pcxResponseEvent(ByVal lResponse As Integer)

        With PCCAx1
            TxtCOMSTS.Text = .PollCmdComSts
            TxtSEN.Text = .PollCmdSen
            TxtERR.Text = .PollCmdErr
            TxtResDATA.Text = .PollCmdResData
        End With

        DisplayResult(lResponse, "pcxResponseEvent")

    End Sub

    Private Sub PCCAx1_pcxReceiveBinaryReportEvent(ByVal eventSender As System.Object, ByVal eventArgs As AxPCCAXLib._DPCCAxEvents_pcxReceiveBinaryReportEventEvent) Handles PCCAx1.pcxReceiveBinaryReportEvent
        With PCCAx1
            TxtReceiveData.Text = .ReceiveData
            TxtReceiveDataLen.Text = CStr(.ReceiveDataLen)
        End With

        DisplayResult(eventArgs.lBinaryReport, "pcxReceiveBinaryReportEvent")
    End Sub

    Private Sub PCCAx1_pcxReceiveDataBCCEvent(ByVal eventSender As System.Object, ByVal eventArgs As AxPCCAXLib._DPCCAxEvents_pcxReceiveDataBCCEventEvent) Handles PCCAx1.pcxReceiveDataBCCEvent
        With PCCAx1
            TxtReceiveData.Text = .ReceiveData
            TxtReceiveDataLen.Text = CStr(.ReceiveDataLen)
        End With

        DisplayResult(eventArgs.lResponse, "pcxReceiveDataBCCEvent")
    End Sub

    Private Sub PCCAx1_pcxReceiveDataHFEvent(ByVal eventSender As System.Object, ByVal eventArgs As AxPCCAXLib._DPCCAxEvents_pcxReceiveDataHFEventEvent) Handles PCCAx1.pcxReceiveDataHFEvent
        With PCCAx1
            rdhfResReserve.Text = .HFReceiveReserve
            rdhfResResp.Text = .HFReceiveResp
            rdhfResStat.Text = .HFReceiveStat
            rdhfResData.Text = .HFReceiveData
            rdhfResDataLen.Text = CStr(.HFReceiveDataLen)
        End With

        DisplayResult(eventArgs.lResponse, ReceiveDataHF.Text)
    End Sub

    Private Sub PCCAx1_pcxReceiveResponseEvent(ByVal eventSender As System.Object, ByVal eventArgs As AxPCCAXLib._DPCCAxEvents_pcxReceiveResponseEventEvent) Handles PCCAx1.pcxReceiveResponseEvent
        With PCCAx1
            TxtCOMSTS.Text = .PollCmdComSts
            TxtSEN.Text = .PollCmdSen
            TxtResDATA.Text = .PollCmdResData
            TxtERR.Text = .PollCmdErr
        End With
        DisplayResult(eventArgs.lResponse, "pcxReceiveResponseEvent")
    End Sub

    Private Sub PrintJobClear_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles PrintJobClear.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        PrintJobClear.Enabled = False

        Rtn = PCCAx1.pcxPrintJobClear()

        PrintJobClear.Enabled = True

        DisplayResult(Rtn, PrintJobClear.Text)
    End Sub

    Private Sub rbrCancel_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles rbrCancel.Click
        PCCAx1.CancelFlag = True
    End Sub

    Private Sub rdhfCancel_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles rdhfCancel.Click
        PCCAx1.CancelFlag = True
    End Sub

    Private Sub rdhfResData_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles rdhfResData.TextChanged
        ToolTip1.SetToolTip(rdhfResData, rdhfResData.Text)
    End Sub

    Private Sub rdhfResDataLen_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles rdhfResDataLen.TextChanged
        ToolTip1.SetToolTip(rdhfResDataLen, rdhfResDataLen.Text)
    End Sub

    Private Sub ReadCommand_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles ReadCommand.Click
        SendDelayTimeTxt.Text = CStr(PCCAx1.SendDelayTime)
        WriteFileTimeOutText.Text = CStr(PCCAx1.WriteFileTimeOut)
        LogFlagText.Text = CStr(PCCAx1.LogFlag)
        LogFileFolderText.Text = PCCAx1.LogFileFolder
    End Sub

    Private Sub ReceiveBinaryData_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles ReceiveBinaryData.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            ReceiveBinaryData.Enabled = False

            .ResponseTimer = CInt(ResponseTimer.Text)
            LbResponseTimer_Click(LbResponseTimer, New System.EventArgs())

            Rtn = .pcxReceiveBinaryData()

            ReceiveBinaryData.Enabled = True

            TxtReceiveData.Text = .ReceiveData
            TxtReceiveDataLen.Text = CStr(.ReceiveDataLen)

        End With

        DisplayResult(Rtn, ReceiveBinaryData.Text)
    End Sub

    Private Sub ReceiveBinaryReport_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles ReceiveBinaryReport.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            ReceiveBinaryReport.Enabled = False

            .ACKTimer = CInt(ACKTimer.Text)
            LbACKTimer_Click(LbACKTimer, New System.EventArgs())
            .ResponseTimer = CInt(ResponseTimer.Text)
            LbResponseTimer_Click(LbResponseTimer, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxReceiveBinaryReport(CInt(rbrReceiveResponse.Text), CInt(rbrRetryCount.Text))

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            ReceiveBinaryReport.Enabled = True

            TxtReceiveData.Text = .ReceiveData
            TxtReceiveDataLen.Text = CStr(.ReceiveDataLen)

        End With

        DisplayResult(Rtn, ReceiveBinaryReport.Text)
    End Sub

    Private Sub ReceiveData_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles ReceiveData.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            ReceiveData.Enabled = False

            .ACKTimer = CInt(ACKTimer.Text)
            LbACKTimer_Click(LbACKTimer, New System.EventArgs())
            .ResponseTimer = CInt(ResponseTimer.Text)
            LbResponseTimer_Click(LbResponseTimer, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxReceiveData(CInt(rdResponseMode.Text), CInt(rdACKResponse.Text), CInt(rdStxEtxBcc.Text))

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            ReceiveData.Enabled = True

            TxtReceiveData.Text = .ReceiveData
            TxtReceiveDataLen.Text = CStr(.ReceiveDataLen)

        End With

        DisplayResult(Rtn, ReceiveData.Text)
    End Sub

    Private Sub ReceiveDataHF_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles ReceiveDataHF.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            ReceiveDataHF.Enabled = False

            .ResponseTimer = CInt(ResponseTimer.Text)
            LbResponseTimer_Click(LbResponseTimer, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxReceiveDataHF(CInt(rdhfResponseMode.Text), CInt(rdhfACKJudge.Text))

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            ReceiveDataHF.Enabled = True

            rdhfResReserve.Text = .HFReceiveReserve
            rdhfResResp.Text = .HFReceiveResp
            rdhfResStat.Text = .HFReceiveStat
            rdhfResData.Text = .HFReceiveData
            rdhfResDataLen.Text = CStr(.HFReceiveDataLen)
        End With

        DisplayResult(Rtn, ReceiveDataHF.Text)
    End Sub

    Private Sub ReceiveResponse_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles ReceiveResponse.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            ReceiveResponse.Enabled = False

            .ACKTimer = CInt(ACKTimer.Text)
            LbACKTimer_Click(LbACKTimer, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxReceiveResponse(CInt(rrRecMode.Text), CInt(rrTimeOut.Text))

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            ReceiveResponse.Enabled = True

            TxtCOMSTS.Text = .PollCmdComSts
            TxtSEN.Text = .PollCmdSen
            TxtERR.Text = .PollCmdErr
            TxtResDATA.Text = .PollCmdResData
        End With

        DisplayResult(Rtn, ReceiveResponse.Text)
    End Sub

    Private Sub RetVal_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles RetVal.TextChanged
        If RetVal.Text <> "TRUE" And RetVal.Text <> "FALSE" And RetVal.Text <> "" Then
            Select Case Val(RetVal.Text)
                Case RET_PCX_SUCCESS
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000) '緑
                    RetMsg.Text = "OK"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000)
                Case RET_PCX_EVENT_SUCCESS
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFFBF00)   '水色
                    RetMsg.Text = "OK"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFFBF00)
                Case RET_PCX_ACK
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000) '緑
                    RetMsg.Text = "ACK"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000)
                Case RET_PCX_RESPONSE
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000) '緑
                    RetMsg.Text = "RESPONSE"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000)
                Case RET_PCX_FAILURE
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000) '緑
                    RetMsg.Text = "FAILURE"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000)
                Case RET_PCX_NAK
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000) '緑
                    RetMsg.Text = "NAK"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000)
                Case RET_PCX_READY
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000) '緑
                    RetMsg.Text = "READY"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HC000)
                Case RET_PCX_BUSY
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF80FF) '桃色
                    RetMsg.Text = "BUSY"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF80FF)
                Case RET_PCX_CANCELED
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&H80FFFF) '黄色
                    RetMsg.Text = "CANCELED"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&H80FFFF)
                    OpCancelFlag(1).Checked = True
                    CancelFlag_Click(CancelFlag, New System.EventArgs())
                Case RET_PCX_ERR_PARAM
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "PARAM ERR"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
                Case RET_PCX_ERR_PORT
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "PORT ERR"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
                Case RET_PCX_ERR_RES_TIMEOUT
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "RES TIMEOUT"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
                Case RET_PCX_ERR_CTS_TIMEOUT
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "CTS TIMEOUT"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
                Case RET_PCX_ERR_DSR_TIMEOUT
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "DSR ERR"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
                Case RET_PCX_ERR_BUSY_TIMEOUT
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "BUSY STATUS TIMEOUT ERR"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
                Case RET_PCX_ERR_BCC_RETRY
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "BCC ERR"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
                Case RET_PCX_ERR_COMM_WRITE
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "COMM WRITE ERR"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
                Case RET_PCX_ERR_COMM_READ
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "COMM READ ERR"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
                Case RET_PCX_ERR_BUSY
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "非同期処理実行中！"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
                Case Else
                    RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF) '赤
                    RetMsg.Text = "OTHER ERR"
                    RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFF)
            End Select
        Else
            RetMsg.Text = ""
        End If
        System.Windows.Forms.Application.DoEvents()
    End Sub


    Private Sub rrCancel_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles rrCancel.Click
        PCCAx1.CancelFlag = True
    End Sub

    Private Sub SendBinaryCommand_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SendBinaryCommand.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            SendBinaryCommand.Enabled = False

            .ACKTimer = CInt(ACKTimer.Text)
            LbACKTimer_Click(LbACKTimer, New System.EventArgs())

            SendDataSet_Click(SendDataSet, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxSendBinaryCommand(CInt(sbcRetryCount.Text))

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            SendBinaryCommand.Enabled = True

        End With

        DisplayResult(Rtn, SendBinaryCommand.Text)
    End Sub

    Private Sub SendBinaryCommandRR_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SendBinaryCommandRR.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            SendBinaryCommandRR.Enabled = False

            .ACKTimer = CInt(ACKTimer.Text)
            LbACKTimer_Click(LbACKTimer, New System.EventArgs())
            .ResponseTimer = CInt(ResponseTimer.Text)
            LbResponseTimer_Click(LbResponseTimer, New System.EventArgs())

            SendDataSet_Click(SendDataSet, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxSendBinaryCommandRR(CInt(sbcrrReceiveResponse.Text), CInt(sbcrrRetryCount.Text))

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            SendBinaryCommandRR.Enabled = True

            TxtReceiveData.Text = .ReceiveData
            TxtReceiveDataLen.Text = CStr(.ReceiveDataLen)

        End With

        DisplayResult(Rtn, SendBinaryCommandRR.Text)
    End Sub

    Private Sub SendBinaryData_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SendBinaryData.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            SendBinaryData.Enabled = False

            SendDataSet_Click(SendDataSet, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxSendBinaryData()

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            SendBinaryData.Enabled = True

        End With

        DisplayResult(Rtn, SendBinaryData.Text)
    End Sub

    Private Sub SendCommand_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SendCommand.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            SendCommand.Enabled = False

            .ACKTimer = CInt(ACKTimer.Text)
            LbACKTimer_Click(LbACKTimer, New System.EventArgs())

            SendDataSet_Click(SendDataSet, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxSendCommand()

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            SendCommand.Enabled = True

            If OpSendCommand(1).Checked = True Then
                Call ReceiveResponse_Click(ReceiveResponse, New System.EventArgs())
            End If

        End With

        DisplayResult(Rtn, SendCommand.Text)
    End Sub

    Private Sub SendCommandRR_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SendCommandRR.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            SendCommandRR.Enabled = False

            .ACKTimer = CInt(ACKTimer.Text)
            LbACKTimer_Click(LbACKTimer, New System.EventArgs())

            SendDataSet_Click(SendDataSet, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxSendCommandRR(CInt(scrrRecMode.Text), CInt(scrrBusyTimeOut.Text))

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            SendCommandRR.Enabled = True

            TxtCOMSTS.Text = .PollCmdComSts
            TxtSEN.Text = .PollCmdSen
            TxtERR.Text = .PollCmdErr
            TxtResDATA.Text = .PollCmdResData
        End With

        DisplayResult(Rtn, SendCommandRR.Text)
    End Sub

    Private Sub SendData_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SendData.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            SendData.Enabled = False

            .ACKTimer = CInt(ACKTimer.Text)
            LbACKTimer_Click(LbACKTimer, New System.EventArgs())

            SendDataSet_Click(SendDataSet, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxSendData(CInt(sdACKCheck.Text), CInt(sdRetryCount.Text), CInt(sdStxEtxBcc.Text))

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            SendData.Enabled = True

        End With

        DisplayResult(Rtn, SendData.Text)
    End Sub

    Private Sub SendDataHFRR_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SendDataHFRR.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            ReceiveDataHF.Enabled = False

            .ACKTimer = CInt(ACKTimer.Text)
            LbACKTimer_Click(LbACKTimer, New System.EventArgs())
            .ResponseTimer = CInt(ResponseTimer.Text)
            LbResponseTimer_Click(LbResponseTimer, New System.EventArgs())

            SendDataSet_Click(SendDataSet, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            'Rtn = .pcxSendDataHFRR(CLng(sdrrResponseMode.Text), CLng(sdrrRetryCount.Text))
            Rtn = .pcxSendDataHFRR(0, 1)

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            ReceiveDataHF.Enabled = True

            rdhfResReserve.Text = .HFReceiveReserve
            rdhfResResp.Text = .HFReceiveResp
            rdhfResStat.Text = .HFReceiveStat
            rdhfResData.Text = .HFReceiveData
            rdhfResDataLen.Text = CStr(.HFReceiveDataLen)

        End With

        DisplayResult(Rtn, SendDataRR.Text)

    End Sub

    Private Sub SendDataRead_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SendDataRead.Click
        SendDataRead.Enabled = False
        TxtSendDataRD.Text = PCCAx1.SendData
        SendDataRead.Enabled = True
    End Sub

    Private Sub SendDataRR_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SendDataRR.Click
        Dim Rtn As Integer

        Call RetMsgInitialize()

        With PCCAx1
            SendDataRR.Enabled = False

            .ACKTimer = CInt(ACKTimer.Text)
            LbACKTimer_Click(LbACKTimer, New System.EventArgs())
            .ResponseTimer = CInt(ResponseTimer.Text)
            LbResponseTimer_Click(LbResponseTimer, New System.EventArgs())

            SendDataSet_Click(SendDataSet, New System.EventArgs())

            If ChkCancelTimer(0).CheckState = 1 Then Call SetCancelTimer()

            Rtn = .pcxSendDataBCCRR(CInt(sdrrResponseMode.Text), CInt(sdrrRetryCount.Text))

            If ChkCancelTimer(1).CheckState = 1 Then Call SetCancelTimer()

            SendDataRR.Enabled = True

            TxtReceiveData.Text = .ReceiveData
            TxtReceiveDataLen.Text = CStr(.ReceiveDataLen)

        End With

        DisplayResult(Rtn, SendDataRR.Text)
    End Sub

    Private Sub SendDataSet_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SendDataSet.Click
        SendDataSet.Enabled = False
        PCCAx1.SendData = TxtSendDataWR.Text
        TxtSendDataRD.Text = PCCAx1.SendData
        ToolTip1.SetToolTip(TxtSendDataRD, PCCAx1.SendData)
        SendDataSet.Enabled = True
    End Sub


    Private Sub SetCommand_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SetCommand.Click
        PCCAx1.SendDelayTime = Val(SendDelayTimeTxt.Text)
        PCCAx1.WriteFileTimeOut = Val(WriteFileTimeOutText.Text)
        PCCAx1.LogFlag = Val(LogFlagText.Text)
        PCCAx1.LogFileFolder = LogFileFolderText.Text
    End Sub

    Private Sub TxtReceiveData_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles TxtReceiveData.TextChanged
        ToolTip1.SetToolTip(TxtReceiveData, TxtReceiveData.Text)
    End Sub

    Private Sub TxtReceiveDataLen_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles TxtReceiveDataLen.TextChanged
        ToolTip1.SetToolTip(TxtReceiveDataLen, TxtReceiveDataLen.Text)
    End Sub

    Private Sub TxtSendDataWR_TextChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles TxtSendDataWR.TextChanged
        ToolTip1.SetToolTip(TxtSendDataWR, TxtSendDataWR.Text)
    End Sub

    Private Sub Version_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Version.Click
        Version.Enabled = False
        LbVersion.Text = PCCAx1.Version
        Version.Enabled = True
    End Sub

    Private Sub MainForm_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
        FormLoadFlag = True

        Call OpComSet_CheckedChanged(OpComSet.Item(1), New System.EventArgs()) 'Com Setting Default Load
        Call LbACKTimer_Click(LbACKTimer, New System.EventArgs()) 'ACKTimer Default Load
        Call LbResponseTimer_Click(LbResponseTimer, New System.EventArgs()) 'ResponseTimer Default Load
        Call Version_Click(Version, New System.EventArgs()) 'OCX Version
        Call Claimed_Click(Claimed, New System.EventArgs()) 'Port Claimed Status
        Call CmdGetCommStatus_Click(CmdGetCommStatus, New System.EventArgs()) 'Get Comm Signal Line Status
        'call LbDTRLineControl_click                    'DTRLineControl Check
        'If PCCAx1.DTRLineControl = True Then
        '    ChkDTRLineControl.Value = 1
        'ElseIf PCCAx1.DTRLineControl = False Then
        '    ChkDTRLineControl.Value = 0
        'End If
        TxtPortNames.Text = ""
        TxtSendDataWR.Text = ""
        TxtSendDataRD.Text = ""
        TxtReceiveData.Text = ""
        TxtReceiveDataLen.Text = ""
        OpCancelFlag(1).Checked = True 'Cancel Flag Default Load
        Call CancelFlag_Click(CancelFlag, New System.EventArgs()) '
        CmbComBufferClear.SelectedIndex = 0 'ComBufferClear List Set
        TxtCOMSTS.Text = "" 'Polling Response Label
        TxtSEN.Text = "" '
        TxtERR.Text = "" '
        TxtResDATA.Text = "" '
        ACKTimer.Text = CStr(PCCAx1.ACKTimer) 'ACKTimer Default
        ResponseTimer.Text = CStr(PCCAx1.ResponseTimer) 'ResponseTimer Default

        scrrRecMode.Text = "1" 'pcxCommandSendRR iRecMode=1
        scrrBusyTimeOut.Text = "5000" 'pcxCommandSendRR BusyTimeOut = 5000ms
        OpSendCommand(0).Checked = True 'pcxCommandSend Auto Response_Click
        rrRecMode.Text = "0" 'pcxReceiveResponse iRecMode=0
        rrTimeOut.Text = "10000" 'pcxReceiveResponse BusyTimeOut = 10000ms
        sdrrRetryCount.Text = "3" 'pcxSendDataRR ReTryCount = 3
        sdACKCheck.Text = "0" 'pcxSendData ACKCheck = 1
        sdRetryCount.Text = "3" 'pcxSendData RetryCount = 3
        sdStxEtxBcc.Text = "1" 'pcxSendData StxEtxBcc = 1
        rdACKResponse.Text = "1" 'pcxReceiveData AckResponse = 1
        rdStxEtxBcc.Text = "1" 'pcxReceiveData StxEtxBcc = 1
        rdhfACKJudge.Text = "1" 'pcxReceiveDataHF ACKJudge = 1
        rdhfResReserve.Text = ""
        rdhfResResp.Text = ""
        rdhfResStat.Text = ""
        rdhfResData.Text = ""
        rdhfResDataLen.Text = ""
        sbcrrRetryCount.Text = "3" 'pcxSendBinaryCommandRR RetryCount = 3
        sbcRetryCount.Text = "3" 'pcxSendBinaryCommand   RetryCount = 3
        rbrRetryCount.Text = "3" 'pcxReceiveBinaryReport RetryCount = 3
        CbCancelFlag.SelectedIndex = 1
        CheckHandshake.CheckState = System.Windows.Forms.CheckState.Checked
        Call RetMsgInitialize()

        SendDelayTimeTxt.Text = CStr(PCCAx1.SendDelayTime)
        WriteFileTimeOutText.Text = CStr(PCCAx1.WriteFileTimeOut)
        LogFlagText.Text = CStr(PCCAx1.LogFlag)
        LogFileFolderText.Text = PCCAx1.LogFileFolder

        'プリンターの一覧を列挙
        On Error Resume Next
        Dim p As String
        cboPriSet.Items.Clear()
        For Each p In Printing.PrinterSettings.InstalledPrinters
            cboPriSet.Items.Add(p)
        Next

        Dim pd As New System.Drawing.Printing.PrintDocument()
        '途中でプリンターを変更(テストのために)
        Dim printer As String = "ABCD Printer"
        pd.PrinterSettings.PrinterName = printer                '存在しなくても変更はできる
        cboPriSet.Text = pd.PrinterSettings.PrinterName         '結果

        If pd.PrinterSettings.IsDefaultPrinter Then
            cboPriSet.Text = pd.PrinterSettings.PrinterName     '結果 
        Else
            pd = New System.Drawing.Printing.PrintDocument()
            cboPriSet.Text = pd.PrinterSettings.PrinterName     '結果 
        End If

        cboPriSet_SelectedIndexChanged(cboPriSet, New System.EventArgs())

        Me.Text = "PComControlActiveX Test Program VB.NET(2008) Ver:" & System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).FileMajorPart & "." & System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).FileMinorPart & "." & System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly.Location).ProductBuildPart & " [ OCX Ver:" & PCCAx1.Version & " ]"
        Me.Height = VB6.TwipsToPixelsY(10845)
        Me.Width = VB6.TwipsToPixelsX(12315)

        FormLoadFlag = False
    End Sub

    Private Sub GetPortNames_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles GetPortNames.Click
        GetPortNames.Enabled = False

        TxtPortNames.Text = PCCAx1.GetPortNames

        GetPortNames.Enabled = True
    End Sub

    Private Sub LbACKTimer_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles LbACKTimer.Click
        LbACKTimer.Text = CStr(PCCAx1.ACKTimer)
    End Sub

    Private Sub LbDTRLineControl_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles LbDTRLineControl.Click
        LbDTRLineControl.Text = CStr(PCCAx1.DTRLineControl)
    End Sub

    Private Sub LbResponseTimer_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles LbResponseTimer.Click
        LbResponseTimer.Text = CStr(PCCAx1.ResponseTimer)
    End Sub

    Private Sub OpComSet_CheckedChanged(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles OpComSet.CheckedChanged
        If eventSender.Checked Then
            Dim Index As Short = OpComSet.GetIndex(eventSender)
            Dim i As Short

            With PCCAx1
                Select Case Index
                    Case 0
                        .PortNo = CInt(CmbPortNo.Text)
                        .BaudRate = CInt(CmbBaudRate.Text)
                        .DataBit = CmbDataBit.Text
                        .Parity = VB.Left(CmbParity.Text, 1)
                        .DSRCheck = CBool(CmbDSRCheck.Text)
                        .CTSCheck = CBool(CmbCTSCheck.Text)
                        .TXBufferSize = CInt(TxtTXBufferSize.Text)
                        .RXBufferSize = CInt(TxtRXBufferSize.Text)
                        If FormLoadFlag = True Then
                            ColorCode = System.Drawing.ColorTranslator.ToOle(System.Drawing.SystemColors.ControlText)
                        Else
                            ColorCode = &H8080FF
                        End If
                        Label(0).ForeColor = System.Drawing.ColorTranslator.FromOle(ColorCode)
                        Label(1).ForeColor = System.Drawing.ColorTranslator.FromOle(ColorCode)
                    Case 1
                        'プロパティのリード
                        For i = 0 To CmbPortNo.Items.Count
                            If Val(VB6.GetItemString(CmbPortNo, i)) = .PortNo Then
                                CmbPortNo.SelectedIndex = i
                                Exit For
                            End If
                        Next i
                        For i = 0 To CmbBaudRate.Items.Count
                            If Val(VB6.GetItemString(CmbBaudRate, i)) = .BaudRate Then
                                CmbBaudRate.SelectedIndex = i
                                Exit For
                            End If
                        Next i
                        For i = 0 To CmbDataBit.Items.Count
                            If Val(VB6.GetItemString(CmbDataBit, i)) = CDbl(.DataBit) Then
                                CmbDataBit.SelectedIndex = i
                                Exit For
                            End If
                        Next i
                        For i = 0 To CmbParity.Items.Count
                            If VB.Left(VB6.GetItemString(CmbParity, i), 1) = .Parity Then
                                CmbParity.SelectedIndex = i
                                Exit For
                            End If
                        Next i
                        For i = 0 To CmbDSRCheck.Items.Count
                            If CBool(VB6.GetItemString(CmbDSRCheck, i)) = .DSRCheck Then
                                CmbDSRCheck.SelectedIndex = i
                                Exit For
                            End If
                        Next i
                        For i = 0 To CmbCTSCheck.Items.Count
                            If CBool(VB6.GetItemString(CmbCTSCheck, i)) = .CTSCheck Then
                                CmbCTSCheck.SelectedIndex = i
                                Exit For
                            End If
                        Next i
                        TxtTXBufferSize.Text = CStr(.TXBufferSize)
                        TxtRXBufferSize.Text = CStr(.RXBufferSize)
                        If FormLoadFlag = True Then
                            ColorCode = System.Drawing.ColorTranslator.ToOle(System.Drawing.SystemColors.ControlText)
                        Else
                            ColorCode = &HC000
                        End If
                        Label(0).ForeColor = System.Drawing.ColorTranslator.FromOle(ColorCode)
                        Label(1).ForeColor = System.Drawing.ColorTranslator.FromOle(ColorCode)
                End Select
            End With
        End If
    End Sub

    Public Sub DisplayResult(ByVal ret As Short, Optional ByRef MethodName As String = "")
        Dim Work As String

        If MethodName <> "" Then
            ' "FuncName"
            Work = Chr(&H20S) & Chr(&H22S) & MethodName & Chr(&H22S)
            LbRetValue.Text = "ReturnValue:" & Work
        Else
            LbRetValue.Text = "ReturnValue:"
        End If

        RetVal.Text = CStr(ret)

    End Sub

    Public Sub RetMsgInitialize()
        'Return Code Box Clear
        RetVal.Text = ""
        RetMsg.Text = ""
        RetVal.BackColor = System.Drawing.ColorTranslator.FromOle(&HFFFFFF)
        RetMsg.BackColor = System.Drawing.ColorTranslator.FromOle(&HFFFFFF)

    End Sub

    Public Sub SetCancelTimer()
        'UPGRADE_WARNING: Timer プロパティ CancelTimer.Interval に値 0 を指定することはできません。 詳細については、'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup2020"' をクリックしてください。
        CancelTimer.Interval = CInt(Val(TxtCancelTimer.Text))
        CancelTimer.Enabled = True
    End Sub

    Private Function NullTrim(ByRef strBuf As String) As String
        NullTrim = VB.Left(strBuf, InStr(1, strBuf, vbNullChar))
    End Function

    Private Sub PCCAx1_pcxCommEvent(ByVal sender As System.Object, ByVal e As AxPCCAXLib._DPCCAxEvents_pcxCommEventEvent) Handles PCCAx1.pcxCommEvent
        MainSSTab.SelectedIndex = 4

        Select Case e.lEvent
            Case EVT_PCX_RXCHAR
                If OpEVT_RXCHAR_Return(0).Checked = True Then
                    MsgBox("EVT_PCX_RXCHAR", MsgBoxStyle.OKOnly, "pcxCommEvent")
                ElseIf OpEVT_RXCHAR_Return(1).Checked = True Then
                    MainSSTab.SelectedIndex = 1
                    ReceiveData_Click(ReceiveData, New System.EventArgs())
                ElseIf OpEVT_RXCHAR_Return(2).Checked = True Then
                    MainSSTab.SelectedIndex = 1
                    ReceiveDataHF_Click(ReceiveDataHF, New System.EventArgs())
                ElseIf OpEVT_RXCHAR_Return(3).Checked = True Then
                    MainSSTab.SelectedIndex = 2
                    ReceiveBinaryReport_Click(ReceiveBinaryReport, New System.EventArgs())
                ElseIf OpEVT_RXCHAR_Return(4).Checked = True Then
                    MainSSTab.SelectedIndex = 3
                    ReceiveBinaryData_Click(ReceiveBinaryData, New System.EventArgs())
                End If
            Case EVT_PCX_TXEMPTY
                MsgBox("EVT_PCX_TXEMPTY", MsgBoxStyle.OKOnly, "pcxCommEvent")
            Case EVT_PCX_ERR_BUFFER_OVERFLOW
                MsgBox("EVT_PCX_ERR_BUFFER_OVERFLOW", MsgBoxStyle.OKOnly, "pcxCommEvent")
            Case EVT_PCX_CTS
                MsgBox("EVT_PCX_CTS", MsgBoxStyle.OKOnly, "pcxCommEvent")
            Case EVT_PCX_DSR
                ClosePort_Click(ClosePort, New System.EventArgs())
                MsgBox("EVT_PCX_DSR with pcxClosePort Execute", MsgBoxStyle.OKOnly, "pcxCommEvent")
            Case EVT_PCX_RLSD
                MsgBox("EVT_PCX_RLSD", MsgBoxStyle.OKOnly, "pcxCommEvent")
            Case EVT_PCX_BREAK
                ClosePort_Click(ClosePort, New System.EventArgs())
                MsgBox("EVT_PCX_BREAK with pcxClosePort Execute", MsgBoxStyle.OKOnly, "pcxCommEvent")
            Case EVT_PCX_RING
                MsgBox("EVT_PCX_RING", MsgBoxStyle.OKOnly, "pcxCommEvent")
            Case EVT_PCX_ERR_FRAME
                MsgBox("EVT_PCX_ERR_FRAME", MsgBoxStyle.OKOnly, "pcxCommEvent")
            Case EVT_PCX_ERR_OVERRUN
                MsgBox("EVT_PCX_ERR_OVERRUN", MsgBoxStyle.OKOnly, "pcxCommEvent")
            Case EVT_PCX_ERR_PARITY
                MsgBox("EVT_PCX_ERR_PARITY", MsgBoxStyle.OKOnly, "pcxCommEvent")
        End Select
    End Sub

    Private Sub _Frame_1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles _Frame_1.Enter

    End Sub
End Class