dialog - How to point VS 2010 WinForm Designer to a different Resource File for selecting images? -
in visual studio 2010 forms designer, can assign image resource file various winform controls clicking on image property control. "select resource" dialog box show looks this:
in image above, note alternative "project resource file:" selected , there dropdown list below shows "properties\resources.resx" along list of images belongs resources.resx file.
the dropdown list suggests if add together multiple *.resx files project, can select *.resx file, select image in file. example, test project has 4 resource files:
properties\resources.resx properties\resources1.resx properties\resources2.resx properties\resources3.resxhowever, dialog box never shows of other *.resx files in project.
the file "properties\resources.resx" *.resx file ever populated in dropdown list, hence cannot select images other files using winform designer.
obviously, can assign images in code or pile of images single *.resx file, i'm curious if knows why other resource files not shown in dialog box, or how visual studio acknowledge existence of them ?
thanks.
you added them wrong node, add together them project root instead of properties node. automatic when right-click project, add together new item, resources file. can prepare dragging .resx file. drag up , allow go when hover project root node.
visual-studio-2010 dialog designer resx
No comments:
Post a Comment