Textbox LostFocus event fires after Command Button's OnClick event

Posted by Homam on Stack Overflow See other posts from Stack Overflow or by Homam
Published on 2010-06-15T13:17:58Z Indexed on 2010/06/15 13:32 UTC
Read the original article Hit count: 261

Filed under:
|
|

Hi all,

I have a TextBox and a ToolStripButton in a windows forms application,

the TextBox implements an event handler for the LostFocus event,

and the ToolStripButton implements an event handler for the Click event,

but the TextBox LostFocus event fires after the ToolStripButton Click event,

which event in TextBox fires before ToolStripButton click event ?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about winforms