1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Private Sub ContextMenuStrip1_PreviewKeyDown(sender As Object, e As PreviewKeyDownEventArgs) Handles ContextMenuStrip1.PreviewKeyDown Select Case e.KeyCode Case Keys.X tsmClose.PerformClick() Case Keys.R tsmRegister.PerformClick() Case Keys.Escape tsmNoThing.PerformClick() End Select End Sub |
2020年5月16日 星期六
vb.net ContextMenuStrip按鍵後呼叫功能 [ContextMenuStrip call button click]
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言