Inserting Events Stubs in CS

From Ribbon Commander Documentation
Revision as of 16:50, 15 March 2013 by Rxdff15551 bb53 (Talk | contribs)

Jump to: navigation, search
  • The .NET framework makes it easy to insert event stubs:
    1. type _myButton.OnActionEvent +=
    2. intellisense picks up and prompts you to press tab to insert the stub:
      InsertingEventStubCS.png
    3. Press tab twice to insert the delegate stub and change it to display the message box as above
  • If everything went according to plan the button will now display the following message when clicked:
    FristButtonCSMsgBox.png