Click here to Skip to main content
15,905,420 members
Home / Discussions / C#
   

C#

 
GeneralRe: Form is not response Pin
tradakad24-Jul-07 0:41
tradakad24-Jul-07 0:41 
GeneralRe: Form is not response Pin
Martin#24-Jul-07 0:56
Martin#24-Jul-07 0:56 
GeneralRe: Form is not response Pin
Martin#24-Jul-07 1:13
Martin#24-Jul-07 1:13 
GeneralRe: Form is not response Pin
tradakad24-Jul-07 1:38
tradakad24-Jul-07 1:38 
GeneralRe: Form is not response Pin
Martin#24-Jul-07 1:52
Martin#24-Jul-07 1:52 
GeneralRe: Form is not response Pin
tradakad24-Jul-07 2:08
tradakad24-Jul-07 2:08 
GeneralRe: Form is not response Pin
Martin#24-Jul-07 2:18
Martin#24-Jul-07 2:18 
GeneralRe: Form is not response Pin
tradakad24-Jul-07 2:26
tradakad24-Jul-07 2:26 
Martin# wrote:
Again, DoEvents. But which event are you connected too?



while main from is hiding - i show loadingForm

private void frmMain_Shown(object sender, EventArgs e)
 {
     frm.Visible = true;
     Application.DoEvents();
     LoadSettings();
     LoadImages();
     LoadControlsPositions();
     frm.Dispose();
     this.Visible = true;


 }


and if dont write Application.DoEvents(); label ot the loading form is not visible Frown | :(
when LoadControlsPositions(); is complete - i kill frm and show the main form again..




--
"Success is simple. Do what's right, the right way, at the right time."

best regards,
tradakad

GeneralRe: Form is not response Pin
tradakad23-Jul-07 23:58
tradakad23-Jul-07 23:58 
Questiondatagrid update command Pin
srinivassam23-Jul-07 21:01
srinivassam23-Jul-07 21:01 
QuestionException has been thrown by the target of an invocation Pin
Darkness8423-Jul-07 20:23
Darkness8423-Jul-07 20:23 
AnswerRe: Exception has been thrown by the target of an invocation Pin
Darkness8423-Jul-07 20:35
Darkness8423-Jul-07 20:35 
GeneralRe: Exception has been thrown by the target of an invocation Pin
Darkness8423-Jul-07 21:29
Darkness8423-Jul-07 21:29 
GeneralRe: Exception has been thrown by the target of an invocation Pin
Amjath Rahman23-Jul-07 21:33
Amjath Rahman23-Jul-07 21:33 
GeneralRe: Exception has been thrown by the target of an invocation Pin
Amjath Rahman23-Jul-07 21:36
Amjath Rahman23-Jul-07 21:36 
GeneralRe: Exception has been thrown by the target of an invocation Pin
Luc Pattyn24-Jul-07 2:04
sitebuilderLuc Pattyn24-Jul-07 2:04 
QuestionVideo handling Pin
pavya_Cool23-Jul-07 20:10
pavya_Cool23-Jul-07 20:10 
AnswerRe: Video handling Pin
ekynox23-Jul-07 21:35
ekynox23-Jul-07 21:35 
QuestionRe: Video handling Pin
pavya_Cool23-Jul-07 22:22
pavya_Cool23-Jul-07 22:22 
AnswerRe: Video handling Pin
Pete O'Hanlon23-Jul-07 22:42
mvePete O'Hanlon23-Jul-07 22:42 
QuestionRe: Video handling [modified] Pin
pavya_Cool23-Jul-07 22:48
pavya_Cool23-Jul-07 22:48 
AnswerRe: Video handling Pin
Pete O'Hanlon23-Jul-07 23:24
mvePete O'Hanlon23-Jul-07 23:24 
QuestionRe: Video handling Pin
pavya_Cool24-Jul-07 0:03
pavya_Cool24-Jul-07 0:03 
AnswerRe: Video handling Pin
Pete O'Hanlon24-Jul-07 0:39
mvePete O'Hanlon24-Jul-07 0:39 
QuestionRe: Video handling Pin
pavya_Cool24-Jul-07 0:57
pavya_Cool24-Jul-07 0:57 

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.