aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Label.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/Label.cs
parente3c509d4a9a27f663a3a95ab697bfdb2e880172d (diff)
- test with both parameterless ctor and with iface param ctorInCodeInstatiation
- CurrentInterface as field
Diffstat (limited to 'src/GraphicObjects/Label.cs')
-rw-r--r--src/GraphicObjects/Label.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/GraphicObjects/Label.cs b/src/GraphicObjects/Label.cs
index e477c3f6..7c7c584c 100644
--- a/src/GraphicObjects/Label.cs
+++ b/src/GraphicObjects/Label.cs
@@ -38,15 +38,17 @@ namespace Crow
public class Label : GraphicObject
{
#region CTOR
- public Label()
- {
+ public Label () : base(){}
- }
- public Label(string _text)
- : base()
+ public Label(Interface iface) : base(iface)
{
- Text = _text;
+
}
+// public Label(string _text)
+// : base()
+// {
+// Text = _text;
+// }
#endregion
public event EventHandler<TextChangeEventArgs> TextChanged;