2017-07-01 22:36:17 -04:00
|
|
|
|
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
|
|
|
|
|
{
|
2017-07-01 22:49:31 -04:00
|
|
|
|
|
2017-07-01 23:02:34 -04:00
|
|
|
|
public static void paintClassicBorders(object sender, PaintEventArgs e, int borderwidth)
|
2017-07-01 22:49:31 -04:00
|
|
|
|
{
|
2017-07-01 22:36:17 -04:00
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|