private void lsvMods_DrawItem(object sender, DrawListViewItemEventArgs e)
{
e.DrawDefault = true;
if (e.Item.Index != -1)
{
if (lsvMods.Enabled)
e.DrawBackground();
if ((e.State & ListViewItemStates.Selected) > 0)
{
Color c = Color.FromKnownColor(KnownColor.Highlight);
Brush brush = new LinearGradientBrush(e.Bounds, c, c, LinearGradientMode.Horizontal);
e.Graphics.FillRectangle(brush, e.Bounds);
}
}
}