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. hidden code at desgin time

hidden code at desgin time

Scheduled Pinned Locked Moved C#
5 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.
  • S Offline
    S Offline
    SVb net
    wrote on last edited by
    #1

    i need to make hard code in initialize of control or new method. but my code not execute at desgin time and execute in runtime

    123

    G R L 3 Replies Last reply
    0
    • S SVb net

      i need to make hard code in initialize of control or new method. but my code not execute at desgin time and execute in runtime

      123

      G Offline
      G Offline
      Gareth H
      wrote on last edited by
      #2

      SVb.net, Sorry, don't understand what your asking. Regards, Gareth.

      1 Reply Last reply
      0
      • S SVb net

        i need to make hard code in initialize of control or new method. but my code not execute at desgin time and execute in runtime

        123

        R Offline
        R Offline
        Ravenet
        wrote on last edited by
        #3

        Yes PUT like this #DESIGN .................. #ENDDESIGN may be name is incorrect, but syntax is correct. just use this and define ur code two flow.

        Cheers,Earn and Enjoy RRave MCTS,MCPD

        G 1 Reply Last reply
        0
        • R Ravenet

          Yes PUT like this #DESIGN .................. #ENDDESIGN may be name is incorrect, but syntax is correct. just use this and define ur code two flow.

          Cheers,Earn and Enjoy RRave MCTS,MCPD

          G Offline
          G Offline
          Gareth H
          wrote on last edited by
          #4

          If the above is correct, you want regions. Regards, Gareth.

          1 Reply Last reply
          0
          • S SVb net

            i need to make hard code in initialize of control or new method. but my code not execute at desgin time and execute in runtime

            123

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

            have a look at Control.DesignMode property then. :)

            Luc Pattyn [Forum Guidelines] [My Articles]


            This month's tips: - before you ask a question here, search CodeProject, then Google; - the quality and detail of your question reflects on the effectiveness of the help you are likely to get; - use PRE tags to preserve formatting when showing multi-line code snippets.


            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