Article View: borland.public.csharpbuilder.language.csharp
Article #438Re: How to change the application icon programmatically
From: Peter Jones
Date: Thu, 20 Oct 2005 14:48
Date: Thu, 20 Oct 2005 14:48
15 lines
1434 bytes
1434 bytes
>Just change the icon of the startup from. something like:
>
> private void button1_Click(object sender, System.EventArgs e)
> {
> Icon = new Icon("delphi-toon.ico");
> }
Marc, that will only create an icon in the WinForm. I mean the
icon for the Application file shown on the PC desktop. I know
that in Delphi there is some code like Application.Icon. But I
don't see it in CSharp. Any suggestions?
Thanks,
Peter
Technical Details
Message-ID:
<4357ae46$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43569da4$1@newsgroups.borland.com> <t2pw7w2p8t5d.dlg@marcrohloff.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,9f6af39a307f3dd4 X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Peter Jones" <peter@hotmail.com> Sender: "Peter Jones" <peter@hotmail.com> Reply-To: "Peter Jones" <peter@hotmail.com> Subject: Re: How to change the application icon programmatically Newsgroups: borland.public.csharpbuilder.language.csharp X-User-Info: 65.94.111.25 References: <43569da4$1@newsgroups.borland.com> <t2pw7w2p8t5d.dlg@marcrohloff.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <4357ae46$1@newsgroups.borland.com> Date: 20 Oct 2005 07:48:38 -0700 X-Trace: newsgroups.borland.com 1129819718 207.105.83.66 (20 Oct 2005 07:48:38 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail