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. Custom Control at Design Time

Custom Control at Design Time

Scheduled Pinned Locked Moved C#
designquestion
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.
  • I Offline
    I Offline
    Itanium
    wrote on last edited by
    #1

    Hi!!! i have created a custom text Box inherited from TextBox Class. When I drag 'n' drop it from toolbox to Form. It shoes wait cursor and nothing happens :confused: . But creating at runtime works fine....any hints??? sorry for my bad English.

    D 1 Reply Last reply
    0
    • I Itanium

      Hi!!! i have created a custom text Box inherited from TextBox Class. When I drag 'n' drop it from toolbox to Form. It shoes wait cursor and nothing happens :confused: . But creating at runtime works fine....any hints??? sorry for my bad English.

      D Offline
      D Offline
      Don_s
      wrote on last edited by
      #2

      You may have included some code that causes an infinite loop or the like at design time. Check your code for anything that relies on something that only exists at runtime. You can then do some logic arounbd this checking for whether it is designtime or runtime.if(!this.DesignMode) { this.DoSomething(); }
      Let me know if you need more info.

      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