Exemplo n.º 1
0
        public void CommandCompleted(JukeCommand command)
        {
            switch (command)
            {
            case LoadLibraryCommand _:
                AddHandler(Window.KeyDownEvent, new KeyEventHandler(Window_KeyDown), true);
                loaded = true;
                break;

            case SaveLibraryCommand _:
                Messenger.Log("Library saved!");
                break;
            }
        }
Exemplo n.º 2
0
 public void CommandCompleted(JukeCommand command)
 {
     Dispatcher.Invoke(() => Close());
 }
Exemplo n.º 3
0
 public void CommandCompleted(JukeCommand command)
 {
     UpdateArtists();
     UpdateAlbums();
     UpdateSongs();
 }
Exemplo n.º 4
0
 public void CommandCompleted(JukeCommand command)
 {
     Completed            = true;
     LastCompletedCommand = command;
 }
Exemplo n.º 5
0
 public void CommandCompleted(JukeCommand command)
 {
 }