Search code examples
c#controlsiconstoolstrip

C# Add Icon To ToolStripMenuItem


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?


Solution

  • SomeToolStripMenuItem.Image = Image.FromFile("c:\myicon.ico")