Click here to Skip to main content
15,907,329 members
Home / Discussions / C#
   

C#

 
GeneralRe: Overriding the Closing event Pin
David Wengier1-Apr-02 20:55
David Wengier1-Apr-02 20:55 
GeneralRe: Overriding the Closing event Pin
1-Apr-02 20:59
suss1-Apr-02 20:59 
GeneralRe: Overriding the Closing event Pin
1-Apr-02 22:57
suss1-Apr-02 22:57 
GeneralRe: Overriding the Closing event Pin
James T. Johnson2-Apr-02 1:19
James T. Johnson2-Apr-02 1:19 
GeneralRe: Overriding the Closing event Pin
2-Apr-02 2:15
suss2-Apr-02 2:15 
GeneralRe: Overriding the Closing event Pin
James T. Johnson2-Apr-02 3:34
James T. Johnson2-Apr-02 3:34 
GeneralRe: Overriding the Closing event Pin
Ludwig Stuyck2-Apr-02 20:24
Ludwig Stuyck2-Apr-02 20:24 
Generalstatic members vs namespace helper functions Pin
myfriendofmisery1-Apr-02 14:15
myfriendofmisery1-Apr-02 14:15 
Gday All,

I have a performance /design question regarding whether it
is better to implement helper functions for a class as
static members or as global/namespace functions.
For example:

namespace MyObjCtrl {
class MyObject {
public:
//static member that uses a MyObject ( option 'A' )
static HelperStyleA( MyObject* pObj );
};

//namespace helper function of option 'B'
HelperStyleB( MyObject* pObj );

};

//implementation of option 'B'
MyObjCtrl::HelperStyleB( MyObject* pObj )
{
}

If anyone could give me a run down on the pros and cons of
these two methods or of any website or tutorial that might
help, it would be much appreciated
GeneralRe: static members vs namespace helper functions Pin
Tom Archer2-Apr-02 7:50
Tom Archer2-Apr-02 7:50 
GeneralTrouble with CollectionBase Pin
1-Apr-02 12:26
suss1-Apr-02 12:26 
GeneralRe: Trouble with CollectionBase Pin
James T. Johnson1-Apr-02 22:58
James T. Johnson1-Apr-02 22:58 
GeneralRe: Trouble with CollectionBase Pin
Tom Archer2-Apr-02 7:25
Tom Archer2-Apr-02 7:25 
GeneralSendMessage/PostMessage via socket Pin
BLaZiNiX31-Mar-02 22:33
BLaZiNiX31-Mar-02 22:33 
Questionhow to immigrate c++'s union? Pin
31-Mar-02 19:32
suss31-Mar-02 19:32 
AnswerRe: how to immigrate c++'s union? Pin
Paul M Watt31-Mar-02 20:35
mentorPaul M Watt31-Mar-02 20:35 
AnswerRe: how to immigrate c++'s union? Pin
James T. Johnson1-Apr-02 22:55
James T. Johnson1-Apr-02 22:55 
GeneralRe: how to immigrate c++'s union? Pin
2-Apr-02 14:59
suss2-Apr-02 14:59 
QuestionCan a component obtain a reference to its container object? Pin
31-Mar-02 14:02
suss31-Mar-02 14:02 
AnswerRe: Can a component obtain a reference to its container object? Pin
James T. Johnson31-Mar-02 17:58
James T. Johnson31-Mar-02 17:58 
GeneralRe: Can a component obtain a reference to its container object? Pin
1-Apr-02 6:38
suss1-Apr-02 6:38 
GeneralRe: Can a component obtain a reference to its container object? Pin
Andy Smith1-Apr-02 6:50
Andy Smith1-Apr-02 6:50 
GeneralRe: Can a component obtain a reference to its container object? Pin
1-Apr-02 9:14
suss1-Apr-02 9:14 
GeneralRe: Can a component obtain a reference to its container object? Pin
1-Apr-02 14:10
suss1-Apr-02 14:10 
GeneralRe: Can a component obtain a reference to its container object? Pin
Andy Smith1-Apr-02 14:50
Andy Smith1-Apr-02 14:50 
GeneralRe: Can a component obtain a reference to its container object? Pin
James T. Johnson1-Apr-02 16:23
James T. Johnson1-Apr-02 16:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.