Click here to Skip to main content
15,884,388 members
Articles / Programming Languages / C#
Alternative
Tip/Trick

How to prevent Form from loosing focus (in the application)

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
24 May 2010CPOL 11K   1   1
dialog.Owner = this;dialog.Show();// ;}
dialog.Owner = this;<br />
dialog.Show();


// ;}

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Lithuania Lithuania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralI think Adrian wanted the "dialog" to be modal. dialog show(... Pin
johannesnestler24-May-10 23:02
johannesnestler24-May-10 23:02 

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.