protected override void OnPaint(PaintEventArgs e)
{
using (Brush brush = new SolidBrush(this.TransparencyKey)) {
e.Graphics.FillRectangle(brush, new Rectangle(0, 0, this.Width, this.Height));
}
using (Brush brush = new SolidBrush(Color.Black)) {
for (int y = 0; y < this.Height; y += actualHUD.TaskSize + actualHUD.VerticalPadding) {
e.Graphics.FillRectangle(brush, new Rectangle(0, y, this.Width, actualHUD.TaskSize));
}
}
}