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