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. Slowish visiualisation with winform

Slowish visiualisation with winform

Scheduled Pinned Locked Moved C#
csharphelp
3 Posts 3 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.
  • B Offline
    B Offline
    BadKarma
    wrote on last edited by
    #1

    Please prove me wrong, cause i'm starting to hate dislike c# more and more:mad: I have a simple winform. On that winform i got arround twenty controls (10 labels and 10 textboxes). At startup they are all hidden, at some point in time i need to show them all. It is here where the horror strikes me. It is so SLOW. You can literaly see the form being drawn. Its even wors when i use a background image. After googling (yep i'm a pro;P) i tried to apply double buffering, but this doesn't help at all, one can still see the form being drawn. How do you desing nice looking forms without this slow painting of the controls. :(

    codito ergo sum

    B 1 Reply Last reply
    0
    • B BadKarma

      Please prove me wrong, cause i'm starting to hate dislike c# more and more:mad: I have a simple winform. On that winform i got arround twenty controls (10 labels and 10 textboxes). At startup they are all hidden, at some point in time i need to show them all. It is here where the horror strikes me. It is so SLOW. You can literaly see the form being drawn. Its even wors when i use a background image. After googling (yep i'm a pro;P) i tried to apply double buffering, but this doesn't help at all, one can still see the form being drawn. How do you desing nice looking forms without this slow painting of the controls. :(

      codito ergo sum

      B Offline
      B Offline
      Bhupi Bhai
      wrote on last edited by
      #2

      I think you are doing some more functionality along with hiding and showing controls on your form, cause I created a simple win form with 10 labels and 10 textboxes, made them visible false and on click of a button I made them visible true. Did not find any speed issues. I guess it's more related to your machine configuration, nothing to dislike C#. Regards, Bhupi Bhai.

      I 1 Reply Last reply
      0
      • B Bhupi Bhai

        I think you are doing some more functionality along with hiding and showing controls on your form, cause I created a simple win form with 10 labels and 10 textboxes, made them visible false and on click of a button I made them visible true. Did not find any speed issues. I guess it's more related to your machine configuration, nothing to dislike C#. Regards, Bhupi Bhai.

        I Offline
        I Offline
        Insincere Dave
        wrote on last edited by
        #3

        Try calling SuspendLayout() showing the controls then calling ResumeLayout().

        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