Any way to create a hidden main window in C#?

前端 未结 12 991
粉色の甜心
粉色の甜心 2020-12-25 13:02

I just want a c# application with a hidden main window that will process and respond to window messages.

I can create a form without showing it, and can then call Ap

12条回答
  •  春和景丽
    2020-12-25 13:30

    Form1 f1=new Form1();
    f1.WindowState = FormWindowState.Minimized;
    f1.ShowInTaskbar = false;
    

提交回复
热议问题