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

C#

 
GeneralRe: Talking to a telnet server Pin
Luc Pattyn9-Aug-09 10:30
sitebuilderLuc Pattyn9-Aug-09 10:30 
GeneralRe: Talking to a telnet server Pin
Randor 9-Aug-09 10:32
professional Randor 9-Aug-09 10:32 
Question[Message Deleted] Pin
spankyleo1239-Aug-09 6:13
spankyleo1239-Aug-09 6:13 
AnswerRe: InsertOnSubmit error Pin
Luc Pattyn9-Aug-09 6:28
sitebuilderLuc Pattyn9-Aug-09 6:28 
General[Message Deleted] Pin
spankyleo1239-Aug-09 6:35
spankyleo1239-Aug-09 6:35 
GeneralRe: InsertOnSubmit error Pin
Luc Pattyn9-Aug-09 6:41
sitebuilderLuc Pattyn9-Aug-09 6:41 
QuestionForms overlapping Pin
Xmen Real 9-Aug-09 5:16
professional Xmen Real 9-Aug-09 5:16 
AnswerRe: Forms overlapping Pin
pelnor9-Aug-09 5:28
pelnor9-Aug-09 5:28 
My best guess is that you are trying to show form3 before the load event of form2 has finished. This might be confusing the display order. Wait until form2 is loaded and idle before trying to launch form3.

The code here will give you have a form loaded event to know that Form2 is ready to go before trying Form3.

Public void Form2_Load(object sender, EventArgs e)
{
    //we need to know when the form is loaded and applicaion.Idle fires once loading is complete
    Application.Idle += new EventHandler(OnLoaded);
}

private void OnLoaded(object sender, EventArgs args)
{
    //once we know the form is loaded we can stop listening to application.idle.
    Application.Idle -= new EventHandler(OnLoaded);

    //***CALL Form3 here****
}


Good Luck

Latest toy built for fun: Web Lens

Best feature: Full size images when using Google image search.

GeneralRe: Forms overlapping Pin
Luc Pattyn9-Aug-09 5:59
sitebuilderLuc Pattyn9-Aug-09 5:59 
GeneralRe: Forms overlapping Pin
pelnor9-Aug-09 6:10
pelnor9-Aug-09 6:10 
GeneralRe: Forms overlapping Pin
Xmen Real 9-Aug-09 6:22
professional Xmen Real 9-Aug-09 6:22 
AnswerRe: Forms overlapping Pin
Luc Pattyn9-Aug-09 6:34
sitebuilderLuc Pattyn9-Aug-09 6:34 
GeneralRe: Forms overlapping Pin
Xmen Real 9-Aug-09 7:46
professional Xmen Real 9-Aug-09 7:46 
GeneralRe: Forms overlapping Pin
Luc Pattyn9-Aug-09 7:53
sitebuilderLuc Pattyn9-Aug-09 7:53 
GeneralRe: Forms overlapping Pin
Xmen Real 9-Aug-09 7:55
professional Xmen Real 9-Aug-09 7:55 
AnswerRe: Forms overlapping Pin
Alan N9-Aug-09 9:06
Alan N9-Aug-09 9:06 
GeneralRe: Forms overlapping Pin
Xmen Real 9-Aug-09 15:06
professional Xmen Real 9-Aug-09 15:06 
GeneralRe: Forms overlapping [SOLVED] Pin
Xmen Real 9-Aug-09 15:33
professional Xmen Real 9-Aug-09 15:33 
AnswerRe: Forms overlapping Pin
Luc Pattyn9-Aug-09 10:27
sitebuilderLuc Pattyn9-Aug-09 10:27 
GeneralRe: Forms overlapping Pin
Xmen Real 9-Aug-09 15:36
professional Xmen Real 9-Aug-09 15:36 
QuestionHelp needed in C# - Mobile App Development Pin
Member 1152439-Aug-09 4:44
Member 1152439-Aug-09 4:44 
AnswerRe: Help needed in C# - Mobile App Development Pin
Not Active9-Aug-09 4:54
mentorNot Active9-Aug-09 4:54 
QuestionMenuStrip sub item added event Pin
Xmen Real 9-Aug-09 4:37
professional Xmen Real 9-Aug-09 4:37 
AnswerRe: MenuStrip sub item added event Pin
Richard Blythe9-Aug-09 9:20
Richard Blythe9-Aug-09 9:20 
GeneralRe: MenuStrip sub item added event Pin
Xmen Real 9-Aug-09 14:56
professional Xmen Real 9-Aug-09 14:56 

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.