Determine design time?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I am trying to subclass a Form and add a label with rotated text.

When I do that, I can no longer use the Form in the designer, because (evidently) using LogFont is too platform-specific.

What I need to do is hide my rotated text code from the designer, but (argh!) DesignMode is not available in the .NET Compact Framework!

Is there any way of separating design-time behavior from runtime behavior when using the Compact Framework?
.



Relevant Pages

  • Re: PRESS: CodeGear Q&A By Brendon Chase
    ... with DevStudio 2007, with no designer like you ... can use compact framework in BDS2006 ...
    (borland.public.delphi.non-technical)
  • Re: Custom Component.... still no success :(
    ... Yes but none for Compact Framework 2.0 with vs2005 ... CodeDomSerializer baseClassSerializer = ... trying to get the designer to add code to your class, ... There is plenty of documentation on how to do ...
    (microsoft.public.dotnet.framework.compactframework)
  • Designer support for DataSets
    ... I'm trying to get designer support in Compact Framework 1SP2 to work. ... What I want is to see at designtime how the bindings in the controls ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: UserControl mit Container
    ... Wenn ich dieses Control in einer Form platziere soll es weitere z.B. Label aufnehmen. ... Wie gesagt, der Label soll nicht in der Controls-Liste vom Usercontrol selbst, sondern in dessen pan_Container aufgenommen werden. ... Irgendwelchen Code brauchst Du ... Das erledigt der Designer. ...
    (microsoft.public.de.german.entwickler.dotnet.vb)
  • Re: Printing on a Zebra Z4M barcode printer.
    ... and one component of it is label designer. ... not write it as Windows printer driver, beacuse XPack need feedback from ... > I used a barcode printer some time ago that used some template design ...
    (microsoft.public.dotnet.framework.windowsforms)