Click here to Skip to main content
13,146,739 members (90,915 online)
Click here to Skip to main content

Tagged as

Stats

3.5K views
Posted 25 May 2010

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

, 25 May 2010
Form f = new Form(); f.Shown += delegate(object s, EventArgs e) { MessageBox.Show("Here you go!"); } f.ShowDialog();
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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

Share

About the Author

tonyt
United States United States
No Biography provided

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.170915.1 | Last Updated 26 May 2010
Article Copyright 2010 by tonyt
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid