aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine/Paintbrush.cs
blob: 1b442bc00482dde8190b5ecc5e0a57cad9e137fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TimeHACK.Engine
{
    public class Paintbrush
    {

        public static void PaintClassicBorders(object sender, PaintEventArgs e, int borderwidth)
        {
            ControlPaint.DrawBorder(e.Graphics, ((Control)sender).ClientRectangle,
                SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset,
                SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset,
                SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset,
                SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset);
        }
    }
}