protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
if (table != null)
if (column == table.lastSortedColumn)
{
switch (lastSortDirection)
{
case ListSortDirection.Ascending:
e.Graphics.DrawTexture(ApplicationBehaviour.Resources.Images.ArrowUp, 8, Height / 2 - 4, 8, 8, Color.Gray);
break;
case ListSortDirection.Descending:
e.Graphics.DrawTexture(ApplicationBehaviour.Resources.Images.ArrowDown, 8, Height / 2 - 4, 8, 8, Color.Gray);
break;
}
}
}