English 中文(简体)
标签:的问答
检测Ctrl+ 进口
原文: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 } ...

热门标签