private void DoComAddPers() { TPers[] ls = FNewClipboard.GetPersList(this); if (ls != null) { AddPers(ls); } }
public static TPers[] GetPersList(TSetting set) { FNewClipboard fm = new FNewClipboard(); fm.Core.Parent = set; fm.Owner = App.Current.MainWindow; if (fm.ShowDialog() == true) { return(fm.Core.List); } else { return(null); } }