Microsoft Office Tutorials and References
In Depth Information
Adding controls to menus
2. Next, add the following code to the event of the button control. This is placed
in the Ribbon1.cs file of your solution
private void button1_Click(object sender,
RibbonControlEventArgs e)
// Show a message box!
System.Windows.Forms.MessageBox.Show("Menu Item in Word
Run the solution from Visual Studio to see the output for the solution that is
similar to the following screenshot:
Search JabSto ::

Custom Search