Hi.

I need change the state (maximize/minimize/restore...) of an application
acording to some events.

How can make an application minimize or maximize itself.

note: my app have a NotifyIcon with the ShowInTaskbar property in false, I
want when I click on some menu item (in the NotifyIcon), the application
maximize or minimize..

thanks

Re: Manage application (maximize/minimize/restore...) by Herfried

Herfried
Sun Feb 20 05:55:36 CST 2005

"Eduardo Garcia" <EduardoGarcia@discussions.microsoft.com> schrieb:
> I need change the state (maximize/minimize/restore...) of an application
> acording to some events.
>
> How can make an application minimize or maximize itself.

\\\
FooForm.WindowState = WindowState.Maximized
///

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>