Hi~
I'm poor at English.. but I have a question.
so I write a new post
I'd like to catch a exception
but I couldn't.
for example
when I set a value like this
chart1.AxisX.LabelValue = double.PositiveInfinity;
then OverflowException was occured.
I try catch the exception... so I wrap the code with Try, catch
try
{
chart1.AxisX.LabelValue = double.PositiveInfinity;
}
catch (OverflowException ex)
{
throw ex;
}
But unfortunately I couldn't.
So.. I have to modify Program.cs file
After set ThreadException, finaly I could catch a exception
Exception was handled, but another problem has occured.
I can not distinguish which one is chartFx's exception except e.Exception.StackTrace.IndexOf("ChartFX") .
but I thought that's not good idea, and you can offer a better solution.
Ask for opinions.
thanks for reading this post.
God bless