private void HandleFieldSetupSelectedStratumChanged(FieldSetupStratum stratum)
        {
            if (stratum != null)
            {
                this._treeFieldWidget.SelectedItemsDataSource = stratum.SelectedTreeFields;
                this._treeFieldWidget.DataSource = stratum.UnselectedTreeFields;

                this._logFieldWidget.SelectedItemsDataSource = stratum.SelectedLogFields;
                this._logFieldWidget.DataSource = stratum.UnselectedLogFields;
            }
        }
 protected void CopyTreeFields(FieldSetupStratum from, FieldSetupStratum to)
 {
     //TODO comeback
     //foreach (TreeFieldSetupDO tf in from.SelectedTreeFields)
     //{
     //    if (!to.SelectedTreeFields.Contains(tf, TreeFieldComparer.GetInstance()))
     //    {
     //        TreeFieldSetupDO match = to.UnselectedTreeFields.Find((TreeFieldSetupDO t) => t.Field = tf.Field);
     //        if (match == null) continue;
     //        to.SelectedTreeFields.Add(match);
     //        to.UnselectedTreeFields.Remove(match);
     //    }
     //}
     //foreach (TreeFieldSetupDO tf in from.UnselectedTreeFields)
     //{
     //    if (!to.UnselectedTreeFields.Contains(tf, TreeFieldComparer.GetInstance()))
     //    {
     //        TreeFieldSetupDO match = to.SelectedTreeFields.Find((TreeFieldSetupDO t) => t.Field = tf.Field);
     //        if (match == null) continue;
     //        to.UnselectedTreeFields.Add(match);
     //        to.SelectedTreeFields.Remove(match);
     //    }
     //}
 }