Επεξεργασία

Κοινή χρήση μέσω


BindingSource.OnBindingComplete(BindingCompleteEventArgs) Method

Definition

Raises the BindingComplete event.

protected:
 virtual void OnBindingComplete(System::Windows::Forms::BindingCompleteEventArgs ^ e);
protected virtual void OnBindingComplete (System.Windows.Forms.BindingCompleteEventArgs e);
abstract member OnBindingComplete : System.Windows.Forms.BindingCompleteEventArgs -> unit
override this.OnBindingComplete : System.Windows.Forms.BindingCompleteEventArgs -> unit
Protected Overridable Sub OnBindingComplete (e As BindingCompleteEventArgs)

Parameters

e
BindingCompleteEventArgs

A BindingCompleteEventArgs that contains the event data.

Remarks

Raising an event invokes the event handler through a delegate. For more information, see Handling and Raising Events.

The OnBindingComplete method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Notes to Inheritors

When overriding OnBindingComplete(BindingCompleteEventArgs) in a derived class, be sure to call the base class's OnBindingComplete(BindingCompleteEventArgs) method so that registered delegates receive the event.

Applies to