I have a class that inherits the built in System.Windows.Forms.Panel class. According to the metadata of the Panel class, it has an attribute named Designer. I am assuming this is what is causing my derived class to open in the form designer by default, rather than the code view. Is there a way I can override this attribute so that the file opens in code view?
I have a class that inherits the built in System.Windows.Forms.Panel class. According to the
Share
I’ve found the answer. Thanks goes to Visual Studio: Make view code default using attribute.