Custom views classes are not views by themselves.
Make those changes in the class:
1. Make mBase a public variable - line 21.
2. Add this line to DesignerCreateView after mBase is set:
Now you can get reference to the gauge class like this:
Code:
Dim objGague As Gauge = p.GetView(0).Tag