private void drawCheckBox(ListView listView, ListViewItem.ListViewSubItem subItem, bool isChecked)
{
Graphics graph = listView.CreateGraphics();
Image icon = getCheckBoxImage(isChecked);
Brush brush = new SolidBrush(subItem.BackColor);
graph.FillRectangle(brush, subItem.Bounds.X + 1, subItem.Bounds.Y + 1, subItem.Bounds.Width - 2, subItem.Bounds.Height - 2);
graph.DrawImage(icon, new Point(subItem.Bounds.X + 5, subItem.Bounds.Y));
graph.Dispose();
}