Results 1 to 5 of 5

Thread: *resolved* removing a property from an inherited class?

  1. #1

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428

    *resolved* removing a property from an inherited class?

    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.
    Last edited by MrPolite; Oct 25th, 2002 at 09:22 PM.
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

  2. #2
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    I dont think so. Why do you want to remove it??
    Dont gain the world and lose your soul

  3. #3
    Member Vahid's Avatar
    Join Date
    Aug 2002
    Location
    Iran
    Posts
    37
    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.

  4. #4
    Member Vahid's Avatar
    Join Date
    Aug 2002
    Location
    Iran
    Posts
    37
    Sorry about the stupid post, I first post this, then see the ***RESOLVED*** thread, Not enough talent!

  5. #5

    Thread Starter
    l33t! MrPolite's Avatar
    Join Date
    Sep 2001
    Posts
    4,428
    Originally posted by Vahid
    Sorry about the stupid post, I first post this, then see the ***RESOLVED*** thread, Not enough talent!
    naah, it wasnt stupid, hehe
    Thanks... at least I know that I cant remove it, I wont look for it anymore
    rate my posts if they help ya!
    Extract thumbnail without reading the whole image file: (C# - VB)
    Apply texture to bitmaps: (C# - VB)
    Extended console library: (VB)
    Save JPEG with a certain quality (image compression): (C# - VB )
    VB.NET to C# conversion tips!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width