Click here to Skip to main content
15,898,374 members
Home / Discussions / C#
   

C#

 
Generalviewing local shell/system folders Pin
nds53-Apr-05 0:27
nds53-Apr-05 0:27 
GeneralRe: viewing local shell/system folders Pin
Milan20073-Apr-05 15:07
Milan20073-Apr-05 15:07 
GeneralRe: viewing local shell/system folders Pin
nds57-Apr-05 1:28
nds57-Apr-05 1:28 
Questionhow to get primary in variable Pin
Member 17583712-Apr-05 16:58
Member 17583712-Apr-05 16:58 
AnswerRe: how to get primary in variable Pin
theoutlander2-Apr-05 17:33
theoutlander2-Apr-05 17:33 
GeneralRe: how to get primary in variable Pin
Colin Angus Mackay3-Apr-05 1:52
Colin Angus Mackay3-Apr-05 1:52 
GeneralRe: how to get primary in variable Pin
theoutlander3-Apr-05 7:05
theoutlander3-Apr-05 7:05 
GeneralLoadingForm issues Pin
sniper506th2-Apr-05 7:45
sniper506th2-Apr-05 7:45 
Hi,
I have this segment of code, which is supposed to show a form (lf), and then when the user is done with that, show a loading form (load) until the main form is done loading (mf). This is what I have for my main function right now.

static void Main() 
		{

			LoginForm lf = new LoginForm();
			LoadingMainForm load = new LoadingMainForm();
			load.Show();
			load.Hide();
			lf.ShowDialog();
			if (lf.loggedin == true)
			{	
				load.Show();
				MainForm mf = new MainForm(lf.sessid,lf.loginform_username.Text);
				load.Hide();
				Application.Run(mf);
			}
			else
			{
				Application.Exit();
			}
		}


My problem is that when the loading form shows up, it looks incomplete. The title and stuff are still there, but in the place where a label and a button are supposed to be, it just looks incomplete, like the loading form didn't have enough time to load.

Can anyone help?

Thanks,

Jimmy Sawczuk
www.McJournal.org
GeneralRe: LoadingForm issues Pin
Colin Angus Mackay2-Apr-05 12:58
Colin Angus Mackay2-Apr-05 12:58 
GeneralRe: LoadingForm issues Pin
sniper506th2-Apr-05 17:36
sniper506th2-Apr-05 17:36 
GeneralRe: LoadingForm issues Pin
theoutlander2-Apr-05 17:24
theoutlander2-Apr-05 17:24 
GeneralDictionary design time editor Pin
rakat332-Apr-05 0:48
rakat332-Apr-05 0:48 
GeneralConverting images to vedio using .NET Pin
Member 15421422-Apr-05 0:06
Member 15421422-Apr-05 0:06 
GeneralRe: Converting images to vedio using .NET Pin
MoustafaS2-Apr-05 5:07
MoustafaS2-Apr-05 5:07 
GeneralRe: Converting images to vedio using .NET Pin
C-codist2-Apr-05 5:10
C-codist2-Apr-05 5:10 
GeneralMouse tracking Pin
Member 15421422-Apr-05 0:03
Member 15421422-Apr-05 0:03 
QuestionAdding "missing" notifications to the ListView control (.NET 1.1)? Pin
Uwe Keim1-Apr-05 23:09
sitebuilderUwe Keim1-Apr-05 23:09 
General.NET on NT 4.0 Pin
G.Ringbom1-Apr-05 20:35
G.Ringbom1-Apr-05 20:35 
GeneralRe: .NET on NT 4.0 Pin
mav.northwind1-Apr-05 22:04
mav.northwind1-Apr-05 22:04 
GeneralXP visual style Pin
sianatia1-Apr-05 20:33
sianatia1-Apr-05 20:33 
GeneralRe: XP visual style Pin
Luis Alonso Ramos1-Apr-05 21:38
Luis Alonso Ramos1-Apr-05 21:38 
Generalsetup file error Pin
Mridang Agarwalla1-Apr-05 20:33
Mridang Agarwalla1-Apr-05 20:33 
QuestionHow to acces Form Instance of Requesting Application in Global.asax.cs File Pin
Rajesh Thomas1-Apr-05 19:38
Rajesh Thomas1-Apr-05 19:38 
Generaldisable a treenode in a treeview Pin
Gokulan Venattil1-Apr-05 19:17
Gokulan Venattil1-Apr-05 19:17 
GeneralRe: disable a treenode in a treeview Pin
Ashok Dhamija1-Apr-05 21:24
Ashok Dhamija1-Apr-05 21: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.