5 Replies
I'm tried some way for handle throw but still giving
In C# you can handle exceptions by using
try
and catch
See https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/try-catchBut the best way to handle exceptions is... to not have them at all
In your case, you would check that the active form still exists before setting its cursor
I assume that the callback in the
.Invoke
is ran just when the form is closed@Tvde1 thanks you for help, i solved with a varriable trick
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.