Ejemplo n.º 1
0
 private void buttonAddListMember_Click(object sender, RoutedEventArgs e)
 {
     if (comboBoxAccounts.comboBoxAccounts.SelectedItem != null)
     {
         AccountTwitter selectedAccount = comboBoxAccounts.comboBoxAccounts.SelectedItem as AccountTwitter;
         if (selectedAccount != null)
         {
             SearchUser userSearchWindows = new SearchUser(selectedAccount, true);
             userSearchWindows.SearchSuccess += new SearchUser.SearchSuccessEventHandler(userSearchWindows_SearchSuccess);
             userSearchWindows.Show();
         }
     }
 }
Ejemplo n.º 2
0
 private void buttonOpenUserSearch_Click(object sender, RoutedEventArgs e)
 {
     if (AppController.Current.AllTwitterAccounts.Count > 0)
     {
         // xxx was, wenn erster nicht Twitter bzw. generell was ist mit Suche in Facebook...?
         AccountTwitter           account    = AppController.Current.AllTwitterAccounts[0] as AccountTwitter;
         UserInterface.SearchUser searchUser = new SearchUser(account, false);
         searchUser.Width  = this.Width;
         searchUser.Height = this.Height;
         searchUser.Top    = this.Top;
         searchUser.Left   = this.Left;
         searchUser.Show();
         this.Close();
     }
 }