Sdílet prostřednictvím


DataConnectionPromptDialog.OnFormClosing(FormClosingEventArgs) Method

Definition

Handles specific actions that occur when the dialog box is closed, such as saving properties from the dialog box controls, saving the new connection string, and opening the connection if the OK button of the dialog box is clicked.

protected:
 override void OnFormClosing(System::Windows::Forms::FormClosingEventArgs ^ e);
protected override void OnFormClosing (System.Windows.Forms.FormClosingEventArgs e);
override this.OnFormClosing : System.Windows.Forms.FormClosingEventArgs -> unit
Protected Overrides Sub OnFormClosing (e As FormClosingEventArgs)

Parameters

e
FormClosingEventArgs

A FormClosingEventArgs object containing the event data.

Applies to