Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: Creating this "Please wait..." window? Pin
dan!sh 5-Jul-09 7:59
professional dan!sh 5-Jul-09 7:59 
GeneralRe: Creating this "Please wait..." window? Pin
SimpleData5-Jul-09 8:09
SimpleData5-Jul-09 8:09 
GeneralRe: Creating this "Please wait..." window? Pin
danzar5-Jul-09 8:31
danzar5-Jul-09 8:31 
GeneralRe: Creating this "Please wait..." window? Pin
SimpleData5-Jul-09 8:35
SimpleData5-Jul-09 8:35 
GeneralRe: Creating this "Please wait..." window? Pin
dan!sh 5-Jul-09 8:41
professional dan!sh 5-Jul-09 8:41 
GeneralRe: Creating this "Please wait..." window? Pin
Christian Graus5-Jul-09 14:13
protectorChristian Graus5-Jul-09 14:13 
GeneralRe: Creating this "Please wait..." window? Pin
SimpleData5-Jul-09 22:48
SimpleData5-Jul-09 22:48 
AnswerRe: Creating this "Please wait..." window? Pin
DaveyM695-Jul-09 8:35
professionalDaveyM695-Jul-09 8:35 
This is what I used the last time I needed this in Load event (formSplash is a borderless form).
Hide();
bool done = false;
ThreadPool.QueueUserWorkItem(
    (x) =>
    {
        using (formSplash = new FormSplash())
        {
            formSplash.Show();
            while (!done)
                Application.DoEvents();
            formSplash.Close();
        }
    });
// Do stuff...
done = true;
Show();


Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)

GeneralRe: Creating this "Please wait..." window? Pin
SimpleData5-Jul-09 8:37
SimpleData5-Jul-09 8:37 
GeneralRe: Creating this "Please wait..." window? Pin
DaveyM695-Jul-09 8:54
professionalDaveyM695-Jul-09 8:54 
GeneralRe: Creating this "Please wait..." window? Pin
SimpleData5-Jul-09 9:04
SimpleData5-Jul-09 9:04 
GeneralRe: Creating this "Please wait..." window? Pin
DaveyM695-Jul-09 9:15
professionalDaveyM695-Jul-09 9:15 
AnswerRe: Creating this "Please wait..." window? Pin
Alan N5-Jul-09 9:52
Alan N5-Jul-09 9:52 
QuestionError message Pin
danzar5-Jul-09 7:38
danzar5-Jul-09 7:38 
AnswerRe: Error message Pin
Blue_Boy5-Jul-09 7:40
Blue_Boy5-Jul-09 7:40 
GeneralRe: Error message Pin
danzar5-Jul-09 7:48
danzar5-Jul-09 7:48 
GeneralRe: Error message Pin
Blue_Boy5-Jul-09 7:50
Blue_Boy5-Jul-09 7:50 
GeneralRe: Error message Pin
danzar5-Jul-09 7:58
danzar5-Jul-09 7:58 
QuestionTracing association application Pin
Muammar©5-Jul-09 5:56
Muammar©5-Jul-09 5:56 
AnswerRe: Tracing association application [modified] Pin
dan!sh 5-Jul-09 6:07
professional dan!sh 5-Jul-09 6:07 
QuestionRe: Tracing association application Pin
Muammar©5-Jul-09 6:30
Muammar©5-Jul-09 6:30 
AnswerRe: Tracing association application Pin
Giorgi Dalakishvili5-Jul-09 8:30
mentorGiorgi Dalakishvili5-Jul-09 8:30 
GeneralRe: Tracing association application Pin
Muammar©5-Jul-09 9:33
Muammar©5-Jul-09 9:33 
GeneralRe: Tracing association application Pin
Giorgi Dalakishvili5-Jul-09 9:47
mentorGiorgi Dalakishvili5-Jul-09 9:47 
GeneralRe: Tracing association application Pin
Muammar©5-Jul-09 11:00
Muammar©5-Jul-09 11:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.