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

C#

 
QuestionMDI Child form loading and flickering issue... Pin
Tej Aj3-Mar-09 20:32
Tej Aj3-Mar-09 20:32 
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 !!!!!!!!
QuestionSave Image as pdf file Pin
Feddo043-Mar-09 20:17
Feddo043-Mar-09 20:17 
AnswerRe: Save Image as pdf file Pin
stancrm3-Mar-09 20:19
stancrm3-Mar-09 20:19 
QuestionRe: Save Image as pdf file Pin
Feddo043-Mar-09 20:48
Feddo043-Mar-09 20:48 
AnswerRe: Save Image as pdf file Pin
Shyam K Pananghat4-Mar-09 0:36
Shyam K Pananghat4-Mar-09 0:36 
GeneralRe: Save Image as pdf file Pin
Feddo044-Mar-09 5:53
Feddo044-Mar-09 5:53 
QuestionNeed to disable Right Click Pin
honeyashu3-Mar-09 20:13
honeyashu3-Mar-09 20:13 
AnswerRe: Need to disable Right Click Pin
stancrm3-Mar-09 20:18
stancrm3-Mar-09 20:18 
GeneralRe: Need to disable Right Click Pin
honeyashu3-Mar-09 20:25
honeyashu3-Mar-09 20:25 
GeneralRe: Need to disable Right Click Pin
stancrm3-Mar-09 20:33
stancrm3-Mar-09 20:33 
QuestionNested Query Pin
Sajjad Leo3-Mar-09 19:17
Sajjad Leo3-Mar-09 19:17 
AnswerRe: Nested Query Pin
ABitSmart3-Mar-09 19:51
ABitSmart3-Mar-09 19:51 
GeneralRe: Nested Query Pin
Sajjad Leo3-Mar-09 20:10
Sajjad Leo3-Mar-09 20:10 
AnswerRe: Nested Query Pin
Christian Graus3-Mar-09 20:02
protectorChristian Graus3-Mar-09 20:02 
GeneralRe: Nested Query Pin
Sajjad Leo3-Mar-09 20:07
Sajjad Leo3-Mar-09 20:07 
GeneralRe: Nested Query Pin
Christian Graus3-Mar-09 21:09
protectorChristian Graus3-Mar-09 21:09 
AnswerRe: Nested Query Pin
Tej Aj3-Mar-09 20:16
Tej Aj3-Mar-09 20:16 
GeneralRe: Nested Query Pin
Sajjad Leo3-Mar-09 20:22
Sajjad Leo3-Mar-09 20:22 
GeneralRe: Nested Query [modified] Pin
Tej Aj3-Mar-09 20:31
Tej Aj3-Mar-09 20:31 
GeneralRe: Nested Query Pin
Sajjad Leo3-Mar-09 20:43
Sajjad Leo3-Mar-09 20:43 
GeneralRe: Nested Query Pin
Tej Aj3-Mar-09 20:54
Tej Aj3-Mar-09 20:54 
GeneralRe: Nested Query Pin
Sajjad Leo3-Mar-09 22:29
Sajjad Leo3-Mar-09 22:29 
Question[Message Deleted] Pin
Prajeesh3-Mar-09 19:03
Prajeesh3-Mar-09 19:03 
AnswerRe: Popup Menu from a button Pin
Christian Graus3-Mar-09 19:43
protectorChristian Graus3-Mar-09 19:43 
GeneralRe: Popup Menu from a button Pin
Shyam K Pananghat3-Mar-09 20:56
Shyam K Pananghat3-Mar-09 20: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.