private void HandleConnectionStateChanged (object sender, ConnectionStateChangedArgs args)
 {
     UpdateActions ();
 }
Пример #2
0
 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);
             }
         });
     }
 }
Пример #3
0
 private void HandleConnectionStateChanged(object sender, ConnectionStateChangedArgs args)
 {
     UpdateUI (args.State);
 }