SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Browse by Tags

All Tags » Addin » Command (RSS)
  • Save but not SaveAs

    Hi, I'm working on an addin that edit some data, this data is edited in a ViewContent. I want to allow the Save command (menu and toolstrip button) to work but not the SaveAs how can I do this? My addin support the IsDirty and has the IsUntitled=false Also the data is not in a file so I don't want the...
    Posted to Forum by smoldok on 02-28-2007
    Filed under: Addin, Command
  • Adding new items to existing project in an Addin

    Hi. I want to write an addin command that adds a file to a project. The code I tried didn't work: IProject p = ProjectService.CurrentProject; ProjectItem pi = new FileProjectItem(p, ItemType.Content); pi.Include = filename; pi.FileName = filename; p.Items.Add(pi); p.IsDirty = true where "filename"...
    Posted to Forum by itaibh on 10-27-2006
    Filed under: Addin, Project, Command, Item
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.