diff options
| author | Alex-TIMEHACK <[email protected]> | 2017-11-04 08:51:38 +0000 |
|---|---|---|
| committer | Alex-TIMEHACK <[email protected]> | 2017-11-04 08:51:38 +0000 |
| commit | 2a473d05a34afe51cf0f5340cbdd48ad4e771657 (patch) | |
| tree | cb56388b842b65876e237c957b33c71ca31d1836 /Histacom2.Engine/Template/DropDownOverlay.cs | |
| parent | 81cde79fccd0b46e5af1109968f16f5249b27555 (diff) | |
| download | histacom2-2a473d05a34afe51cf0f5340cbdd48ad4e771657.tar.gz histacom2-2a473d05a34afe51cf0f5340cbdd48ad4e771657.tar.bz2 histacom2-2a473d05a34afe51cf0f5340cbdd48ad4e771657.zip | |
ClassicDropDown + ClassicTextBox!
Finally! It only took 2 months...
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; + } + } +} |
