Would it be possible to pass an argument to ShowTsakpane, so that the taskpane knows "why" it was being opened.
In our situation, we have several buttons on the ribbon that require us to open the taskpane, when it is not open, and we would like to know which button was pressed.
If we could pass an argument, or a query parameter this would help a lot.