VB Code:
Public Class FootPedal
Inherits System.ComponentModel.Component
''this is more down where the timer code is
Private components As System.ComponentModel.IContainer
Friend WithEvents tmrPortQuery As System.Windows.Forms.Timer
' ===================================
' Interval merely sets and returns the tmrPortQuery.Interval
' property.
' ===================================
<DefaultValue(100), _
Description("Automated polling interval."), _
Category("Behavior")> _
Public Property Interval() As Integer