R
Rasmus Kromann-Larsen
Hey, I'm using several forms navigating back and forward between them
using two buttons. However, it is possible to 'spam' the button and make
it call the EventHandler several times before the forms actually shift.
I've tried disabling the button as the first line of the EventHandler,
but you can still 'spam' it. What is the magic solution?
Also, I had
a problem with the Enabled-trick, since the forms are often closed and
disposed when I navigate between them - and I'll get an
ObjectDisposedException when trying to re-enable the button, even if I
have a null check on the button.
Thanks,
- Rasmus.
using two buttons. However, it is possible to 'spam' the button and make
it call the EventHandler several times before the forms actually shift.
I've tried disabling the button as the first line of the EventHandler,
but you can still 'spam' it. What is the magic solution?

a problem with the Enabled-trick, since the forms are often closed and
disposed when I navigate between them - and I'll get an
ObjectDisposedException when trying to re-enable the button, even if I
have a null check on the button.
Thanks,
- Rasmus.