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. Size assignment to a control

Size assignment to a control

Scheduled Pinned Locked Moved C#
question
4 Posts 4 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.
  • E Offline
    E Offline
    eDip
    wrote on last edited by
    #1

    When is size assignment is done for the first time is done to a control?

    S D K 3 Replies Last reply
    0
    • E eDip

      When is size assignment is done for the first time is done to a control?

      S Offline
      S Offline
      Stanciu Vlad
      wrote on last edited by
      #2

      at the form constructor in InitComponents(),the windows designer handwork ;) I hope you understand... By the way... visit http://nehe.gamedev.net[^]

      1 Reply Last reply
      0
      • E eDip

        When is size assignment is done for the first time is done to a control?

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        Look in the "Windows Form Designer Generated Code" Region. You'll find all the properties, that are not default values, of your controls are set in there. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        1 Reply Last reply
        0
        • E eDip

          When is size assignment is done for the first time is done to a control?

          K Offline
          K Offline
          Ketty Avashia
          wrote on last edited by
          #4

          From Life Cycle point of view when the page's Initialise id called it in turn calls the init of all controls on that page. At this point the control is initialised with all its properties. And finally after all the controls the Page initialise gets over. Is this what u wanted. :confused: Ketty

          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