C# Class RevitPythonShell.ConfigureCommandsForm

Inheritance: System.Windows.Forms.Form
Mostra file Open project: pterelaos/revitpythonshell Class Usage Examples

Public Methods

Method Description
ConfigureCommandsForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ConfigureCommandsForm_Load ( object sender, EventArgs e ) : void

Read in the commands from the XML file and display them in the list.

InitializeComponent ( ) : void

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

RefreshBindingContext ( ListBox listBox, object dataSource ) : void
SwapCommandPositions ( int oldPosition, int newPosition ) : void
btnCancel_Click ( object sender, EventArgs e ) : void

Close the Dialog without saving changes.

btnCommandAdd_Click ( object sender, EventArgs e ) : void

Add a new command.

btnCommandBrowse_Click ( object sender, EventArgs e ) : void

show a FileOpen Dialog.

btnCommandMoveDown_Click ( object sender, EventArgs e ) : void
btnCommandMoveUp_Click ( object sender, EventArgs e ) : void

Move the selected item up one.

btnCommandRemove_Click ( object sender, EventArgs e ) : void

Remove the selected item.

btnCommandSave_Click ( object sender, EventArgs e ) : void

Save changes to RevitPythonShell.xml and close Dialog.

btnSearchPathAdd_Click ( object sender, EventArgs e ) : void

Add a new search path.

btnSearchPathBrowse_Click ( object sender, EventArgs e ) : void
btnSearchPathRemove_Click ( object sender, EventArgs e ) : void
btnVariableAdd_Click ( object sender, EventArgs e ) : void

Add a new variable to the list and select it for editing.

btnVariableRemove_Click ( object sender, EventArgs e ) : void

Remove variable from the list.

lstCommands_SelectedIndexChanged ( object sender, EventArgs e ) : void

Display information about the selected command in the textboxes (Name, Path).

lstSearchPaths_SelectedIndexChanged ( object sender, EventArgs e ) : void

Show the currently selected search path in the textbox for editing.

lstVariables_SelectedIndexChanged ( object sender, EventArgs e ) : void

Display selected variable in the textboxes for editing.

txtCommandName_TextChanged ( object sender, EventArgs e ) : void

Update changes in list.

txtCommandPath_TextChanged ( object sender, EventArgs e ) : void

Update changes in list.

txtSearchPath_TextChanged ( object sender, EventArgs e ) : void

Update the search path to reflect changes.

txtVariableName_TextChanged ( object sender, EventArgs e ) : void

Update variable name to reflect changes in textbox.

txtVariableValue_TextChanged ( object sender, EventArgs e ) : void

Update variable value to reflect changes in textbox.

Method Details

ConfigureCommandsForm() public method

public ConfigureCommandsForm ( ) : System
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