aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Button.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-01-30 00:28:05 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-01-30 00:28:05 +0100
commitc29275576f75534c9fd109b3d3717ab52ec8415b (patch)
tree2bb12851411af33988a43ea9a35bfe4ee34eba83 /src/GraphicObjects/Button.cs
parente3c509d4a9a27f663a3a95ab697bfdb2e880172d (diff)
- test with both parameterless ctor and with iface param ctorInCodeInstatiation
- CurrentInterface as field
Diffstat (limited to 'src/GraphicObjects/Button.cs')
-rw-r--r--src/GraphicObjects/Button.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/GraphicObjects/Button.cs b/src/GraphicObjects/Button.cs
index 75f43014..4f791ed9 100644
--- a/src/GraphicObjects/Button.cs
+++ b/src/GraphicObjects/Button.cs
@@ -40,15 +40,15 @@ namespace Crow
{
public class Button : TemplatedContainer
{
+ #region CTOR
+ public Button() : base() {}
+ public Button (Interface iface) : base(iface){}
+ #endregion
+
string image;
bool isPressed;
Container _contentContainer;
- #region CTOR
- public Button() : base()
- {}
- #endregion
-
public event EventHandler Pressed;
public event EventHandler Released;