摘要:
Control.ProcessDialogKey 方法处理对话框键。命名空间:System.Windows.Forms程序集:System.Windows.Forms(在 System.Windows.Forms.dll 中)参数keyData类型:System.Windows.Forms.KeysKeys值之一,它表示要处理的键。返回值类型:System.Boolean如果键已由控件处理,则为true;否则为false。备注在消息预处理过程中调用此方法,以处理对话框字符,比如 TAB、RETURN、ESC 和箭头键。只有当IsInputKey方法指示控件未在处理该键时,才调用此方法。Proc 阅读全文