Example #1
0
		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;
		}
Example #2
0
 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;
 }
Example #3
0
 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);
         }
     }
 }
Example #4
0
 public void ZoomToFile(string fileName, ZoomToFileZoomType zoomType, int zoomPosition, bool isDebugExecutionPoint)
 {
     ZoomToFile(fileName, zoomType, zoomPosition, isDebugExecutionPoint, true, null, true);
 }
Example #5
0
 public void ZoomToFile(string fileName, ZoomToFileZoomType zoomType, int zoomToPosition)
 {
     ZoomToFile(fileName, zoomType, zoomToPosition, false);
 }