public ZoomToFileEventArgs(string fileName, ZoomToFileZoomType zoomType, int zoomPosition, string zoomToText, bool isDebugExecutionPoint, string errorMessage, bool activateEditor) { FileName = fileName; ZoomType = zoomType; ZoomPosition = zoomPosition; ZoomToText = zoomToText; IsDebugExecutionPoint = isDebugExecutionPoint; ErrorMessage = errorMessage; ActivateEditor = activateEditor; }
public void ZoomToFile(string fileName, ZoomToFileZoomType zoomType, int zoomPosition, bool isDebugExecutionPoint, bool selectWholeLine, string errorMessage, bool activateEditor) { if (OnZoomToFile != null) { if (this.InvokeRequired) { this.Invoke(new ZoomToFileDelegate(ZoomToFile), fileName, zoomType, zoomPosition, isDebugExecutionPoint, selectWholeLine, errorMessage, activateEditor); } else { ZoomToFileEventArgs evArgs = new ZoomToFileEventArgs(fileName, zoomType, zoomPosition, null, isDebugExecutionPoint, errorMessage, activateEditor); evArgs.SelectLine = selectWholeLine; OnZoomToFile(evArgs); } } }
public void ZoomToFile(string fileName, ZoomToFileZoomType zoomType, int zoomPosition, bool isDebugExecutionPoint) { ZoomToFile(fileName, zoomType, zoomPosition, isDebugExecutionPoint, true, null, true); }
public void ZoomToFile(string fileName, ZoomToFileZoomType zoomType, int zoomToPosition) { ZoomToFile(fileName, zoomType, zoomToPosition, false); }