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