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