Surya sasidhar
Surya sasidhar

Reputation: 30293

How to Show the application on taskbar?

i developed a window application using c# language and created a setup for that. when i minimize the window it will be in systemtray.Now i need when i minimize it should be in both system tray and taskbar how it is possible help me thank you

Upvotes: 0

Views: 1359

Answers (3)

rahul
rahul

Reputation: 187010

Take the properties for the windows form in your windows application [not in your setup project].

There you can set the

ShowInTaskBar property to True

which determines whether the form appears in the task bar or not.

Upvotes: 0

Neil Barnwell
Neil Barnwell

Reputation: 42065

The answer is to not do anything. You form should have a Systray component on it, that adds the item to the system tray, and you don't need to do anything with the minimise/showintaskbar behaviour.

You may or may not wish to show/hide the systray icon on minimise/restore, but I wouldn't recommend that because it would be weird behaviour, unless you're also hiding from the taskbar.

Upvotes: 0

MRG
MRG

Reputation: 3219

ShowInTaskBar

EDIT : If you are hiding the form when it is minimized, don't hide it.

Upvotes: 1

Related Questions