Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. MDI Child form loading and flickering issue...

MDI Child form loading and flickering issue...

Scheduled Pinned Locked Moved C#
helpcssdatabase
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tej Aj
    wrote on last edited by
    #1

    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 !!!!!!!!

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups