Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Task Panel
  New Posts New Posts RSS Feed - Problem with loading Icons in C#
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with loading Icons in C#

 Post Reply Post Reply
Author
Message
Hashemian View Drop Down
Newbie
Newbie


Joined: 06 August 2006
Location: Iran
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hashemian Quote  Post ReplyReply Direct Link To This Post Topic: Problem with loading Icons in C#
    Posted: 06 August 2006 at 12:54pm
Hello,
I'm progarmming with C# 2005 and for designing one of my forms, I decided to use TaskPanel control. so I began with tutorial to see how can I use that. The tutorial was wrotten in VB 6. I convert it's code to C# and every thing was well. for icons, I try to use ImageList in .NET and after setting it's icons I sent it as a parameter to SetImageList method, but at run time an error occurred and said can not cast Imagelist to Object.
I try to use LoadIcon method to manually load my Icons, but it makes no differences.  in this way it doesn't seems that Icons became loaded, because the icons didn't shown and also no errors occurred.
So how can I load icons in C# for TaskPanel?
Best regards.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.