Exemple #1
0
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     if (SiteManager.Instance.ActiveSite != null)
     {
         AuthorizationWindow dlg = new AuthorizationWindow(SiteManager.Instance.ActiveSite);
         if (dlg.ShowDialog() == true)
         {
             SiteManager.Instance.ActiveSite.Token       = dlg.Token;
             SiteManager.Instance.ActiveSite.TokenSecret = dlg.TokenSecret;
         }
     }
 }
 private void Button_Click_1(object sender, RoutedEventArgs e)
 {
     if (SiteManager.Instance.ActiveSite != null)
     {
         AuthorizationWindow dlg = new AuthorizationWindow(SiteManager.Instance.ActiveSite);
         if (dlg.ShowDialog()==true)
         {
             SiteManager.Instance.ActiveSite.Token = dlg.Token;
             SiteManager.Instance.ActiveSite.TokenSecret = dlg.TokenSecret;
         }
     }
 }