Ejemplo n.º 1
0
        public void doClose(object param)
        {
            ucNewPlaylist np = param as ucNewPlaylist;

            text = "";
            np.Close();
        }
Ejemplo n.º 2
0
 public void doCreate(object param)
 {
     if (text != "")
     {
         ucNewPlaylist np = param as ucNewPlaylist;
         np.Close();
     }
 }
Ejemplo n.º 3
0
        public void doCreateList(object param)
        {
            ucNewPlaylistModel npm    = new ucNewPlaylistModel();
            ucNewPlaylist      window = new ucNewPlaylist();

            window.DataContext = npm;
            window.Title       = "Create a New Playlist";
            window.ShowDialog();
            db.addPlaylist(npm.text);
            Actualizedico();
        }
Ejemplo n.º 4
0
 public void doCreateList(object param)
 {
     ucNewPlaylistModel npm = new ucNewPlaylistModel();
     ucNewPlaylist window = new ucNewPlaylist();
     window.DataContext = npm;
     window.Title = "Create a New Playlist";
     window.ShowDialog();
     db.addPlaylist(npm.text);
     Actualizedico();
 }