Guys, I found a much easier way to do this! If so, you use it for.
In .NET 4.0, C #, if you just use
this.WindowState = FormWindowState.Normal; this.Activate();
The first line ensures that it is not minimized; the second line makes it the focus. I'm not sure why (none of them do this), but in combination, if you show the MessageBox from this form, your program will start blinking orange on the taskbar!
You Speak So Well Jun 27 '14 at 15:40 2014-06-27 15:40
source share