Prevent Visual Studio load a custom partial class as a designer
<p>In Visual Studio, there are lot of designer editors, Windows Forms, XAML, Installer, and others.</p>

<p>Sometimes, I create a new source code as <strong>partial class (custom)</strong> to separate the logic.</p>

<p>For example:</p>

<ul>
<li>Partial code only: class Form1 : Windows.Forms.Form → Form1.cs</li>
<li>Partial Designer only: partial class Form1 : Form → Form1.Designer.cs</li>
<li><strong>Partial class (custom) : partial class form1 : Form → Form.Print.cs</strong></li>
</ul>

<p>In this last, I include print only methods and properties, and then, when I double click this file on Solution Explorer, always open the designer, instead of code editor, of course, I try use <kbd>F7</kbd> or right-click to do that, but when I share the project with co-workers, it becomes a problem.</p>

<p>Anyone know how to avoid this behavior? Maybe a class attribute!?</p>