C# Class GDSX.Externals.LinqPad.Driver.AdditionalOptions

Show file Open project: gburgett/LinqPad-mongo-driver Class Usage Examples

Public Methods

Method Description
AdditionalOptions ( ConnectionProperties props, ICollection loadedTypes ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddToolStripMenuItemOnClick ( object sender, EventArgs eventArgs ) : void
AdditionalOptions_FormClosing ( object sender, FormClosingEventArgs e ) : void
DoCancel ( ) : bool

Checks to see if the data changed from save, and if so, prompts the user.

DoSave ( ) : bool

validates and saves the data to the connection

InitToolTips ( ) : void

Initializes the ToolTip text

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadFromProps ( ) : void

Sets the current values of the visible controls to the values in the properties.

Populate ( ConnectionAdditionalOptions options ) : void

Populates the Connection Options with the current values in the form controls

RemoveToolStripMenuItemOnClick ( object sender, EventArgs eventArgs ) : void
ShowAddAllowTypeDialog ( ) : void
btnCancel_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
lbSaveAllowedTypes_MouseDoubleClick ( object sender, MouseEventArgs e ) : void

Method Details

AdditionalOptions() public method

public AdditionalOptions ( ConnectionProperties props, ICollection loadedTypes ) : System
props ConnectionProperties
loadedTypes ICollection
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void