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

C#

 
QuestionHow ow to alternate color on items of combo/list box, gurus? Pin
Khang Nguyen19-Jun-03 5:10
Khang Nguyen19-Jun-03 5:10 
AnswerRe: How ow to alternate color on items of combo/list box, gurus? Pin
Manster19-Jun-03 6:28
Manster19-Jun-03 6:28 
GeneralRe: How ow to alternate color on items of combo/list box, gurus? Pin
Khang Nguyen19-Jun-03 11:11
Khang Nguyen19-Jun-03 11:11 
GeneralFast image processing Pin
aeros19-Jun-03 4:50
aeros19-Jun-03 4:50 
QuestionWelcome dialog when app starts? Pin
Andrey Kalganov19-Jun-03 3:50
Andrey Kalganov19-Jun-03 3:50 
AnswerRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 3:56
dazinith19-Jun-03 3:56 
GeneralRe: Welcome dialog when app starts? Pin
Jose Fco Bonnin19-Jun-03 4:29
Jose Fco Bonnin19-Jun-03 4:29 
GeneralRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 4:49
dazinith19-Jun-03 4:49 
if you look back at my code you'll see that the Thread.Sleep(1500) is just to pause for a second.. i know nothing is going to happen during that time..

right above that is where i load all of my stuff.. i just pause so that the splash screen is showed for at least a second, it serves no other purpose and can be removed. this is all in my constructor for my main form..

what is the benefit of creating a thread just to show and close the dialog when you could just show and hide the dialog around the section of code that does your loading?

AboutBox myAboutBox = new AboutBox();
myAboutBox.Show();
myAboutBox.Refresh();
// **************** SPLASH SCREEN UP *********************

// do all of your loading here <--- this is where i do all my loading.. 

// sleep for a second and a half so it at least shows for a second.
Thread.Sleep(1500);  // <---this can be removed, its not necessary, i just do it

//// Required for Windows Form Designer support//
InitializeComponent();

myAboutBox.Hide();
myAboutBox.Dispose();
// **************** SPLASH SCREEN DOWN *******************


still a newb.. cut me some slack :P
-dz
GeneralRe: Welcome dialog when app starts? Pin
Jose Fco Bonnin19-Jun-03 5:02
Jose Fco Bonnin19-Jun-03 5:02 
GeneralRe: Welcome dialog when app starts? Pin
dazinith19-Jun-03 5:06
dazinith19-Jun-03 5:06 
GeneralRe: Welcome dialog when app starts? Pin
Anonymous20-Jun-03 1:07
Anonymous20-Jun-03 1:07 
GeneralRe: Welcome dialog when app starts? Pin
dazinith20-Jun-03 7:46
dazinith20-Jun-03 7:46 
QuestionHow to tell if something is selected in my listbox? Pin
dazinith19-Jun-03 3:42
dazinith19-Jun-03 3:42 
AnswerRe: How to tell if something is selected in my listbox? Pin
Dimitris Iliopoulos19-Jun-03 3:48
Dimitris Iliopoulos19-Jun-03 3:48 
GeneralRe: How to tell if something is selected in my listbox? Pin
dazinith19-Jun-03 3:53
dazinith19-Jun-03 3:53 
AnswerRe: How to tell if something is selected in my listbox? Pin
Manster19-Jun-03 6:46
Manster19-Jun-03 6:46 
Generalmailing with crystal reports Pin
Roger Alsing18-Jun-03 23:01
Roger Alsing18-Jun-03 23:01 
QuestionDeclared delegates? Pin
Rocky Moore18-Jun-03 20:54
Rocky Moore18-Jun-03 20:54 
AnswerRe: Declared delegates? Pin
Wesner Moise18-Jun-03 21:34
Wesner Moise18-Jun-03 21:34 
GeneralRe: Declared delegates? Pin
Rocky Moore18-Jun-03 21:45
Rocky Moore18-Jun-03 21:45 
GeneralRe: Declared delegates? Pin
leppie19-Jun-03 7:15
leppie19-Jun-03 7:15 
GeneralHTTP GetResponse problem Pin
ke5in18-Jun-03 19:06
ke5in18-Jun-03 19:06 
GeneralRe: HTTP GetResponse problem Pin
Rocky Moore18-Jun-03 21:18
Rocky Moore18-Jun-03 21:18 
GeneralRe: HTTP GetResponse problem Pin
ke5in20-Jun-03 3:43
ke5in20-Jun-03 3:43 
GeneralRe: HTTP GetResponse problem Pin
firat kocak19-Jun-03 0:24
firat kocak19-Jun-03 0:24 

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.