'宣言 Protected Overridable Function DrawTheme( _ ByRef drawParams As Infragistics.Win.UIElementDrawParams _ ) As Boolean
protected virtual bool DrawTheme( ref Infragistics.Win.UIElementDrawParams drawParams )
Imports Infragistics.Win Protected Overrides Function DrawTheme(ByRef drawParams As Infragistics.Win.UIElementDrawParams) As Boolean Return XPThemes.Button.DrawPushButton( _ drawParams, _ Me.Rect, _ drawParams.InvalidRect, _ UIElementButtonState.Inactive, False) End Function
using Infragistics.Win; protected override bool DrawTheme( ref UIElementDrawParams drawParams ) { return XPThemes.Button.DrawPushButton(ref drawParams, this.Rect, drawParams.InvalidRect, UIElementButtonState.Inactive,false); }