C# Class FdoToolbox.Base.Scripting.ScriptManager

Inheritance: FdoToolbox.Base.Controls.ViewContent
显示文件 Open project: jumpinjackie/fdotoolbox Class Usage Examples

Public Methods

Method Description
OnScriptLoaded ( ApplicationScript script ) : void
OnScriptUnloaded ( ApplicationScript script ) : void
ScriptManager ( ) : System

Initializes a new instance of the ScriptManager class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnLoad ( EventArgs e ) : void

Raises the E:System.Windows.Forms.UserControl.Load event.

Private Methods

Method Description
AddScriptItem ( string path ) : void
InitScriptItems ( ) : void
InitializeComponent ( ) : void

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

UpdateButtonStates ( ) : void
btnClose_Click ( object sender, EventArgs e ) : void
btnOpen_Click ( object sender, EventArgs e ) : void
btnReload_Click ( object sender, EventArgs e ) : void
btnRun_Click ( object sender, EventArgs e ) : void
btnUnload_Click ( object sender, EventArgs e ) : void
treeScripts_AfterSelect ( object sender, TreeViewEventArgs 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

OnLoad() protected method

Raises the E:System.Windows.Forms.UserControl.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs An that contains the event data.
return void

OnScriptLoaded() public method

public OnScriptLoaded ( ApplicationScript script ) : void
script ApplicationScript
return void

OnScriptUnloaded() public method

public OnScriptUnloaded ( ApplicationScript script ) : void
script ApplicationScript
return void

ScriptManager() public method

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