C# Class MySql.Data.VisualStudio.MySqlDataConnectionUI

显示文件 Open project: elevate/mysqlconnector-.net

Public Methods

Method Description
LoadProperties ( ) : void

Initializes GUI elements with properties values.

MySqlDataConnectionUI ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AttemptToCreateDatabase ( ) : bool
DatabaseExists ( ) : bool
InitializeComponent ( ) : void

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

SavePasswordChanged ( object sender, EventArgs e ) : void
SetProperty ( object sender, EventArgs e ) : void

Handles TextChanged event from all textboxes.

TrimControlText ( object sender, EventArgs e ) : void

Handles Leave event and trims text.

dbList_DropDown ( object sender, EventArgs e ) : void
okButton_Click ( object sender, EventArgs e ) : void

We hook the ok button of our parent form so we can implement our 'create database' functionality

Method Details

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

LoadProperties() public method

Initializes GUI elements with properties values.
public LoadProperties ( ) : void
return void

MySqlDataConnectionUI() public method

public MySqlDataConnectionUI ( ) : System
return System