View Single Post
  #2 (permalink)  
Old February 23rd, 2006, 07:36 PM
adam_kahtava adam_kahtava is offline
Wrox Technical Editor
 
Join Date: Dec 2005
Location: , , Canada.
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Your problem is a documented bug (822488), here's a work around.

System.Drawing.Icon Icon1;
Icon1 = new System.Drawing.Icon("c:\\Example.ico");
e.Graphics.DrawIcon(Icon1,0,0);

See the following link for more details: http://www.kbalertz.com/Feedback_822488.aspx

- A.Kahtava
Reply With Quote