引用System.Design 建立一个类: Public Class Designer Class Designer Inherits System.Windows.Forms.Design.ParentControlDesignerEnd Class