Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
How to Implement form Load Complete event in c# ???
My windows application takes time to load form.
So whenever load event is finished
Load_Complete event should called.
 
Thanks in advance
Posted 2-Mar-10 22:12pm
Khaniya4.1K
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

There is another event that you can handle: Form.Shown.
 
This is fired when your Form is actually shown, well after the Form.Load event.
 
There is a recent article about this here:
 
Immediate display of WinForms using the Shown() event[^]
 
Nick
  Permalink  
Comments
Casper Li at 21-Mar-14 13:37pm
   
The Shown event seems not workable... How can I close the loading page after the main program page having been completely loaded? Thank you. (Using Visual Studio C++ 2010)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

The form will be completely loaded at the end of the event handler for the Load event.
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

like what aspdotnetdev said you can call the function you want in the end of loading event function
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Shai Vashdi 540
1 Tadit Dash 305
2 Sergey Alexandrovich Kryukov 250
3 Peter Leow 190
4 OriginalGriff 148
0 Sergey Alexandrovich Kryukov 9,395
1 OriginalGriff 5,473
2 Peter Leow 4,150
3 Maciej Los 3,540
4 Abhinav S 3,333


Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 3 Mar 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid