protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
{
//你自己的代码。认真负责些。
e.Cancel = true; //取消默认行为。
}
摘自 xiechengfa的专栏
protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
{
//你自己的代码。认真负责些。
e.Cancel = true; //取消默认行为。
}
摘自 xiechengfa的专栏