Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to click a button Pin
Nick Parker9-Aug-02 10:52
protectorNick Parker9-Aug-02 10:52 
GeneralRe: how to click a button Pin
Rama Krishna Vavilala9-Aug-02 12:07
Rama Krishna Vavilala9-Aug-02 12:07 
GeneralRe: how to click a button Pin
Nick Parker9-Aug-02 13:51
protectorNick Parker9-Aug-02 13:51 
GeneralRe: how to click a button Pin
Rama Krishna Vavilala9-Aug-02 15:36
Rama Krishna Vavilala9-Aug-02 15:36 
GeneralRe: how to click a button Pin
Nick Parker9-Aug-02 16:31
protectorNick Parker9-Aug-02 16:31 
GeneralRe: how to click a button Pin
James T. Johnson9-Aug-02 17:00
James T. Johnson9-Aug-02 17:00 
GeneralRe: how to click a button Pin
Nick Parker9-Aug-02 17:24
protectorNick Parker9-Aug-02 17:24 
GeneralRe: how to click a button Pin
James T. Johnson9-Aug-02 18:32
James T. Johnson9-Aug-02 18:32 
Nick Parker wrote:
Why would another object attach itself (i.e. - your example with one button handling multiple events) to something that already handles an event.

It doesn't happen often, but one possiblity could be a logging application where it logs all actions taken by the user. It would have one method attached to all control's Click event so it could log the event.

Another thing to look out for would be any code the button itself performs when it is clicked. The default button doesn't do anything [that i know of], but derived classes might.

James
GeneralRe: how to click a button Pin
Nick Parker9-Aug-02 18:39
protectorNick Parker9-Aug-02 18:39 
AnswerRe: how to click a button Pin
Rama Krishna Vavilala9-Aug-02 12:06
Rama Krishna Vavilala9-Aug-02 12:06 
GeneralControlling the Mouse pointer Pin
albean9-Aug-02 9:42
albean9-Aug-02 9:42 
GeneralRe: Controlling the Mouse pointer Pin
Nick Parker9-Aug-02 10:57
protectorNick Parker9-Aug-02 10:57 
GeneralRe: Controlling the Mouse pointer Pin
albean9-Aug-02 11:12
albean9-Aug-02 11:12 
GeneralRe: Controlling the Mouse pointer Pin
Nick Parker9-Aug-02 11:17
protectorNick Parker9-Aug-02 11:17 
GeneralRe: Controlling the Mouse pointer Pin
imran_rafique13-Aug-02 9:50
imran_rafique13-Aug-02 9:50 
GeneralRe: Controlling the Mouse pointer Pin
Nick Parker13-Aug-02 9:54
protectorNick Parker13-Aug-02 9:54 
GeneralRe: Controlling the Mouse pointer Pin
imran_rafique13-Aug-02 10:13
imran_rafique13-Aug-02 10:13 
GeneralRe: Controlling the Mouse pointer Pin
Nick Parker13-Aug-02 10:59
protectorNick Parker13-Aug-02 10:59 
QuestionTransparent color? Pin
Rickard Andersson209-Aug-02 6:12
Rickard Andersson209-Aug-02 6:12 
AnswerRe: Transparent color? Pin
Anonymous9-Aug-02 7:06
Anonymous9-Aug-02 7:06 
AnswerRe: Transparent color? Pin
Nick Parker9-Aug-02 11:00
protectorNick Parker9-Aug-02 11:00 
AnswerRe: Transparent color? Pin
James T. Johnson9-Aug-02 15:21
James T. Johnson9-Aug-02 15:21 
GeneralThe Wierdest Think Ever! Pin
Joel Matthias9-Aug-02 5:28
Joel Matthias9-Aug-02 5:28 
GeneralRe: The Wierdest Think Ever! Pin
Joel Matthias9-Aug-02 5:31
Joel Matthias9-Aug-02 5:31 
GeneralRe: The Wierdest Think Ever! Pin
Joel Matthias9-Aug-02 8:50
Joel Matthias9-Aug-02 8:50 

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.