private void Window_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyStates==Keyboard.GetKeyStates(Key.Escape))
{
this.Close();
}
}
转载于:https://www.cnblogs.com/LCLBook/p/11345717.html
private void Window_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyStates==Keyboard.GetKeyStates(Key.Escape))
{
this.Close();
}
}
转载于:https://www.cnblogs.com/LCLBook/p/11345717.html