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. Visual Studio
  4. Controls in Toolbox

Controls in Toolbox

Scheduled Pinned Locked Moved Visual Studio
helpquestionannouncementworkspace
2 Posts 2 Posters 6 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.
  • K Offline
    K Offline
    Kastro
    wrote on last edited by
    #1

    I have a solution that contains two projects: a class library containing a couple of custom controls that inherit from Control and a windows app that has a Form to test the controls. The problem is that when designing the form, my custom controls do not appear in the list... I know that I can click "Customize toolbox," browse to the compiled library's dll and then check my controls. But doing it this way means that if I change my build configuration I have to redo everything to get it to use the right version of my control. The way I have done it for now is to add one of the System.Forms controls, edit the designer code to create an instance of my control instead, then go back to the designer to finish it up. This hardly seems to be the way you're supposed to do it though... Anyone have a tip for me? Thanks

    A 1 Reply Last reply
    0
    • K Kastro

      I have a solution that contains two projects: a class library containing a couple of custom controls that inherit from Control and a windows app that has a Form to test the controls. The problem is that when designing the form, my custom controls do not appear in the list... I know that I can click "Customize toolbox," browse to the compiled library's dll and then check my controls. But doing it this way means that if I change my build configuration I have to redo everything to get it to use the right version of my control. The way I have done it for now is to add one of the System.Forms controls, edit the designer code to create an instance of my control instead, then go back to the designer to finish it up. This hardly seems to be the way you're supposed to do it though... Anyone have a tip for me? Thanks

      A Offline
      A Offline
      Andres Manggini
      wrote on last edited by
      #2

      I'm fighting with the very same thing, if you find a solution, please let me know. Sorry didn't helped you out :) Andres Manggini. Buenos Aires - Argentina.

      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