Guest User

Untitled

a guest
Jan 17th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <tab idMso="TabMail">
  2. <group id="group1" label="CRMK">
  3. <button
  4. id="MyId"
  5. onAction="Button_Click"
  6. label="Do me!"
  7. size="large" />
  8. </group>
  9. <group id="group2" label="group2">
  10. <button id="button1" label="button1" showImage="false" />
  11. </group>
  12. </tab>
  13.  
  14. private void Button_Click(Object sender, RibbonControlEventArgs eventArgs)
  15. {
  16. MessageBox.Show("Button clicked...");
  17. }
  18.  
  19. public void Button_Click(Office.IRibbonControl control){ ... }
Add Comment
Please, Sign In to add comment