Exit: Informs all message pumps that they must terminate, and then closes all application windows after the messages have been processed. Close: Closes the form.

解决方案 »

  1.   

    exit通知所有消息泵必须终止,并且在处理了消息以后关闭所有应用程序窗口。
    close关闭窗口
    但这两种方法都不能真正退出进程
      

  2.   

    程序退出时可以用
    this.Close();---------只是把你当前的Form关闭了,如果,你的启动Form没有关闭的话,你的程序将驻留在内存中
    也可以用
    Application.Exit();-----杀掉了所有的线程,你的程序彻底从内存中清除了,就是说,整个程序退出了或许我的解释对,哈哈,仅供参考
      

  3.   

    这个和vb里面的unload和end形式是一样的。