K
Ken Allen
I am developing a C#/.Net app that contains a significant number of forms
(about 32). In testing to date the size of the debug EXE is about 400 KB
and the size of the release EXE is about 325 -- cool.
A friend developed a neat icon file (all sizes and masks) for use by the
app. I replaced the generic App.ico file with the new one, opened the
solution and built it and, presto, a new icon for the program! But the size
went up a bit since his file is 27 KB and the generic icon file was only
1KB.
I then went to every form and, in the designer, set the icon property of
each form to point to this file -- that bloated the size of the EXE to over
1MB in debug and 930KB in release!
Since this icon file is already part of the project, how can I have all of
the forms use this icon without all of them bloating their .resx files?
-ken
(about 32). In testing to date the size of the debug EXE is about 400 KB
and the size of the release EXE is about 325 -- cool.
A friend developed a neat icon file (all sizes and masks) for use by the
app. I replaced the generic App.ico file with the new one, opened the
solution and built it and, presto, a new icon for the program! But the size
went up a bit since his file is 27 KB and the generic icon file was only
1KB.
I then went to every form and, in the designer, set the icon property of
each form to point to this file -- that bloated the size of the EXE to over
1MB in debug and 930KB in release!
Since this icon file is already part of the project, how can I have all of
the forms use this icon without all of them bloating their .resx files?
-ken