'宣言 Public Property CancelButton As System.Windows.Forms.IButtonControl
'使用法 Dim instance As WarningForm Dim value As System.Windows.Forms.IButtonControl instance.CancelButton = value value = instance.CancelButton
public System.Windows.Forms.IButtonControl CancelButton {get; set;}