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. Windows Forms
  4. Custom Control in Toolbox

Custom Control in Toolbox

Scheduled Pinned Locked Moved Windows Forms
helpquestionlearning
3 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.
  • Y Offline
    Y Offline
    yanairon
    wrote on last edited by
    #1

    Hi everyone, i've been facing this problem for some time now, hope someone could answer.. I have a user control A i wish to supply others, which wraps another Control B. i want users to be able to put my control in the toolbox and use it. to compile it they don't need assembly B, only for runtime. but... if i want to add A, i have to add B first for some reason, and when i drag A to the canvas, a reference to B is added automatically (!?) of course - when manually removing reference to B everything is working, but i don't want this kind of behavior. Is there anything i can do? Thanks a lot Yanai

    M 1 Reply Last reply
    0
    • Y yanairon

      Hi everyone, i've been facing this problem for some time now, hope someone could answer.. I have a user control A i wish to supply others, which wraps another Control B. i want users to be able to put my control in the toolbox and use it. to compile it they don't need assembly B, only for runtime. but... if i want to add A, i have to add B first for some reason, and when i drag A to the canvas, a reference to B is added automatically (!?) of course - when manually removing reference to B everything is working, but i don't want this kind of behavior. Is there anything i can do? Thanks a lot Yanai

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      yanairon wrote:

      I have a user control A i wish to supply others, which wraps another Control B.

      Is this control B written by you or part of .Net SDK or you have the source code of it?

      Y 1 Reply Last reply
      0
      • M Manas Bhardwaj

        yanairon wrote:

        I have a user control A i wish to supply others, which wraps another Control B.

        Is this control B written by you or part of .Net SDK or you have the source code of it?

        Y Offline
        Y Offline
        yanairon
        wrote on last edited by
        #3

        It's a 3rd party product which i have the code for

        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