bulblight's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 4 (0.03 per day)
- Joined:
- 29-January 13
- Profile Views:
- 10
- Last Active:
Jan 30 2013 03:28 PM- Currently:
- Offline
Previous Fields
- Dream Kudos:
- 0
Posts I've Made
-
In Topic: How do I make a splash screen?
Posted 30 Jan 2013
Curtis Rutland, on 30 January 2013 - 03:19 PM, said:Quote
This is a splash screen that I tend to use where the user has to agree to certain conditions before using the app. Mostly in financial systems and the like. They can agree to the conditions and start the app, or cancel to exit the app.
Technically that's not a splash screen; it's just some other form. By definition splash screens are pretty much just for loading. There's not really a proper term for what yours is; maybe a TOS Form or something.
Good point -
In Topic: How do I make a splash screen?
Posted 30 Jan 2013
Skydiver, on 30 January 2013 - 06:52 AM, said:Just for my edification... when did splash screens start having cancel buttons? I must be showing my age because in my time, splash screens were put up to let the user know that the program is starting up, but it's going to take a while to get the rest of the program up into a running state. There was no way to cancel out of the splash screen and abort the program.
Also with post #26, why call Application.Exit() when you can simply return out of main() ?
As for there being no wrong questions: that is true. There's just the wrong time or audience to ask them. (ex. "Like when did your herpes symptoms subside?")
/>
This is a splash screen that I tend to use where the user has to agree to certain conditions before using the app. Mostly in financial systems and the like. They can agree to the conditions and start the app, or cancel to exit the app.
If you want a screen pop-up while loading the rest of the app, then you could ShowDialog() the splash form from the main form parent on a timer that will close on a tick event - or better, subscribe to a 'loaded' event and raise it when all stuff loaded which will close the splash screen.
Application.Exit() doesn't need to be used - based on my past mistrust of GC (garbage collection) I suppose.
I would have loved forums like this when I was learning to program, but they didn't exist - so with the "question" thing, I'm just trying to help out people who are learning to program as much as I can without curtailing their enthusiasm. -
In Topic: How do I make a splash screen?
Posted 29 Jan 2013
I should also add to make sure that you put 2 buttons on the splash screen and set the DialogResult property for each to OK or Cancel - no coding required for their click events.
Hope this helps. No questions are the wrong question by the way
-
In Topic: How do I make a splash screen?
Posted 29 Jan 2013
In Program.cs you can just do this.
static void Main() { IntroForm introForm = new IntroForm(); if (introForm.ShowDialog() != DialogResult.OK) { Application.Exit(); return; } Application.Run(new MainForm()); }
My Information
- Member Title:
- New D.I.C Head
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
Contact Information
- E-mail:
- Private
Friends
bulblight hasn't added any friends yet.
|
|


Find Topics
Find Posts
View Reputation Given
|
Comments
bulblight has no profile comments yet. Why not say hello?