Is there any way to make Visual Studio show the code of a control / form by default instead of the designer? I tend not to be a fan of the designers as they add bloat.
Right-click on a file and select "Open With..."
Select "CSharp Editor" and then click "Set as Default".
Decorate your class with [System.ComponentModel.DesignerCategory("")], e.g.:
[System.ComponentModel.DesignerCategory("")]
public class MySpecialButton : System.Windows.Forms.Button
{
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With