Changing the Splash Screen

For users or potential users.
Post Reply
don
Posts: 11
Joined: Mon Jan 07, 2013 4:20 pm

Changing the Splash Screen

Post by don »

I'm trying to change the splash screen of open dental without changing any code. Any ideas on how can this be done?
User avatar
jsalmon
Posts: 1609
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Changing the Splash Screen

Post by jsalmon »

You're in luck, we just implemented this in the head very recently. Just have your image in the installation path of Open Dental saved as "Splash.jpg".
Here is the code from FormSplash.cs:

Code: Select all

if(File.Exists(Directory.GetCurrentDirectory()+@"\Splash.jpg")) {
	BackgroundImage=new Bitmap(Directory.GetCurrentDirectory()+@"\Splash.jpg");
}
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com
don
Posts: 11
Joined: Mon Jan 07, 2013 4:20 pm

Re: Changing the Splash Screen

Post by don »

Cool! Is this available in the source code version 12.4?
User avatar
jsalmon
Posts: 1609
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: Changing the Splash Screen

Post by jsalmon »

No, just v13.2 (the head).
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com
don
Posts: 11
Joined: Mon Jan 07, 2013 4:20 pm

Re: Changing the Splash Screen

Post by don »

Thanks!
Post Reply