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. UserControl as document in Visual Studio

UserControl as document in Visual Studio

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiowcfcomsysadmin
1 Posts 1 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.
  • B Offline
    B Offline
    BigBenDk
    wrote on last edited by
    #1

    Hi I am creating an addin for visual studio. It uses WCF services, and I would like to edit the objects as documents. This is somewhat similar to what the client of the Team Foundation Server does. I have created the toolboxes I need - partialy based on this two Code Project articles: http://www.codeproject.com/csharp/cpbrowser.asp and http://www.codeproject.com/WCF/WCF\_FileTransfer\_Progress.asp For the documents I have made a ToolWindow in the same way, by setting the Floating property to false. It is close to what I want. But it has drawbacks. I can't set the document as "changed", and therefore i can't use the save button, and the undo/redo, print buttons are also disabled. What I really want is to load a UserControl as a document - this seems like simple task, but I am lost here. I looked at the VSIP SDK - it has samples that are close, but they seem bound to specific fileextensions/files. When I load from a service, I don't have any elements in the loaded solution/projects. I can't believe it is that complicated.

    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