关于窗体的【杂记】

1、隐藏当前窗体:

  this.Visible=false;

2、取消当前事件

  e.Cancel=true;

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

  Application.Exit();

4、关闭窗体:

  this.Close();

原文地址:https://www.cnblogs.com/pengyouqiang88/p/5036823.html