C# Class Excavator.ConnectPage

Interaction logic for ConnectWindow.xaml
Inheritance: System.Windows.Controls.Page
显示文件 Open project: NewSpring/Excavator

Private Properties

Property Type Description
InitializeDBConnection void
RaisePropertyChanged void
btnConnect_Click void
btnNext_Click void
btnOk_Click void
btnUpload_Click void
bwPreview_DoWork void
bwPreview_RunWorkerCompleted void

Public Methods

Method Description
ConnectPage ( ) : System

Initializes a new instance of the FrontEndLoader class.

GetPropValue ( object src, string propName ) : object

Gets the name of the selected type.

LoadExcavatorTypes ( ) : void

Loads the excavator types as MEF components.

Private Methods

Method Description
InitializeDBConnection ( ) : void

Initializes the database connection.

RaisePropertyChanged ( string propertyName ) : void

Raises the property changed.

btnConnect_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnConnect control.

btnNext_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnNext control.

btnOk_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnOk control.

btnUpload_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the btnUpload control.

bwPreview_DoWork ( object sender, DoWorkEventArgs e ) : void

Handles the DoWork event of the bwLoadSchema control.

bwPreview_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Handles the RunWorkerCompleted event of the bwLoadSchema control.

Method Details

ConnectPage() public method

Initializes a new instance of the FrontEndLoader class.
public ConnectPage ( ) : System
return System

GetPropValue() public static method

Gets the name of the selected type.
public static GetPropValue ( object src, string propName ) : object
src object The source.
propName string Name of the property.
return object

LoadExcavatorTypes() public method

Loads the excavator types as MEF components.
public LoadExcavatorTypes ( ) : void
return void