General information
Category:
The Mere Mortals .NET Framework
Now it's really getting icky.
When I use this:
Dim WithEvents TabControl As New TabControl()
I get this message:
Warning 1
variable 'TabControl' conflicts with variable 'TabControl' in the base class 'mmMaintenanceForm' and should be declared 'Shadows'
Then I use this:
Shadows WithEvents TabControl As New TabControl()
I get this message when the form starts:
Unable to cast object of type 'System.Windows.Forms.TabControl' to type 'System.ComponentModel.ISupportInitialize'.
Since I'm using the MM Tab Control, I can't tell what I should be doing where.
Any suggestions on this?
Thanks.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only