I'm making an attempt to write my very first Visual Studio 2015 addin, using VSIX. I've gone through the walkthrough to create a new menu command, but I'm very quickly getting lost after that.
In a nutshell, I'm trying to create a dialog that will come up and display the "tabbable" controls in a Windows Forms usercontrol or form, in a treeview. The user will be able to move the nodes around in the tree, and that will cause the tab order to change for those particular controls. I'm stuck on the very first part of the addin, which is how to get a list of controls in the current form/user control in the active designer. I'm thinking I need to make use of some service to get the current form, and then I can probably just enumerate ActiveForm.Controls in the usual manner in order to populate the treeview I'm creating. But I haven't been able to determine how to get the active designer form.
Can someone please help me get started with this? I'm sure I'll probably have more questions in the future, such as how to update the source code to store the new tab order for the controls, but I'll take it one step at a time. Thank you!