How to change app icon on all forms?

This forum is for programmers who have questions about the source code.
Post Reply
alhalwachi
Posts: 74
Joined: Fri Apr 02, 2010 2:26 pm

How to change app icon on all forms?

Post by alhalwachi » Tue Jan 18, 2011 11:52 am

Hi there

How can I change the main icon that appears on the top as well as in the windows task bar when the application is minimized? this icon also appears in all of the sub-froms and pop-up windows?

please advise

Thanks

User avatar
jordansparks
Site Admin
Posts: 5410
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: How to change app icon on all forms?

Post by jordansparks » Tue Jan 18, 2011 2:47 pm

Well, nearly every form runs Lan.F(this) in the constructor. The purpose of that method is to translate everything on the form. It looks like that would also be a convenient time to change the icon. You would use a plug-in.
Jordan Sparks, DMD
http://www.opendental.com

alhalwachi
Posts: 74
Joined: Fri Apr 02, 2010 2:26 pm

Re: How to change app icon on all forms?

Post by alhalwachi » Fri Jul 15, 2011 8:19 am

Hi
The icon i want to change is the one that appears at the task bar when you launch OD. Once the main app form is loaded, the icon appears in the main taks bar, how can i change it?

User avatar
jordansparks
Site Admin
Posts: 5410
Joined: Sun Jun 17, 2007 3:59 pm
Location: Salem, Oregon
Contact:

Re: How to change app icon on all forms?

Post by jordansparks » Fri Jul 15, 2011 8:23 am

Are you building a plugin or are you interested in just compiling and not receiving our releases?
Jordan Sparks, DMD
http://www.opendental.com

alhalwachi
Posts: 74
Joined: Fri Apr 02, 2010 2:26 pm

Re: How to change app icon on all forms?

Post by alhalwachi » Fri Jul 15, 2011 10:19 am

i got it done, thanks. I changed the main icon of the "formopenDental.cs" :p

Post Reply