Border on panel

  • Thread starter Thread starter Beorne
  • Start date Start date
B

Beorne

I'm programming a Windows CE application with C# using MsVS2005 and I
can't design a simple border around some controls in my Form.
Neither the class System.Windows.Forms.GroupBox nor the attribute
BorderStyle of the class Panel do exist in compact framework.
How could I do?

Thank you
 
Hi,

You have two solutions :

- in OpenNetCF, you have a groupBox component

- create your custom component, it is not very complicate, you inherit
form panel, and override the OnPaint method and draw a rectangle around
the panel.


BR


Fabien Decret
Windows Embedded Consultant


ADENEO (ADESET)
http://www.adeneo.adetelgroup.com/




Beorne a écrit :
 
I have created my custom panel component, but now I don't know how
toput it in the toolbox ...
 
Back
Top