标签:style blog color ar sp div log bs amp
if (e.KeyStates == Keyboard.GetKeyStates(Key.F4) && Keyboard.Modifiers == ModifierKeys.Alt) { e.Handled = true; }
WPF 屏蔽Alt+F4强制退出
原文地址:http://www.cnblogs.com/gaobing/p/4088968.html