View Full Version : Switchboard that change during the day


Yoshi88
03-14-2001, 01:28 PM
I want to create a switchboard that change at 6:00PM. I want to change a picture and the background color. How do I make this work and do I need 2 forms (one hidden and one that open at startup).

Thanks

Anauz
03-16-2001, 01:46 AM
There are two way you can do this.
1. Have the same form and change stuff come 6.00

2. Have two forms, and load them depending on what time it is.

The second is probably the easiest. When you load you application have a splash screen/form which basically displays the logo and welcome message. In the code behind this form have an IF statement to check the time. IF the time is >= 6.00 then load the appropriate form, ELSE load default form