Пример #1
0
 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);
     }
 }
Пример #2
0
        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;
        }
Пример #3
0
 public virtual void AddListElements(List<string> nameList, Podaci podaci)
 {
 }