I have TChart_ClickSeries(object sender, Series s, int valueIndex, MouseEventArgs e) method which I want to use for all charts.
And in this method I need to check for what chart exactly is is being called:
Code: Select all
if (sender.Equals(tChart1))
{ ... }
else
{ ... }
How to cast Steema.TeeChart.Chart class to Steema.TeeChart.TChart class (or compare it with Steema.TeeChart.TChart)?