Uređivanje

Dijeli putem


BindingManagerBase.OnBindingComplete(BindingCompleteEventArgs) Method

Definition

Raises the BindingComplete event.

protected public:
 void OnBindingComplete(System::Windows::Forms::BindingCompleteEventArgs ^ args);
protected internal void OnBindingComplete (System.Windows.Forms.BindingCompleteEventArgs args);
member this.OnBindingComplete : System.Windows.Forms.BindingCompleteEventArgs -> unit
Protected Friend Sub OnBindingComplete (args As BindingCompleteEventArgs)

Parameters

args
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