void RunnerManager_Exited(string fileName) { if (System.Threading.Thread.CurrentThread != WorkbenchStorage.MainProgramThread) { Workbench.BeginInvoke(new SetTextDelegate(RunnerManager_Exited_Sync), fileName); } else { RunnerManager_Exited_Sync(fileName); } }
void ReadStringRequest(string ForId) { ForId = Tools.FileNameToLower(ForId); if (!ReadRequests.ContainsKey(RunTabs[ForId])) { if (WorkbenchServiceFactory.DebuggerManager.IsRun(ForId) && WorkbenchServiceFactory.DebuggerManager.CurPage != null) { ReadRequests.Add(WorkbenchServiceFactory.DebuggerManager.CurPage, ""); } else if (IsRun(ForId)) { ReadRequests.Add(RunTabs[ForId], ""); } } Workbench.BeginInvoke(new ReadStringRequestSyncDel(ReadStringRequestSync)); }
void RunnerManager_Started(string fileName) { Workbench.BeginInvoke(new SetTextDelegate(RunnerManager_Started_Sync), fileName); }