void TreeChanged(object sender, DatEventArgs e) { ITreeDat tree = (ITreeDat)e.DatEntity; SetList.FilterReset(); SetList.LoadFilter = new SQLFilter(); SetList.LoadFilter.AddWhere(new FilterString("Parent_FP", tree.FP.ToString())); Refresh(); gridMain.captList.Caption = Caption + " [ветка '" + tree.Name + "']"; }