Cancel Query Event
Hi,
let me begin by telling how useful i found linqpad.
It has save my skin multiple time in some tough situations .
Ok, now the question:
Is there a way to hook into some event when a user cancel a query by clicking on the cancel button.
So far the only way i have found was to add a custom OutputPanel and register to the QueryEnded event. This work but for what i need is pretty cumbersome since it create a panel that i don't need for the sole purpose of knowing if the user has cancelled the query.
What i would like to know is, if there is some static event somewhere where i can hook into directly.
I seem to remember reading somewhere that it should be possible, but for the life of me i can't seem to find it anymore.
Thanks,
MrJingle
let me begin by telling how useful i found linqpad.
It has save my skin multiple time in some tough situations .
Ok, now the question:
Is there a way to hook into some event when a user cancel a query by clicking on the cancel button.
So far the only way i have found was to add a custom OutputPanel and register to the QueryEnded event. This work but for what i need is pretty cumbersome since it create a panel that i don't need for the sole purpose of knowing if the user has cancelled the query.
What i would like to know is, if there is some static event somewhere where i can hook into directly.
I seem to remember reading somewhere that it should be possible, but for the life of me i can't seem to find it anymore.
Thanks,
MrJingle