I have two seperate questions which are sort of related. I have a bill of materials that I would like to add to a windows form, but everytime I add a form using Visual Studio it adds it as a different class and I can't reference it. The reason I want this in a form is I would like the user to able to click on one of the items on the BOM list and have it open that component, just as the open component command works. I have everything worked out except for opening the form and then opening the component command execution.
I have tried making a new window, but I'm unsure how to set which components are viewable. But some sort of help on finding the "Open Component" command would be great.
Another option I suppose would be using a ComboBox in the ribbon, but there is almost not documentation on how to use them.