Adding controls to a form when I only have the reference to it’s EnvDTE
问题 I am writing na Add-In for Visual Studio 2010, and I want it to add controls to an existing Form in an existing Project in an existing Solution, and I already have references to all of them. As I have the reference to the Project Item that represents the file of the form, I want a reference to the Form per se, then I’ll be able to do anything to it (changing properties, and adding controls). I have tried some approaches, though I must admit I haven’t ran out of tries. But since this is quite