共用方式為


UpDownBase.OnChanged(Object, EventArgs) 方法

定義

在衍生類別中進行覆寫時,會引發 Changed 事件。

protected:
 virtual void OnChanged(System::Object ^ source, EventArgs ^ e);
protected virtual void OnChanged (object source, EventArgs e);
protected virtual void OnChanged (object? source, EventArgs e);
abstract member OnChanged : obj * EventArgs -> unit
override this.OnChanged : obj * EventArgs -> unit
Protected Overridable Sub OnChanged (source As Object, e As EventArgs)

參數

source
Object

事件的來源。

e
EventArgs

包含事件資料的 EventArgs

適用於