/// <summary> /// Event for when the graph angle changes /// </summary> /// <param name="e"></param> protected virtual void OnAngleChange(AngleChangeEventArgs e) { if (AngleChange != null) { AngleChange(this, e); } }
/// <summary> /// When the user rotates the pie chart, we update the numeric box /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void skillPieChartControl_AngleChange(object sender, EventArgs e) { AngleChangeEventArgs angleChangeEventArgs = e as AngleChangeEventArgs; if (angleChangeEventArgs != null) { pieAngle.Value = (decimal)angleChangeEventArgs.NewAngle; } }
/// <summary> /// Event for when the graph angle changes /// </summary> /// <param name="e"></param> protected virtual void OnAngleChange(AngleChangeEventArgs e) { if(AngleChange != null) AngleChange(this, e); }