Quantcast
Viewing all articles
Browse latest Browse all 27418

[VB2010] - if Bitmap is NotInheritable, how can i use it in my class?

heres my class:
Code:

Public Class Bitmap2
    Inherits Bitmap

End Class

but i get these error
"'Bitmap2' cannot inherit from class 'Bitmap' because 'Bitmap' is declared 'NotInheritable'"
so how can i use it in my class, without recreate entire class?
(what i want is add some nice tools to the Bitmap class)

Viewing all articles
Browse latest Browse all 27418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>