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

  • Thread starter Thread starter Nikki
  • Start date Start date
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
 
Hi Nikki,

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

Christof
 
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
 
Back
Top