My class inherits from PictureBox. Is it possible to remove a property of the PictureBox class from my class? for example I dont want my class to have a .Location property.
Printable View
My class inherits from PictureBox. Is it possible to remove a property of the PictureBox class from my class? for example I dont want my class to have a .Location property.
I dont think so. Why do you want to remove it??
Hi,
You can remove it from the property browser by Browsable attribute, but you can't remove it form the class itself.
You can always hard code any class to remove any property of-course. Like the way in VB6.
Sorry about the stupid post, I first post this, then see the ***RESOLVED*** thread, Not enough talent! :confused: :confused: :confused:
naah, it wasnt stupid, hehe :) :)Quote:
Originally posted by Vahid
Sorry about the stupid post, I first post this, then see the ***RESOLVED*** thread, Not enough talent! :confused: :confused: :confused:
Thanks... at least I know that I cant remove it, I wont look for it anymore :D