private void HandleConnectionStateChanged (object sender, ConnectionStateChangedArgs args)
 {
     UpdateActions ();
 }
 private void HandleConnectionStateChanged (object sender, ConnectionStateChangedArgs args)
 {
     if (args.State == ConnectionState.Connected) {
         ThreadAssist.ProxyToMain (delegate {
             if (lastfm != null && lastfm.Account != null) {
                 UpdateForUser (lastfm.Account.UserName);
             }
         });
     }
 }
Exemple #3
0
 private void HandleConnectionStateChanged(object sender, ConnectionStateChangedArgs args)
 {
     UpdateUI (args.State);
 }