Hi All
I am getting the following warning on my debugger.
Implicit conversion from 'System.Windows.Forms.Cont
rol' to 'DevExpress.XtraEditors.Si
mpleButton
'.
And is refering to the following line.
Dim _CTL As DevExpress.XtraEditors.Sim
pleButton
_CTL = m_WizardComponent.ButtonPa
nel.GetChi
ldAtPoint(
m_WizardCo
mponent.Bu
ttonPanel.
PointToCli
ent(point)
) <<<<<<<<<<<<<<<<<
Also a similar one
Implicit conversion from 'Object' to 'WizardFramework.WizardPag
e'.
Private Sub m_colPages_Added(ByVal sender As Object) Handles m_colPages.Added
Try
If Not sender Is Nothing Then
If Not Me.Controls.Contains(sende
r) Then Me.Controls.Add(sender) <<<<<<<<<<<<<<<
How do I resolve these warnings ? Is it just a case of specifying a conversion type?
Regards
Steve
Start Free Trial