Firing an event in the Shell

Topics: CAB & Smart Client Software Factory
Sep 13, 2006 at 6:59 PM
originally posted by: subahnet

Hi frnds,

I have a query ,.i have a toolstrip in the main shell. Wat i want to do is when a toolitem in the shell is clicked , i want the respective view to be loaded from my module. How do i approach this problem?? i need urgent help....

Thanks in advance..
Sep 14, 2006 at 2:32 AM
originally posted by: PJackson

1) Associate the ToolBarButton with a CAB Command;
2) In the Module that contains the View you want to show, create a CommandHandler for that Command;

When the button is clicked, the CommandHandler method will execute and you can add/show the View.