1、隐藏当前窗体:

  this.Visible=false;

2、取消当前事件

  e.Cancel=true;

3、关闭窗体的同时关闭应用:

  Application.Exit();

4、关闭窗体:

  this.Close();

posted on 2015-12-10 18:00  海绵全是洞  阅读(151)  评论(0编辑  收藏  举报