0
votes

I am trying to develop an addin for MS Office 2010. I am stuck in 1)how to create events for toolbar? 2)How to initialize and deinitialize toolbar? 3)How to initialize button event click handler and deinitialize
I am using Ribbon Visual Designer to develop the addin of my own. I am new to this. I am also using C# 4.0 VSTO 2010.

Thanks

1

1 Answers

0
votes

From the ribbon designer you should be able to double click on button, combobox or ribbon itself to create button click event and similarly for other controls.

You could also wire up the events in the Ribbon.cs codebehind directly in the Ribbon load event. when you type this it bring up the available events at application level in intellisense.

Globals.ThisAddin.Application.

Read this http://msdn.microsoft.com/en-us/library/bb608623.aspx

There is nothing like initialize and deinitialize toolbar in VSTO. Hope this helps.