/// <summary> /// Fires the angle changed event. /// </summary> protected virtual void OnAngleChanged() { AngleChanged?.Invoke(this, EventArgs.Empty); }
/// <summary> /// Fires the AngleChanged event. /// </summary> /// <param name="e">The event args.</param> protected void OnAngleChanged(EventArgs e) { AngleChanged?.Invoke(this, e); }
protected virtual void OnAngleChanged() { InitializeGradient(_angle, _colors, SortPositions(_locations), _rectangle); AngleChanged?.Invoke(); }
private void DoRaiseEvent() { AngleChanged?.Invoke(this); // so the frames can update its sizes accordingly. }