/// <summary>
 /// Handles the Removing event of the Paths control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="ZeroitMetroPieChartSegmentCollectionEventArgs"/> instance containing the event data.</param>
 private void Paths_Removing(object sender, ZeroitMetroPieChartSegmentCollectionEventArgs e)
 {
     if (e.Item != null)
     {
         ZeroitMetroPieChart metroPieChart = this;
         e.Item.PropertyChanged -= new PropertyChangedEventHandler(metroPieChart.Path_PropertyChanged);
     }
 }
 /// <summary>
 /// Handles the Added event of the Paths control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="ZeroitMetroPieChartSegmentCollectionEventArgs"/> instance containing the event data.</param>
 private void Paths_Added(object sender, ZeroitMetroPieChartSegmentCollectionEventArgs e)
 {
     if (e.Item != null)
     {
         ZeroitMetroPieChart metroPieChart = this;
         e.Item.PropertyChanged += new PropertyChangedEventHandler(metroPieChart.Path_PropertyChanged);
     }
     ZeroitMetroPieChart.SegmentAddedEventHandler segmentAddedEventHandler = ZeroitMetroPieChart.SegmentAdded;
     if (segmentAddedEventHandler != null)
     {
         segmentAddedEventHandler(this, new ZeroitMetroPieChartSegmentCollectionEventArgs(e.Item));
     }
     this.Invalidate();
 }