C# Class UIAutomationSpy.SpyForm

Mostra file Open project: apetrovskiy/STUPS

Public Methods

Method Description
ProcessSpyingCycle ( ) : void
SpyForm ( SpyModes spyMode ) : System
SpyForm ( ) : System.Windows.Forms

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes resources used by the form.

Private Methods

Method Description
AncestryTreeToolStripMenuItemClick ( object sender, EventArgs e ) : void
BreakScriptToolStripMenuItemClick ( object sender, EventArgs e ) : void
BtnBreakPSClick ( object sender, EventArgs e ) : void
BtnRunAllClick ( object sender, EventArgs e ) : void
BtnRunSelClick ( object sender, EventArgs e ) : void
BtnStopClick ( object sender, EventArgs e ) : void
CodeGenerationToolStripMenuItemClick ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

This method is required for Windows Forms designer support. Do not change the method contents inside the source code editor. The Forms designer might not be able to load this method if it was changed manually.

NotImplementedToolStripMenuItemClick ( object sender, EventArgs e ) : void
PropertiesToolStripMenuItemClick ( object sender, EventArgs e ) : void
RunScriptToolStripMenuItemClick ( object sender, EventArgs e ) : void
RunSelectionToolStripMenuItemClick ( object sender, EventArgs e ) : void
ScriptResultsToolStripMenuItemClick ( object sender, EventArgs e ) : void
ScriptToolStripMenuItemClick ( object sender, EventArgs e ) : void
SeleniumToolStripMenuItemClick ( object sender, EventArgs e ) : void
SpyFormDeactivate ( object sender, EventArgs e ) : void
SpyFormFormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
SpyFormFormClosing ( object sender, FormClosingEventArgs e ) : void
SpyFormLeave ( object sender, EventArgs e ) : void
SpyFormLoad ( object sender, EventArgs e ) : void
SpyFormResize ( object sender, EventArgs e ) : void
StartRecordingToolStripMenuItemClick ( object sender, EventArgs e ) : void
StopRecorgingToolStripMenuItemClick ( object sender, EventArgs e ) : void
UIAutomationToolStripMenuItemClick ( object sender, EventArgs e ) : void
btnStartClick ( object sender, EventArgs e ) : void
cleanAncestry ( ) : void
collectAncestry ( System &listForNodes, System &listForCode, IUiElement element ) : void
createRunspace ( string command ) : bool
destroyRunspace ( ) : void
getCodeFromAutomationElement ( IUiElement element, TreeWalker walker ) : string
getNodeNameFromAutomationElement ( IUiElement element ) : string
guiFillHierarchyTree ( ) : void
guiWriteCodeGenerated ( ) : void
guiWritingAutomationElementToPropertyGridControl ( IUiElement element ) : void
menuAutomationState_ReadyToAll ( ) : void
menuAutomationState_RunScript ( ) : void
menuAutomationState_RunSpy ( ) : void
processScript ( string codeSnippet ) : System.Collections.ObjectModel.Collection
runPowerShellCode ( ) : void
startSpying_Selenium ( ) : void
startSpying_UIAutomation ( ) : void
switchToSeleniumSpyMode ( ) : void
switchToUIAutomationSpyMode ( ) : void

Method Details

Dispose() protected method

Disposes resources used by the form.
protected Dispose ( bool disposing ) : void
disposing bool
return void

ProcessSpyingCycle() public method

public ProcessSpyingCycle ( ) : void
return void

SpyForm() public method

public SpyForm ( SpyModes spyMode ) : System
spyMode SpyModes
return System

SpyForm() public method

public SpyForm ( ) : System.Windows.Forms
return System.Windows.Forms