简体   繁体   中英

How to make windows form a background process?

so I've been seeing applications run in the background in the task manager, but when I create an application it displays in the apps section(here's what I mean):

任务管理器截图1

But here is what I would like to achieve(to make it a background process):

任务管理器屏幕截图2

Thanks, all help is appreciated!

Honestly I do not think this is possible using normal development methods. I mean it's a form, it cant run in the background because it has a user interface. Why do you think you need to run a form in the background anyway?

Just spit balling here: Maybe you can implement just the actions you need in a Background process thread that is created in the form, then close the form. If the form runs in its own thread, perhaps you need to set the priority on the thread lower.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM