diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-07-21 13:24:28 +0100 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-07-21 13:24:28 +0100 |
| commit | 75c05d35535267096b0c46e143be7a55bb21c9c4 (patch) | |
| tree | b9f175812ff8fde1f982ee0667a3853572ec8259 /TimeHACK.Engine/Paintbrush.cs | |
| parent | fee528f280640948216f41f0569c79a6552e61c7 (diff) | |
| parent | a42b7b8d3219f5df18721afdf88bddb8dd11d463 (diff) | |
| download | histacom2-75c05d35535267096b0c46e143be7a55bb21c9c4.tar.gz histacom2-75c05d35535267096b0c46e143be7a55bb21c9c4.tar.bz2 histacom2-75c05d35535267096b0c46e143be7a55bb21c9c4.zip | |
Update My Fork PART 2!!!
Diffstat (limited to 'TimeHACK.Engine/Paintbrush.cs')
| -rw-r--r-- | TimeHACK.Engine/Paintbrush.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/TimeHACK.Engine/Paintbrush.cs b/TimeHACK.Engine/Paintbrush.cs index 1b442bc..026e5d8 100644 --- a/TimeHACK.Engine/Paintbrush.cs +++ b/TimeHACK.Engine/Paintbrush.cs @@ -19,5 +19,14 @@ namespace TimeHACK.Engine SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset, SystemColors.ControlLightLight, borderwidth, ButtonBorderStyle.Outset); } + + public static void PaintClassicBordersIndented(object sender, PaintEventArgs e, int borderwidth) + { + ControlPaint.DrawBorder(e.Graphics, ((Control)sender).ClientRectangle, + SystemColors.ControlDarkDark, borderwidth, ButtonBorderStyle.Inset, + SystemColors.ControlDarkDark, borderwidth, ButtonBorderStyle.Inset, + SystemColors.ControlDarkDark, borderwidth, ButtonBorderStyle.Inset, + SystemColors.ControlDarkDark, borderwidth, ButtonBorderStyle.Inset); + } } } |
