public KRSsendBack(int id, KRSItem krs) { this.id = id; this.krsitem = krs; }
private void krs_OnSearchSuccess(object sender, EventArgs e) { foreach (var krs in this.krs.KRSList) { var item = new KRSItem(); item.KRS = krs.KRS; item.Name = krs.Name; item.City = krs.City; item.URL = krs.URL; item.Members = krs.Members; item.Registry = krs.Registry; KRSItemList.Add(item); } if (KRSItemList.Count == 1) { SelectedKRSItem = KRSItemList[0]; } }