C# Winform The process still on Windows Task list manager after close programme

前端 未结 6 1783
我在风中等你
我在风中等你 2021-01-16 21:46

why The process still on Windows Task list manager after close programme ?

i use login Form.cs

 [STAThread]
        static void Main()
        {
             


        
6条回答
  •  独厮守ぢ
    2021-01-16 22:28

    Because Login is the last form of the application to close, you load Main_User only after that - even if Login is hidden it's still actually there. Windows Forms applications are by default configured to exit when the last form closes.

提交回复
热议问题