Jump to content
Software FX Community

bandcy

Members
  • Posts

    3
  • Joined

  • Last visited

bandcy's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks the answer. and one more question, can i catch the some trouble what you mentioned ? if it can't, i have to check the value(every seconds transmitted), before set so i thought.. it is better than (checking values before set) to (catching exceptions when it occured) i don't know the English is right. i hope you can understand what i want to say thanks God bless
  2. 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
×
×
  • Create New...