| Visual Basic (Declaration) | |
|---|---|
Sub DrawBorder( _ ByVal forControl As Control, _ ByVal pe As PaintEventArgs, _ ByVal style As EdgeStyle, _ ByVal edges As Edges _ ) | |
| C# | |
|---|---|
void DrawBorder( Control forControl, PaintEventArgs pe, EdgeStyle style, Edges edges ) | |
Parameters
- forControl
- The control the border is for.
- pe
- The OnPaint that should be used to paint.
- style
- Border style.
- edges
- Sides to paint border on.