MDI Child form loading and flickering issue...
-
I am have an MDI application where I have several child forms that open under the parent MDI form. When the child form is opened in the MDI parent form it flickers. The child form has many controls on it which gets filled by querying from the database when the form loads. Also the child form has a grid displaying all the records from database. I am using dataset to fetch more than 2000 records from database and bind it to grid. I am having problem during loading of this form. I have tried using following to avoid form flickering: > DoubleBuffering technique > Using Datareader instead of Dataset for fetching records > Fetching records from database after form is loaded using Form_Shown() event and used BackgroundWorker to Asynchronously fetch records from database. Can anyone please help me out to avoid the form flickering issue. Thanks in advance !!!!!!!!