示例#1
0
        public static void SetOrigin(Int64 h, Int64 v)
        {
            ClusterPos oldOriign = CurrentOrigin;

            CurrentOrigin = new ClusterPos(h, v);
            OriginChanged?.Invoke(oldOriign, CurrentOrigin);
        }
示例#2
0
 /// <summary>
 /// Raises the <see cref="OriginChanged"/> event.
 /// </summary>
 /// <param name="e">
 /// An <see cref="EventArgs"/> that contains the event data.
 /// </param>
 protected virtual void OnOriginChanged(EventArgs e)
 {
     OriginChanged?.Invoke(this, e);
 }
示例#3
0
 private void SetOrigin(Single3 value)
 {
     _origin = value;
     RefreshImage();
     OriginChanged?.Invoke(this, new EventArgs());
 }