aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Container.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-26 12:47:39 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2018-02-26 12:47:39 +0100
commit225d8384090e77e6099010fdb0dfb474ab5c9a8f (patch)
tree2681a1105edac064f2cfbf53d9a1d0aee04d7de8 /src/GraphicObjects/Container.cs
parent57f94308df1d6c5ac4b4c94df47ba57a955b365d (diff)
in design saving of GraphicObject
Diffstat (limited to 'src/GraphicObjects/Container.cs')
-rw-r--r--src/GraphicObjects/Container.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/GraphicObjects/Container.cs b/src/GraphicObjects/Container.cs
index fedee0af..364bad83 100644
--- a/src/GraphicObjects/Container.cs
+++ b/src/GraphicObjects/Container.cs
@@ -38,6 +38,18 @@ namespace Crow
/// </summary>
public class Container : PrivateContainer
{
+ #if DESIGN_MODE
+ public override void getIML (System.Xml.XmlDocument doc, System.Xml.XmlNode parentElem)
+ {
+ if (this.design_isTGItem)
+ return;
+ base.getIML (doc, parentElem);
+ if (child == null)
+ return;
+ child.getIML (doc, parentElem.LastChild);
+ }
+ #endif
+
#region CTOR
protected Container() : base(){}
public Container (Interface iface) : base(iface){}