c# - Icon displayed by windows 7 changes to default icon if executable is moved -
my c# window 7 winforms program displays custom icon when run visual studio output directory.
when move executable desktop , run it, default windows winforms icon displayed.
how windows display correct icon when executable moved?
your icons should stored in folder in solution (best 'solution\resources\images\x.extension') , added visual studio ide (he creates reference). when deploy application, should give user shortcut of executable. here secret.
Comments
Post a Comment