public void Init(RibbonForm1 parent) { _parent = parent; personsGrid.DataSource = _fm.GetPersons().Values.Select(x => new PersonAdapter{ PersonID = x.Id, PersonName = x.DisplayName }).ToList(); personsView.RefreshData(); }
public void Init(RibbonForm1 ribbonForm) { _ribbonForm = ribbonForm; RefreshPictureGrid(); }
public void Init(RibbonForm1 parent, List<Tuple<int /* face ukey */, double /* distance */>> matches) { if (_mode != 1) throw new ApplicationException("programming error"); _parent = parent; RefreshPictureGrid(matches.OrderBy(x=>x.Item2).ToList()); }
public void Init(RibbonForm1 parent, List<int> faceUKeys) { _parent = parent; RefreshPictureGrid(faceUKeys); }