Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

I made an application that has up to 15 forms. normally the application has only the notifyicon visible, it collects datas from an external hardware with the serial port.

when it's receiving datas, the app shows forms from 1 to 10, which has independent indicators, gauges etc.

another form is the "options" form, viewable by clicking on the notify icon.

I made separate forms because that's the best way i found to have transparent background, independent sizeable indicators, etc

my problem is that in the task manager it shows a "task" for every form i have, but i prefer to show only one task for the application

how can i do it?

thanks everybody!
Posted
Comments
Sergey Alexandrovich Kryukov 10-Sep-15 20:22pm    
It's not the form, it's a process.
No, one process is shown just once, no matter how many forms are there. You screwed up something, say, you launch several process. Please explain how.
—SA

1 solution

In Task Manager, on the Applications tab, it and the Task Bar can show a seperate icon for each form you have tagged to show this. The property on the Form is ShowInTaskbar and it's default value is True. Set this to False on each of your forms and the icons disappear. You might not want to set that to False for your startup form though. Then you wont get any icon at all for the application.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900