Reputation: 789
I'd like to create a Visual Studio 2013 Extension with toolbars in its windows - those should be roughly the same as Team Explorer's Toolbar.
So I wondered if its source code is available somewhere so that I don't have to reinvent the wheel if it's not really needed.
So far I only created the sample toolbar of this guide.
Upvotes: 0
Views: 104
Reputation: 4414
If you mean to create a toolbar inside your toolwindow, see Walkthrough: Adding a Toolbar to a Tool Window
If you mean to replicate the Team Explorer buttons actions, you have lots of "tfs" commands ("Tools" >"Options" window, "Environment" > "Keyboard" section, "Show commands containing" list) that you can execute programmatically, either by command full name or by command guid/id (HOWTO: Execute a command by Guid and Id from a Visual Studio package).
Upvotes: 1