I have a solution where my Windows Forms are distributed in severalj Projects. I have one "Common" Project which all my other Projects has a reference to. I have added all my Icons to that Project and declared them Public.
In one of the other Projects in the solution I have a Windows Form with a UltraToolBar Control. I have added the Toolbars and Tools that I want. When I press "select Image from File" on a tool the Select Resource Dialog is displayed.
Here I'm missing the option to select from Global Resources. In the ComboBox I can choose My Project\Resources. I would like to have the option to choose Resources from any referenced Project in my solution.
In code I can access the Icons via Global.<myNamespace>.My.Resources.<ResourceName>
I am using version 2012.2
Hello Jörgen,
If you need any additional assistance don’t hesitate to ask.
Regards
If you want to set image in your tools, you should use one of these formats: bmp, gif, jpg, png, tif. Let me know if you have any further questions.
Also try and add new Resources via Project properties (add Ico files as Icon Resources)
Go to the Windows forms designer and customize UltraWinToolbar and add an existing Icon resource to a toolbutton. The resource isn't displayed in the imagecontrol in the select Resources dialog.
Icon Resources isn't handled correctly by UltraWinToolbarsManager.
Try to replace the jpg image in your example with an ico file and see if it still works.
In my solution I had added the Resources as Icons and this caused problems.
When I add Icons to the form via the Forms Designer and the select resource dialog and choosing an .ico file they seem to be converted to an image resource (not an Icon resource as I had added them) and this seems to cause problems.
Part 2