DataConnectionPromptDialog.OnFormClosing(FormClosingEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A FormClosingEventArgs object containing the event data.