Original Post
This is driving me absolutely nuts! Mainly because it should be trivial...
I''m trying to add my app icon to a simple WinForm.
// - inside winform constructor
Icon = new Icon( GetType(), "MyIcon.ico" );
I haven''t forgotten to make MyIcon.ico an embedded resouce. I''ve also checked the project properties to make sure I have the same namespace. It simply won''t load no matter what.
Now here''s the interesting part. If I take an icon file from one of Petzold''s examples. Drop it in the project and set it up exactly the same as MyIcon.ico, it loads and works just fine.
I must be doing something wrong, but I can''t seem to figure it out.
Cheers.