public void SetSettings(XmlNode settings)
        {
            Splits.Clear();
            XmlNodeList splitNodes = settings.SelectNodes(".//Splits/Split");

            foreach (XmlNode splitNode in splitNodes)
            {
                string    splitDescription = splitNode.InnerText;
                SplitName split            = SplitterSplitSettings.GetEnumValue <SplitName>(splitDescription);
                Splits.Add(split);
            }
        }
        public void UpdateSplits()
        {
            if (isLoading)
            {
                return;
            }

            Splits.Clear();
            foreach (Control control in flowMain.Controls)
            {
                if (control is SplitterSplitSettings)
                {
                    SplitterSplitSettings setting = (SplitterSplitSettings)control;
                    if (!string.IsNullOrEmpty(setting.cboSplit.Text))
                    {
                        Splits.Add(SplitterSplitSettings.GetEnumValue <SplitName>(setting.cboSplit.Text));
                    }
                }
            }
        }