Overloads/Shadows question
From: Jeff Johnson [MVP: VB] (i.get_at_enough.spam)
Date: 06/30/04
- Next message: Cor Ligthert: "Re: Exceptions, not being caught outside of the IDE!!!"
- Previous message: Herfried K. Wagner [MVP]: "Re: Application.Exit() did not exist the application."
- Next in thread: One Handed Man \( OHM - Terry Burns \): "Re: Overloads/Shadows question"
- Reply: One Handed Man \( OHM - Terry Burns \): "Re: Overloads/Shadows question"
- Reply: Cor Ligthert: "Re: Overloads/Shadows question"
- Reply: Jay B. Harlow [MVP - Outlook]: "Re: Overloads/Shadows question"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 30 Jun 2004 09:11:57 -0400
I'm developing a form which is to be used as an enhanced MessageBox(). I
don't want it to be shown with the default Show() method, so as I provided
overloaded versions of Show() I marked them as Shadows and I didn't provide
a parameterless version of Show(). Would it have been better (or would this
have even worked) to simply make a Private version of Show() and only
exposed (i.e., made Public) the other overloads?
- Next message: Cor Ligthert: "Re: Exceptions, not being caught outside of the IDE!!!"
- Previous message: Herfried K. Wagner [MVP]: "Re: Application.Exit() did not exist the application."
- Next in thread: One Handed Man \( OHM - Terry Burns \): "Re: Overloads/Shadows question"
- Reply: One Handed Man \( OHM - Terry Burns \): "Re: Overloads/Shadows question"
- Reply: Cor Ligthert: "Re: Overloads/Shadows question"
- Reply: Jay B. Harlow [MVP - Outlook]: "Re: Overloads/Shadows question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|