J
jez
quick short newbie question.. (sorry)
I created my first stupid little program that shows a label saying hello in
a windows app. It all works fine. Worth noting, I didn't create the label
using the toolbox but instead wrote code for it.
My question is the following : When I run the app I get the standard size
for a windows app (the default that comes up with VS.NET), however when I
want to change it manually in the designer it works fine as well but adds
heaps of redundant lines to my code. My program still works but it has
changed.
Same goes for when I create a label using the toolbox, it adds many
redundant lines.
Is there any way I can make sure that VS.NET doesn't add those lines or
change code that I have written ? (i.e. instead of changing label1.AutoSize
= true this.label1.AutoSize - I find it a bit irritating).
Thanks all for your advice,
jez
I created my first stupid little program that shows a label saying hello in
a windows app. It all works fine. Worth noting, I didn't create the label
using the toolbox but instead wrote code for it.
My question is the following : When I run the app I get the standard size
for a windows app (the default that comes up with VS.NET), however when I
want to change it manually in the designer it works fine as well but adds
heaps of redundant lines to my code. My program still works but it has
changed.
Same goes for when I create a label using the toolbox, it adds many
redundant lines.
Is there any way I can make sure that VS.NET doesn't add those lines or
change code that I have written ? (i.e. instead of changing label1.AutoSize
= true this.label1.AutoSize - I find it a bit irritating).
Thanks all for your advice,
jez