Re: Resources
- From: "Bob Powell [MVP]" <bob@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Jul 2005 19:20:49 +0200
You can embed one copy of the button and then get that from the resources
using GetManifestResourceStream.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Paul Cheetham" <PAC.News@xxxxxxxxxxxxx> wrote in message
news:uY2LP1SiFHA.3056@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I am developing a Windows Form app, that has graphical buttons.
> Obviously I use the same button more than once throuout the application,
> but Visual Studio would appear to embed a set of images for each button
> into the program resources, instead of using a commen one.
>
> If I can make it use a common copy, I could reduce the size of my final
> exe file quite considerably.
>
> Is there a way I can edit this, and what is the best way to do it?
>
> Thanks.
>
> Paul
.
- Follow-Ups:
- Re: Resources
- From: Paul Cheetham
- Re: Resources
- References:
- Resources
- From: Paul Cheetham
- Resources
- Prev by Date: RE: Autoscroll scrollbar thumb position being reset upon focus change
- Next by Date: VB.Net 2003 with Zebra Barcode Printer on Network
- Previous by thread: Resources
- Next by thread: Re: Resources
- Index(es):
Relevant Pages
|