To cancel the closure of a form, set the Cancel property of the FormClosingEventArgs passed to your event handler to true.

  • 若要取消窗体的关闭操作,请将传递给事件处理程序的FormClosingEventArgs的Cancel属性设置为true。
目录 查词历史