public static void SetOrigin(Int64 h, Int64 v) { ClusterPos oldOriign = CurrentOrigin; CurrentOrigin = new ClusterPos(h, v); OriginChanged?.Invoke(oldOriign, CurrentOrigin); }
/// <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); }
private void SetOrigin(Single3 value) { _origin = value; RefreshImage(); OriginChanged?.Invoke(this, new EventArgs()); }