diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-01-30 00:28:05 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-01-30 00:28:05 +0100 |
| commit | c29275576f75534c9fd109b3d3717ab52ec8415b (patch) | |
| tree | 2bb12851411af33988a43ea9a35bfe4ee34eba83 /src/GraphicObjects/Label.cs | |
| parent | e3c509d4a9a27f663a3a95ab697bfdb2e880172d (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.cs | 14 |
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; |