Posted 15 years ago
by BLANC Stéphane
-
Staubli Robotics Suite Product Manager,
STAUBLI
Version: 2.0.0107
Platform: .NET 3.5
Environment: Windows XP (32-bit)
Hello,
This bug is easy to reproduce:
I customized a command by derivating a class from the BarButtonCommand class, in the OnClick overriden method, I throw an exception.
When the command is executed from a toolbar or a menu, the exception is caught in my Application.ThreadException handler, but when the same command is executed from the keyboard shortcut, no exception is caught !!!
This bug is easy to reproduce:
I customized a command by derivating a class from the BarButtonCommand class, in the OnClick overriden method, I throw an exception.
When the command is executed from a toolbar or a menu, the exception is caught in my Application.ThreadException handler, but when the same command is executed from the keyboard shortcut, no exception is caught !!!