Can you change VS Win Forms designer code generation?

Posted by Big Endian on Stack Overflow See other posts from Stack Overflow or by Big Endian
Published on 2010-04-08T13:09:48Z Indexed on 2010/04/08 13:13 UTC
Read the original article Hit count: 362

We implemented new standards, which call for our private members to have a leading underscore. Like so:

private System.Windows.Forms.Label _label;

Unfortunately VS will put out the default below when you drag a new label onto your form:

private System.Windows.Forms.Label label1;

Is there a way to change that to:

private System.Windows.Forms.Label _label1;

Cheers,

Plamen

© Stack Overflow or respective owner

Related posts about winforms

Related posts about visual