Hi,
I am adding toolbar buttons through my VS Package's Initialize() method this way
var button = (CommandBarButton) toolbar.Controls.Add(MsoControlType.msoControlButton, //Type Type.Missing, // Id Type.Missing, // Parameter Type.Missing, // Before true // Temporary
);
I have some icons as embedded resource that I can fetch as BitmapImage or ImageSource typed objects. How do I assign it to the button I added above ?
Fahad