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. SCSF performance...

SCSF performance...

Scheduled Pinned Locked Moved C#
cssperformancehelptutorialquestion
2 Posts 2 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.
  • S Offline
    S Offline
    Seishin
    wrote on last edited by
    #1

    Hi! in one of projects i load a View with about 10 textboxes and a bit less comboboxes placed on a tablelayoutpanel databound to a dataset. the problem is that while loading the View it flickers a lot. like redrawing all of these controls a few times - looks quite disturbing.. i tried SuspendLayout of the main form while loading the control but did't seem to solve the problem.. anybody have any ideas how to get rid of the flickering?? (tried View's doublebuffered = true too..)

    life is study!!!

    L 1 Reply Last reply
    0
    • S Seishin

      Hi! in one of projects i load a View with about 10 textboxes and a bit less comboboxes placed on a tablelayoutpanel databound to a dataset. the problem is that while loading the View it flickers a lot. like redrawing all of these controls a few times - looks quite disturbing.. i tried SuspendLayout of the main form while loading the control but did't seem to solve the problem.. anybody have any ideas how to get rid of the flickering?? (tried View's doublebuffered = true too..)

      life is study!!!

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      Hi, two ideas: 1. I dont think SuspendLayout gets propagated to the form's children; so it stops the form relayouting its direct Controls, but it does not stop those Children from relayouting or repainting themselves when they feel like doing that. 2. For some controls there also is BeginUpdate/EndUpdate which stops the redrawing. Hope this helps.

      Luc Pattyn


      try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }


      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