diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-16 15:23:34 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-16 15:23:34 +0200 |
| commit | 8c7cd405658cbe7e4d64be189549b8125300964f (patch) | |
| tree | 409ce325828c665bd0b285a09d40a5a924d73419 /src/GraphicObjects/TemplatedControl.cs | |
| parent | ea5ba40d536aa80b56db118c3e8e077790c24359 (diff) | |
Correct bug 'Instanciing from code instead of IML'
set currentInterface to default one if null
modifié : Crow.OpenTK.nuspec
modifié : src/CompilerServices/CompilerServices.cs
modifié : src/GraphicObjects/Container.cs
modifié : src/GraphicObjects/GraphicObject.cs
modifié : src/GraphicObjects/PrivateContainer.cs
modifié : src/GraphicObjects/TemplatedControl.cs
modifié : src/Interface.cs
Diffstat (limited to 'src/GraphicObjects/TemplatedControl.cs')
| -rw-r--r-- | src/GraphicObjects/TemplatedControl.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/GraphicObjects/TemplatedControl.cs b/src/GraphicObjects/TemplatedControl.cs index b77c89e3..02d6108a 100644 --- a/src/GraphicObjects/TemplatedControl.cs +++ b/src/GraphicObjects/TemplatedControl.cs @@ -36,12 +36,15 @@ namespace Crow #region CTOR public TemplatedControl () : base() { -// if (CurrentInterface.XmlLoading) -// return; - //loadTemplate (); } #endregion + internal protected override void initialize () + { + loadTemplate (); + base.initialize (); + } + string _template; string _itemTemplate; public Dictionary<string, ItemTemplate> ItemTemplates = new Dictionary<string, Crow.ItemTemplate>();//TODO: dont instantiate if not used |