diff options
Diffstat (limited to 'Histacom2.Engine/UI/ClassicButton.cs')
| -rw-r--r-- | Histacom2.Engine/UI/ClassicButton.cs | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/Histacom2.Engine/UI/ClassicButton.cs b/Histacom2.Engine/UI/ClassicButton.cs index 027d198..29b3a3b 100644 --- a/Histacom2.Engine/UI/ClassicButton.cs +++ b/Histacom2.Engine/UI/ClassicButton.cs @@ -15,26 +15,17 @@ namespace Histacom2.Engine.UI private bool _pressing = false; - public DialogResult DialogResult - { - get - { - throw new NotImplementedException(); - } - - set - { - throw new NotImplementedException(); - } - } + public DialogResult DialogResult { get; set; } - public bool AdaptBackColorWithTheme = true; - public bool AdaptForeColorWithTheme = true; - public bool AdaptFontWithTheme = true; + public bool AdaptBackColorWithTheme { get; set; } + public bool AdaptForeColorWithTheme { get; set; } + public bool AdaptFontWithTheme { get; set; } public ClassicButton() : base() { - + AdaptBackColorWithTheme = true; + AdaptForeColorWithTheme = true; + AdaptFontWithTheme = true; if (SaveSystem.currentTheme != null) BackColor = SaveSystem.currentTheme.threeDObjectsColor; else BackColor = Color.Silver; _lightBack = ControlPaint.Light(BackColor, 50); |
