aboutsummaryrefslogtreecommitdiff
path: root/Histacom2.Engine/UI
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-09-20 11:02:43 -0400
committerlempamo <[email protected]>2017-09-20 11:02:43 -0400
commit2968c39415d6f4ea4db275d1fc12861843616ae9 (patch)
tree5d24deeba37d3974a0e578a36cbcd508f49dfe8b /Histacom2.Engine/UI
parent1733261571c06226b44374ef658de0f062cef08b (diff)
downloadhistacom2-2968c39415d6f4ea4db275d1fc12861843616ae9.tar.gz
histacom2-2968c39415d6f4ea4db275d1fc12861843616ae9.tar.bz2
histacom2-2968c39415d6f4ea4db275d1fc12861843616ae9.zip
more 12padams stuff
Diffstat (limited to 'Histacom2.Engine/UI')
-rw-r--r--Histacom2.Engine/UI/ClassicButton.cs23
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);