aboutsummaryrefslogtreecommitdiff
path: root/TimeHACK.Engine/Paintbrush.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-07-02 03:09:14 +0000
committerGitHub <[email protected]>2017-07-02 03:09:14 +0000
commitb8f49e9a20a43a72fe6895741f5fe7207151eb95 (patch)
treee533069e097f4da27a73ef5409f44af4b07a92a0 /TimeHACK.Engine/Paintbrush.cs
parent19ca07404ca7decbec3215b5522554a4f7077879 (diff)
parent82af186d5140e878f6b49bc101112550d36bc78a (diff)
downloadhistacom2-b8f49e9a20a43a72fe6895741f5fe7207151eb95.tar.gz
histacom2-b8f49e9a20a43a72fe6895741f5fe7207151eb95.tar.bz2
histacom2-b8f49e9a20a43a72fe6895741f5fe7207151eb95.zip
Merge pull request #104 from lempamo/master
paintbrush
Diffstat (limited to 'TimeHACK.Engine/Paintbrush.cs')
-rw-r--r--TimeHACK.Engine/Paintbrush.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/TimeHACK.Engine/Paintbrush.cs b/TimeHACK.Engine/Paintbrush.cs
new file mode 100644
index 0000000..b343100
--- /dev/null
+++ b/TimeHACK.Engine/Paintbrush.cs
@@ -0,0 +1,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);
+ }
+ }
+}