C# Class CSharpGL.FormSelectType

Select a type from all types that derived from specified base type.
Inheritance: System.Windows.Forms.Form
Show file Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
FormSelectType ( Type baseType, bool forceReload = false, bool>.Func addtionalFilter = null ) : System

Select a type from all types that derived from specified base type.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
FormGLSwtichType_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

btnCancel_Click ( object sender, EventArgs e ) : void
btnOK_Click ( object sender, EventArgs e ) : void
btnRefresh_Click ( object sender, EventArgs e ) : void
lstType_DoubleClick ( object sender, EventArgs e ) : void

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

FormSelectType() public method

Select a type from all types that derived from specified base type.
public FormSelectType ( Type baseType, bool forceReload = false, bool>.Func addtionalFilter = null ) : System
baseType System.Type base type.
forceReload bool reload types that derived from specified base type. /// Set this to true if new assemblies loaded or old assemblies removed.
addtionalFilter bool>.Func addtional filter.
return System