Sophis Risque/Value: how to display an instrument dialog?
May
29
Written by:
5/29/2013 4:38 PM
Something quite easy, not necessary done every day, but that could be usefull in some cases... I just wonder that the method was not static. This post gives the solution:
1.
const
CSRInstrument* _instrument = CSRInstrument::GetInstance(m_templateReference);
2.
if
(_instrument!=NULL)
3.
_instrument->OpenDialog();