public override void AddListElements(List<string> nameList, Podaci podaci) { try { foreach (var friend in podaci.PpijFriends) { nameList.Add(friend.Name); } } catch(Exception e) { Console.WriteLine("ListBoxPoly " + e); } }
private void InitializeConnections() { Thread _thread = Thread.CurrentThread; this.DataContext = new { ThreadID = _thread.ManagedThreadId }; podaci = new Podaci(); facebookConnection = new FacebookConnection(); twitterConnection = new TwitterConnection(); ppijConnection = new PpijBoardConnection(); Podaci.uriTwitter = twitterConnection.gettwitterURI; this.DataContext = podaci; }
public virtual void AddListElements(List<string> nameList, Podaci podaci) { }