Interaction logic for ScrobblePreviewView.xaml
Наследование: System.Windows.Window
 /// <summary>
 /// Shows a preview of the tracks that will be scrobbled.
 /// </summary>
 public override void Preview()
 {
   ScrobblePreviewView spv = new ScrobblePreviewView(new ScrobblePreviewViewModel(CreateScrobbles()));
   spv.ShowDialog();
 }
 /// <summary>
 /// Preview the track that will be scrobbled.
 /// </summary>
 public override void Preview()
 {
   ScrobblePreviewView spv = new ScrobblePreviewView(new ScrobblePreviewViewModel(new Scrobble[] { new Scrobble(Artist, Album, Track, TimePlayed) }));
   spv.ShowDialog();
 }
 /// <summary>
 /// Closes the <paramref name="view"/>.
 /// </summary>
 /// <param name="view">View to close.</param>
 public void OK(ScrobblePreviewView view)
 {
   view.Close();
 }