1、隐藏当前窗体:
this.Visible=false;
2、取消当前事件:
e.Cancel=true;
3、关闭窗体的同时关闭应用:
Application.Exit();
4、关闭窗体:
this.Close();