Пример #1
0
 /// <summary>
 /// Used during open and workspace changes to set the zoom of the workspace
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public virtual void OnZoomChanged(object sender, ZoomEventArgs e)
 {
     if (ZoomChanged != null)
     {
         //Debug.WriteLine(string.Format("Setting zoom to {0}", e.Zoom));
         ZoomChanged(this, e);
     }
 }
Пример #2
0
 /// <summary>
 /// Used during open and workspace changes to set the zoom of the workspace
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 internal virtual void OnZoomChanged(object sender, ZoomEventArgs e)
 {
     if (ZoomChanged != null)
     {
         //Debug.WriteLine(string.Format("Setting zoom to {0}", e.Zoom));
         ZoomChanged(this, e); 
     }
 }