class MyControl : Control
{
protected override void OnPaint(PaintEventArgs pArgs)
{
e.Graphics.DrawRectangle(SystemPens.Control, new Rectangle(0,0, 20,20));
}
}
Best regards.
Flexible TreeView - the most flexible treeview-listview-grid hybrid control for .NET!