Hello, I haven't done much work with .NET, so forgive me if this has a trivial solution.
The "problem" (more of an annoyance, really) is that the VC# IDE opens all files that have a class which inherits from System.Windows.Forms.Form
in design-view, by default. The only exception being "*.Designer.cs" files.
Generally speaking, this is fine. However, if I have a partial class
that implements some control handler code, this becomes quite an annoyance. When double-clicking on the source file, for instance, you are taken to the Winforms designer and presented with an empty form. Totally useless.
To get around this, you are required to right-click on the source file in question, and select "View Code" from the context menu.
My question is rather simple: is there any frigging way to get around this absurdity? If not, I'm wondering how people organize their UI-handling code.
Thanks!