Muokkaa

Jaa


FileDialog.OnFileOk(CancelEventArgs) Method

Definition

Raises the FileOk event.

protected:
 void OnFileOk(System::ComponentModel::CancelEventArgs ^ e);
protected void OnFileOk (System.ComponentModel.CancelEventArgs e);
member this.OnFileOk : System.ComponentModel.CancelEventArgs -> unit
Protected Sub OnFileOk (e As CancelEventArgs)

Parameters

e
CancelEventArgs

A CancelEventArgs that contains the event data.

Remarks

OnFileOk raises the FileOk event.

A type that derives from FileDialog may override OnFileOk. The overridden method must call OnFileOk on the base class if FileOk needs to be raised.

Applies to