예제 #1
0
 void LastFm_MySessionChanged()
 {
     Dispatcher.Invoke(new Action(() =>
     {
         usr.Text   = "Username: "******"Real name: " + LastFm.GetRealName();
     }));
 }
예제 #2
0
 public Scrobbler()
 {
     InitializeComponent();
     SupportSkinner.SetSkin(this);
     InvalidateVisual();
     LastFm.MySessionChanged += LastFm_MySessionChanged;
     usr.Text   = "Username: "******"Real name: " + LastFm.GetRealName();
 }