mirror of
https://github.com/ShiftOS-Rewind/ShiftOS.git
synced 2025-02-02 05:47:34 +00:00
c81573594f
Git had a horrible seizure and removed our repo but Alex-TIMEHACK helped us get it back.
21 lines
565 B
C#
21 lines
565 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace ShiftOS.Engine.UI
|
|
{
|
|
public class ShiftStripRenderer : ToolStripProfessionalRenderer
|
|
{
|
|
protected override void OnRenderLabelBackground(ToolStripItemRenderEventArgs e)
|
|
{
|
|
using (var b = new SolidBrush(e.Item.BackColor))
|
|
{
|
|
e.Graphics.FillRectangle(b, new Rectangle(Point.Empty, e.Item.Size));
|
|
}
|
|
}
|
|
}
|
|
}
|