Visual basic is far from my expertise , Do I need both of these added to Purchased controls , does one Inherit the other, AquaGauge.vb and AquaGaugeHMIv399.vb
If I only have AquaGaugeHMIv399.vb added I get all the above errors , If I add both I get this error
Error 1 'InitializeComponent' is not declared. It may be inaccessible due to its protection level.
J:\Template V399d\AdvancedHMIControls\PurchasedControls\AquaGauge.vb 64 9 AdvancedHMIControls
red is where the error points
#Region "Constructor"
Public Sub New()
InitializeComponent()
MyBase.DoubleBuffered = True
Me.DoubleBuffered = True
MyBase.ForeColor = Color.Orange
x = 5
y = 5
wdth = Me.Width - 10
hght = Me.Height - 10
Me.m_noOfDivisions = 10
Me.m_noOfSubDivisions = 4
Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True)
Me.SetStyle(ControlStyles.ResizeRedraw, True)
Me.SetStyle(ControlStyles.AllPaintingInWmPaint, True)
Me.SetStyle(ControlStyles.UserPaint, True)
Me.SetStyle(ControlStyles.OptimizedDoubleBuffer, True)
Darrell