Hi,
First : In your code
if (this.WindowState == FormWindowState.Minimized)
{
this.WindowState = FormWindowState.Minimized;
FlashWindow.Flash(this, 3);
}
you are checking the window state is it minimized, then you are assigning it to minimized, when it is already in minimized state, what is the point of that?
Second:
Yes, you can maximize the window by setting the WindowState to FormWindowState.Maximize, although I would rather set it to FormWindowState.Restore.
you may have to call the Refresh() method after setting the WindowState.
Hope this helps.
Regards
Jegan