Click here to Skip to main content
15,897,891 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to create dynamic Menus in smart device application Pin
Stephane Rodriguez.4-Apr-03 19:15
Stephane Rodriguez.4-Apr-03 19:15 
GeneralRe: How to create dynamic Menus in smart device application Pin
J. Dunlap4-Apr-03 20:03
J. Dunlap4-Apr-03 20:03 
GeneralRe: How to create dynamic Menus in smart device application Pin
newtocsharp4-Apr-03 20:52
newtocsharp4-Apr-03 20:52 
GeneralRe: How to create dynamic Menus in smart device application Pin
Stephane Rodriguez.4-Apr-03 21:25
Stephane Rodriguez.4-Apr-03 21:25 
GeneralIOCP in .NET Pin
BestSnowman4-Apr-03 14:06
BestSnowman4-Apr-03 14:06 
GeneralRe: IOCP in .NET Pin
Alex Korchemniy5-Apr-03 8:52
Alex Korchemniy5-Apr-03 8:52 
GeneralRe: IOCP in .NET Pin
James T. Johnson5-Apr-03 13:45
James T. Johnson5-Apr-03 13:45 
QuestionHow to call the default event handler? Pin
Alvaro Mendez4-Apr-03 11:51
Alvaro Mendez4-Apr-03 11:51 
Hi,

I'm a newbie in the C# world, having arrived from MFC land. I'm learning about C# and .NET by playing around with a Windows Form app. I'm also in the process of porting one of my CP articles to .NET.

Anyway, my question:

I've added an event handler to a control in the form, and would like it to do nothing in some circumstances -- in other words I want it to just call the parent's event handler. How is that done when it comes to events and delegates?

For example, I know that with MFC, if override the IDOK handler (OnOK), I can just call CDialog::OnOK to let it do its default behavior. But events in C#/.NET seem to work differently.

I appreciate your help.

Regards,
Alvaro


When birds fly in the right formation, they need only exert half the effort. Even in nature, teamwork results in collective laziness. -- despair.com
AnswerRe: How to call the default event handler? Pin
neroknights4-Apr-03 12:00
neroknights4-Apr-03 12:00 
GeneralRe: How to call the default event handler? Pin
Alvaro Mendez4-Apr-03 12:27
Alvaro Mendez4-Apr-03 12:27 
GeneralRe: How to call the default event handler? Pin
neroknights7-Apr-03 5:08
neroknights7-Apr-03 5:08 
AnswerRe: How to call the default event handler? Pin
James T. Johnson5-Apr-03 13:21
James T. Johnson5-Apr-03 13:21 
QuestionHow would I make a button act like a ReadLine method Pin
Ioncycle4-Apr-03 10:05
Ioncycle4-Apr-03 10:05 
GeneralClass inheritance issue with XmlNodeList Pin
econner4-Apr-03 9:35
econner4-Apr-03 9:35 
GeneralRe: Class inheritance issue with XmlNodeList Pin
neroknights4-Apr-03 12:09
neroknights4-Apr-03 12:09 
GeneralGetting the FQDN of the host Pin
Arun Bhalla4-Apr-03 9:33
Arun Bhalla4-Apr-03 9:33 
GeneralClass Design Question Pin
Mark Sanders4-Apr-03 4:46
Mark Sanders4-Apr-03 4:46 
GeneralRe: Class Design Question Pin
Philip Fitzsimons4-Apr-03 4:53
Philip Fitzsimons4-Apr-03 4:53 
GeneralRe: Class Design Question Pin
Mark Sanders4-Apr-03 4:59
Mark Sanders4-Apr-03 4:59 
GeneralRe: Class Design Question Pin
Philip Fitzsimons4-Apr-03 5:09
Philip Fitzsimons4-Apr-03 5:09 
GeneralRe: Class Design Question Pin
Ranjan Banerji4-Apr-03 7:03
Ranjan Banerji4-Apr-03 7:03 
GeneralRe: Class Design Question Pin
Mark Sanders4-Apr-03 7:51
Mark Sanders4-Apr-03 7:51 
GeneralRe: Class Design Question Pin
Nnamdi Onyeyiri4-Apr-03 8:01
Nnamdi Onyeyiri4-Apr-03 8:01 
GeneralRespond to UI Messages Pin
Roger CS4-Apr-03 3:41
Roger CS4-Apr-03 3:41 
GeneralRe: Respond to UI Messages Pin
neroknights4-Apr-03 4:06
neroknights4-Apr-03 4:06 

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.