how to minimize/restore a .NET windows application from taskbar

N

Nikki

Hi,
I m working on a windows application using c#.NET. Using borderless
non-rectangular forms. Can anybody tell me how to minimize / restore
that application from taskbar. (I m already using Notify Icon ) but
also want the functionality from taskbar.
Thanks,
Nikki
 
C

Christof Nordiek

Hi Nikki,

set the WondowState property of the main form of your app.

Christof
 
N

Nikki V

Hi Christof

I have already set the Window State of the Application form to Normal.
But the problem that i figured out in my application is that due to
absence of the title bar in the application form, i m not able to get
the desired functionality of "minimizing the application from taskbar".
Can there be any workaround. Please let me knw. (In the application i m
using a label as Titlebar becaz of the requirement of non-rectangular
forms in the application. Windows provide the functionality of
minimizing/ restoring forms from taskbar by default, but due to
borderless forms -- i m not able to get the feature).
Thanks,
Nikki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top