检测Ctrl+ 进口
原文:detect Ctrl + Enter
原文:detect Ctrl + Enter
(using WPF) i try to detect when Ctrl + Enter gets hit. so i tried this code: if (e.Key == Key.Return && (e.Key == Key.LeftCtrl || e.Key == Key.RightCtrl)) { //Do Something } ...