|
-
April 3rd, 2008, 08:12 PM
#1
[RESOLVED] get image from Properties.Resources
Hi,
I currently using the below code to assign image from Resources to menu.
rm = new RibbonMenu();
rm.Text="Search";
rm.LargeImage = Properties.Resources.search;
can i replace "Properties.Resources.search" with a variable? something like this:
string imgName="search";
rm = new RibbonMenu();
rm.Text="Search";
rm.LargeImage = imgName;
Please help.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|