Click here to Skip to main content
15,923,689 members
Home / Discussions / C#
   

C#

 
GeneralRe: override onpaint Pin
donkaiser29-Jun-06 7:54
donkaiser29-Jun-06 7:54 
GeneralRe: override onpaint Pin
mikanu29-Jun-06 8:14
mikanu29-Jun-06 8:14 
QuestionNested datagrid: object reference not set to an instance of an object. Pin
leckey29-Jun-06 4:44
leckey29-Jun-06 4:44 
QuestionTiling an image in a PictureBox Pin
Cerasti29-Jun-06 4:41
Cerasti29-Jun-06 4:41 
AnswerRe: Tiling an image in a PictureBox Pin
Ista29-Jun-06 6:37
Ista29-Jun-06 6:37 
AnswerRe: Tiling an image in a PictureBox Pin
mikanu29-Jun-06 6:44
mikanu29-Jun-06 6:44 
QuestionC# Event Handling Questions Pin
joshp121729-Jun-06 3:40
joshp121729-Jun-06 3:40 
AnswerRe: C# Event Handling Questions Pin
Jun Du29-Jun-06 4:06
Jun Du29-Jun-06 4:06 
If I understand correctly, you wanted to send a button-click event from one form to another.

First, a button-click event has to be first handled by its container form. It cannot be sent to or handled by another form. This is how event model should work.

That said, you still can notify any other forms that something interesting has happened. The simpliest (may not be beast) approach is making a callback into any interested forms from within the event handler and let them to further process the event if necessary.

Hope this helps.


Best,
Jun

GeneralRe: C# Event Handling Questions Pin
joshp121729-Jun-06 4:16
joshp121729-Jun-06 4:16 
GeneralRe: C# Event Handling Questions Pin
Jun Du29-Jun-06 7:59
Jun Du29-Jun-06 7:59 
AnswerRe: C# Event Handling Questions Pin
led mike29-Jun-06 6:43
led mike29-Jun-06 6:43 
Questioncallto: and mailto: settings Pin
ante.mihalj29-Jun-06 2:32
ante.mihalj29-Jun-06 2:32 
AnswerRe: callto: and mailto: settings Pin
Super Lloyd29-Jun-06 3:15
Super Lloyd29-Jun-06 3:15 
GeneralRe: callto: and mailto: settings Pin
ante.mihalj29-Jun-06 21:34
ante.mihalj29-Jun-06 21:34 
GeneralRe: callto: and mailto: settings Pin
Super Lloyd29-Jun-06 21:51
Super Lloyd29-Jun-06 21:51 
GeneralRe: callto: and mailto: settings Pin
ante.mihalj30-Jun-06 3:28
ante.mihalj30-Jun-06 3:28 
QuestionDatabase problem Pin
hany_hu29-Jun-06 2:23
hany_hu29-Jun-06 2:23 
AnswerRe: Database problem Pin
PlayByTheRules29-Jun-06 3:13
PlayByTheRules29-Jun-06 3:13 
AnswerRe: Database problem Pin
V.29-Jun-06 4:42
professionalV.29-Jun-06 4:42 
AnswerRe: Database problem Pin
Not Active29-Jun-06 5:08
mentorNot Active29-Jun-06 5:08 
QuestionHow do I clone events? Pin
Daniel Persson29-Jun-06 2:12
Daniel Persson29-Jun-06 2:12 
AnswerRe: How do I clone events? Pin
Super Lloyd29-Jun-06 2:25
Super Lloyd29-Jun-06 2:25 
GeneralRe: How do I clone events? Pin
Daniel Persson29-Jun-06 2:51
Daniel Persson29-Jun-06 2:51 
QuestionHow to manage DLL with complex parameters? Pin
abiisalwayshappy29-Jun-06 2:08
abiisalwayshappy29-Jun-06 2:08 
AnswerRe: How to manage DLL with complex parameters? Pin
Judah Gabriel Himango29-Jun-06 4:37
sponsorJudah Gabriel Himango29-Jun-06 4:37 

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.