views:

578

answers:

2

I have a ToolStripMenuItem in my program. I also have an icon on my computer, for simplicities sake lets say its path is

c:\myicon.ico

How can i make the ToolStripMenuItem use this icon?

A: 

ImageSource="c:\myicon.ico"

Jan Bannister
the ToolStripMenuItem doesnt have an ImageSource property :S
Steve
+2  A: 
SomeToolStripMenuItem.Image = Image.FromFile("c:\myicon.ico")
Richard
Just what i needed thx
Steve