コード例 #1
0
 /// <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);
     }
 }
コード例 #2
0
ファイル: SkillsPieChart.cs プロジェクト: henrikja/EVEMon
        /// <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;
            }
        }
コード例 #3
0
 /// <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);
 }