private void _LoadRootPanel(XElement ele) { var rootNode = new PanelNode(null); rootNode.Load(ele); rootNode.ApplyLayout(this); rootNode.Dispose(); }
private void _LoadFloatWindows(XElement ele) { foreach (var item in ele.Elements()) { var node = item.Element("Panel"); if (node != null) { var panelNode = new PanelNode(null); panelNode.Load(node); panelNode.ApplyLayout(this, true); panelNode.Dispose(); } else { node = item.Element("Group"); var groupNode = new GroupNode(null); groupNode.Load(node); groupNode.ApplyLayout(this, true); groupNode.Dispose(); } } }