Merging namespaces as one

Is it possible to merge multiple namespaces as one The reason I want to do this is because I want to inherit someone elses control, but use my own namespace. Using my own namespace stops the UI design tools from working. What I need is to be able to make C# think my control exists within the other name space, while still existing in my namespace. Maybe I'm asking for to much.

Answer this question

Merging namespaces as one

  • Liping Zhu

    In that case, why not change the namespace name to something completely different

  • Anatoliy Mogylevets

    Oh, OK. Then you can just change the namespace of the control before compiling it. I thought it was an external project for which you only had a dll.



  • Mary Rabi

    The control I'm trying to extend is the XPExplorerBar found at http://www.codeproject.com/cs/miscctrl/XPTaskBar.asp#xxxx.
  • DarSev

    I was hoping to keep it unchanged so that my code is independant to any code changes or updates made to any 3rd party controls.
  • computer tech austin

    Namespaces exist to create seperation. You can't fool the IDE into thinking one namespace is the same as another, although you can use a using statement to make a namespace part of local scope, obviously.



  • Merging namespaces as one