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

C#

 
GeneralRe: lock failed?! Pin
Sangra30-Sep-05 4:54
Sangra30-Sep-05 4:54 
QuestionHide Form Pin
spif200129-Sep-05 23:29
spif200129-Sep-05 23:29 
AnswerRe: Hide Form Pin
Gavin Jeffrey30-Sep-05 2:18
Gavin Jeffrey30-Sep-05 2:18 
GeneralRe: Hide Form Pin
spif200130-Sep-05 2:27
spif200130-Sep-05 2:27 
AnswerRe: Hide Form Pin
Robert Rohde30-Sep-05 10:00
Robert Rohde30-Sep-05 10:00 
GeneralRe: Hide Form Pin
spif20012-Oct-05 20:58
spif20012-Oct-05 20:58 
GeneralRe: Hide Form Pin
Robert Rohde4-Oct-05 18:51
Robert Rohde4-Oct-05 18:51 
GeneralRe: Hide Form Pin
spif20014-Oct-05 20:33
spif20014-Oct-05 20:33 
I tried that too Smile | :) to no avail.

And I got it working using Hide(), except at startup. I tried to Hide() it in another thread like this:

public MainForm()
{
InitializeComponent();
Thread t = new Thread(new ThreadStart(HideFunc));
t.Start();
}//constructor

private void HideFunc()
{
Thread.Sleep(1);
this.Hide();
}

It works (even though the Form flickers before hiding). If I remove the Sleep(1) call the Form whont hide!?

Am I missing some fundamental programming issue here or what?

I'm in the high-fidelity first class traveling set.
And I think I need a Lear jet.

QuestionCrystal Reports Pin
Willem Le Roux29-Sep-05 23:26
Willem Le Roux29-Sep-05 23:26 
AnswerRe: Crystal Reports Pin
Susan Hernandez30-Sep-05 13:14
Susan Hernandez30-Sep-05 13:14 
GeneralRe: Crystal Reports Pin
Willem Le Roux2-Oct-05 23:02
Willem Le Roux2-Oct-05 23:02 
GeneralRe: Crystal Reports Pin
Susan Hernandez3-Oct-05 6:55
Susan Hernandez3-Oct-05 6:55 
GeneralRe: Crystal Reports Pin
Willem Le Roux4-Oct-05 0:03
Willem Le Roux4-Oct-05 0:03 
QuestionGet motherboard serial number Pin
Willem Le Roux29-Sep-05 23:22
Willem Le Roux29-Sep-05 23:22 
AnswerRe: Get motherboard serial number Pin
Dave Kreskowiak30-Sep-05 8:21
mveDave Kreskowiak30-Sep-05 8:21 
GeneralRe: Get motherboard serial number Pin
Willem Le Roux2-Oct-05 23:17
Willem Le Roux2-Oct-05 23:17 
GeneralRe: Get motherboard serial number Pin
Dave Kreskowiak6-Oct-05 11:52
mveDave Kreskowiak6-Oct-05 11:52 
GeneralRe: Get motherboard serial number Pin
Willem Le Roux6-Oct-05 22:55
Willem Le Roux6-Oct-05 22:55 
GeneralRe: Get motherboard serial number Pin
Dave Kreskowiak7-Oct-05 16:07
mveDave Kreskowiak7-Oct-05 16:07 
QuestionHow To make Toolbar Pin
A.Grover29-Sep-05 23:18
A.Grover29-Sep-05 23:18 
AnswerRe: How To make Toolbar Pin
| Muhammad Waqas Butt |29-Sep-05 23:45
professional| Muhammad Waqas Butt |29-Sep-05 23:45 
QuestionCrystal Report selection Problem Pin
| Muhammad Waqas Butt |29-Sep-05 22:52
professional| Muhammad Waqas Butt |29-Sep-05 22:52 
QuestionWin32 api Pin
rakesh_nits29-Sep-05 22:07
rakesh_nits29-Sep-05 22:07 
AnswerRe: Win32 api Pin
Anonymous30-Sep-05 8:18
Anonymous30-Sep-05 8:18 
QuestionStandard Deviation Graph through GDI+ in .NET? Pin
parvinder sehrawat29-Sep-05 22:04
parvinder sehrawat29-Sep-05 22:04 

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.