F
foldface
Hi
Sorry, don't know how to phrase the question any better.
Within Visual Studio I have a style sheet that being dynamically
added to the code, i.e. not via the html page. I want to place this
within
a html page so that the VS designer can see the style sheet but the
running
executable can't
#ifdef RUNNING_IN_VS
// include the style sheet
#endif
I also want to do the same thing within user controls. If their
running
in an executable I want them to do different things compared to if
their
having their properties examined via the call:
ComponentDesigner::InitializeInheritedProperties
I can think of contrived ways of doing this, having a UserControl
with a
property 'Running' which the executable sets but obviously VS won't
but I'd rather a cleaner way of doing it.
Thanks
F
Sorry, don't know how to phrase the question any better.
Within Visual Studio I have a style sheet that being dynamically
added to the code, i.e. not via the html page. I want to place this
within
a html page so that the VS designer can see the style sheet but the
running
executable can't
#ifdef RUNNING_IN_VS
// include the style sheet
#endif
I also want to do the same thing within user controls. If their
running
in an executable I want them to do different things compared to if
their
having their properties examined via the call:
ComponentDesigner::InitializeInheritedProperties
I can think of contrived ways of doing this, having a UserControl
with a
property 'Running' which the executable sets but obviously VS won't
but I'd rather a cleaner way of doing it.
Thanks
F