diff options
| author | lempamo <[email protected]> | 2017-11-05 09:25:55 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-11-05 09:25:55 -0500 |
| commit | f0e2d14a959db1e5d35c4dc5f77ed3523c93200a (patch) | |
| tree | 7ae4244e5f5c3dc38f4b228f15efe4ea5be0fe3a /Histacom2.Engine/Template/DropDownOverlay.cs | |
| parent | 458cc4ee0dbc67f547ea851b5a67a88af119a4c0 (diff) | |
| parent | 55bc23bd3797debcfc461ef23df344d16212f235 (diff) | |
| download | histacom2-f0e2d14a959db1e5d35c4dc5f77ed3523c93200a.tar.gz histacom2-f0e2d14a959db1e5d35c4dc5f77ed3523c93200a.tar.bz2 histacom2-f0e2d14a959db1e5d35c4dc5f77ed3523c93200a.zip | |
Merge pull request #180 from Alex-TIMEHACK/master
ClassicTextBox and ClassicDropDown
Diffstat (limited to 'Histacom2.Engine/Template/DropDownOverlay.cs')
| -rw-r--r-- | Histacom2.Engine/Template/DropDownOverlay.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Histacom2.Engine/Template/DropDownOverlay.cs b/Histacom2.Engine/Template/DropDownOverlay.cs new file mode 100644 index 0000000..4d364d6 --- /dev/null +++ b/Histacom2.Engine/Template/DropDownOverlay.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Histacom2.Engine.Template +{ + public partial class DropDownOverlay : Form + { + public DropDownOverlay() + { + InitializeComponent(); + } + + private void outline_Paint(object sender, PaintEventArgs e) + { + e.Graphics.DrawRectangle(Pens.Black, 0, 0, outline.Width - 1, outline.Height - 1); // Draws a 1 pixel border around the dropdown's drop area! + if (SaveSystem.currentTheme != null) outline.BackColor = SaveSystem.currentTheme.threeDObjectsColor; + } + } +} |
