One file instead of two (.cs & .resx)?

  • Thread starter Thread starter Martin R-L
  • Start date Start date
M

Martin R-L

Is there any way to have just one file instead of two (.cs & .resx) when
working with WinForm source in C#?



Regards,

// Martin R-L
 
Martin R-L said:
Is there any way to have just one file instead of two (.cs & .resx) when
working with WinForm source in C#?

Yes - write your GUI code by hand, rather than using the forms
designer. Personally I find that's a way to end up with more
maintainable code in the long run anyway. I sometimes mock up a UI in
the forms designer, but then rewrite the code in a more readable form
by hand.
 
Maintenance issues (rename, check in/out, builds, ., the list is long.).



Regards,

// Martin R-L
 
Back
Top