提交代码
This commit is contained in:
@ -65,5 +65,13 @@ namespace 货架标准上位机
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void Button_PreviewKeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.Key == Key.Space)
|
||||
{
|
||||
e.Handled = true; // 阻止空格键触发按钮点击事件
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user