C# 实现关闭按钮隐藏窗体而不退出
private void OpenNewMxdFrm_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = true; this.Hide(); //this.MinimizeBox = true;//最小化 }
private void OpenNewMxdFrm_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = true; this.Hide(); //this.MinimizeBox = true;//最小化 }