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. Controls Flicker(Please Help If You Have Solution)

Controls Flicker(Please Help If You Have Solution)

Scheduled Pinned Locked Moved C#
help
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.
  • N Offline
    N Offline
    Navees Ahmed
    wrote on last edited by
    #1

    Hi I have a panel on FormA which contain different controls like labels, buttons etc. I am opening another FormB by clicking on buttonA(which is on panel with other controls). FormB display on panel, when i close FormB then controls(labels which contain text) on panel flicker. can any one have solution for this problem. Thanks navees

    S 1 Reply Last reply
    0
    • N Navees Ahmed

      Hi I have a panel on FormA which contain different controls like labels, buttons etc. I am opening another FormB by clicking on buttonA(which is on panel with other controls). FormB display on panel, when i close FormB then controls(labels which contain text) on panel flicker. can any one have solution for this problem. Thanks navees

      S Offline
      S Offline
      sreejith ss nair
      wrote on last edited by
      #2

      You have two forms over here in your application. The second form display on click event of some controls, which is available in first form. Am i right so far ?. If so, Probabily you will be doing any custom panel paint or default. If you are doing custom painting then try to impliment Double Buffering techinicsin your paint event handler. If not, insted of repainitng (form itself will do repainting when you chnage the status of container controls), only try to Invalidate contained controls which are really nessasary to paint. Note : (1) Double Buffering. (2) Control Invalidating. Please do little home work on the above mentioned ideas. Sreejith Nair [ My Articles ]

      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