Exemplo n.º 1
0
 /// <summary>
 ///     Used during open and workspace changes to set the location of the workspace
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public virtual void OnCurrentOffsetChanged(object sender, PointEventArgs e)
 {
     if (CurrentOffsetChanged != null)
     {
         Debug.WriteLine("Setting current offset to {0}", e.Point);
         CurrentOffsetChanged(this, e);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Used during open and workspace changes to set the location of the workspace
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 internal virtual void OnCurrentOffsetChanged(object sender, PointEventArgs e)
 {
     if (CurrentOffsetChanged != null)
     {
         Debug.WriteLine("Setting current offset to {0}", e.Point);
         CurrentOffsetChanged(this, e);
     }
 }