protected override void handleDataClicked(object sender, Infragistics.UltraChart.Shared.Events.ChartDataEventArgs e_) { if (ColumnClicked == null) return; ColumnClickedEventArgs args = new ColumnClickedEventArgs() { Eval = m_eval.InnerSeries.Where(x => x.Name.Equals(e_.ColumnLabel.ToString())).FirstOrDefault(), Period = m_period, PeriodIndex = e_.DataRow }; OnColumnClicked(args); }
protected virtual void OnColumnClicked(ColumnClickedEventArgs e_) { EventHandler<ColumnClickedEventArgs> h; if ((h = ColumnClicked) != null) h(this, e_); }