winform窗口快捷键
先把 KeyPreview 属性设置为 true
在写窗体的 KeyDown 事件,
组合键:if (e.KeyCode == Keys.F && e.Modifiers == Keys.Control)
就是 Ctrl F 的 组合键
Excel单元格设置:https://www.e-iceblue.cn/spirexls/set-border-style-in-excel.html
winform窗口快捷键
先把 KeyPreview 属性设置为 true
在写窗体的 KeyDown 事件,
组合键:if (e.KeyCode == Keys.F && e.Modifiers == Keys.Control)
就是 Ctrl F 的 组合键
Excel单元格设置:https://www.e-iceblue.cn/spirexls/set-border-style-in-excel.html