private void frmProcessingStatus_Load(object sender, EventArgs e) { //move engine form to bottom right and bring to front if (engineSettings.ShowDebugWindow) { this.BringToFront(); MoveFormToBottomRight(this); } //start running engineInstance = new Core.AutomationEngineInstance(); engineInstance.ReportProgressEvent += Engine_ReportProgress; engineInstance.ScriptFinishedEvent += Engine_ScriptFinishedEvent; engineInstance.LineNumberChangedEvent += EngineInstance_LineNumberChangedEvent; engineInstance.taskModel = remoteTask; engineInstance.tasktEngineUI = this; engineInstance.serverExecution = this.serverExecution; if (xmlData == null) { engineInstance.ExecuteScriptAsync(this, filePath); } else { engineInstance.ExecuteScriptXML(xmlData); } }
private void frmProcessingStatus_Load(object sender, EventArgs e) { //move engine form to bottom right and bring to front if (engineSettings.ShowDebugWindow) { this.BringToFront(); MoveFormToBottomRight(this); } //start running engineInstance = new Core.AutomationEngineInstance(); engineInstance.ReportProgressEvent += Engine_ReportProgress; engineInstance.ScriptFinishedEvent += Engine_ScriptFinishedEvent; engineInstance.LineNumberChangedEvent += EngineInstance_LineNumberChangedEvent; engineInstance.ExecuteScriptAsync(this, filePath); }