Article View: borland.public.csharpbuilder.language.csharp
Article #556Imagelist question
From: Colonel Tony
Date: Sat, 31 Jul 2004 02:10
Date: Sat, 31 Jul 2004 02:10
12 lines
1360 bytes
1360 bytes
Is there anyway to share a imagelist so a form can see it at design time? I mean in Delphi I could just pop one on a datamodule and use it on any form I need those same images. When you have a bunch of buttons etc it's a pain to have to do it all in code by passing a reference to your imagelist to every form and then setting every button to use that list and then setting each button imageindex. There has to be a better way. Is there any nice way to do this with C#? Thanks
Technical Details
Message-ID:
<410affc8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,e666b2912b1490df,start X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Colonel Tony" <tcaduto@amsoftwaredesign.com> From: "Colonel Tony" <tcaduto@amsoftwaredesign.com> Newsgroups: borland.public.csharpbuilder.language.csharp Subject: Imagelist question Date: Fri, 30 Jul 2004 21:10:38 -0500 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 65.26.202.116 Message-ID: <410affc8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1091239880 65.26.202.116 (30 Jul 2004 19:11:20 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail