Public Class 用户控件 Inherits System.Windows.Forms.Panel
Public Sub New() '初始化 End Sub Private Sub 用户控件_KeyDown(sender As Object, e As Forms.KeyEventArgs) Handles Me.KeyDown ' …… End Sub '……End Class