private void LoadHawkeyeSettings(XmlNode node)
            {
                var children = node.ChildNodes.Cast <XmlNode>();

                if (children.Count() == 0)
                {
                    return;
                }

                var configurationNode = children.SingleOrDefault(n => n.Name == "configuration");

                if (configurationNode != null)
                {
                    LoadSettings(configurationNode, HawkeyeStoreKey);
                }

                var layoutNode = children.SingleOrDefault(n => n.Name == "layouts");

                if (layoutNode != null)
                {
                    LayoutManager.Load(layoutNode);
                }
            }
        private void LoadHawkeyeSettings(XmlNode node)
        {
            IEnumerable <XmlNode> children = node.ChildNodes.Cast <XmlNode>();

            if (!children.Any())
            {
                return;
            }

            XmlNode configurationNode = children.SingleOrDefault(n => n.Name == "configuration");

            if (configurationNode != null)
            {
                LoadSettings(configurationNode, DefaultConfigurationProvider.HawkeyeStoreKey);
            }

            XmlNode layoutNode = children.SingleOrDefault(n => n.Name == "layouts");

            if (layoutNode != null)
            {
                LayoutManager.Load(layoutNode);
            }
        }