Exemplo n.º 1
0
 public ucPlaylistModel(DatabasePlaylist ddb)
 {
     db = ddb;
     MusicsFocusCommand  = new DelegateCommand(doListFocus, CanListFocus);
     RequestFocusCommand = new DelegateCommand(doRequestFocus, CanRequestFocus);
     OpenFile            = new DelegateCommand(doOpenFile, CanOpenFile);
     Listdata            = eMediaType.MUSIC;
     //            mediaList = new ObservableCollection<Media>(db.ListCurrent);
     CreatePlaylist = new DelegateCommand(doCreateList, CanCreateList);
     affAbout       = new DelegateCommand(doAffAbout, CanAffAbout);
     islinqRequest  = false;
     Actualizedico();
 }
Exemplo n.º 2
0
 public ucTimeModel(DatabasePlaylist _db)
 {
     db             = _db;
     mediaLoaded    = false;
     pause          = false;
     isPlay         = false;
     TextPlay       = "|>";
     PlayCommand    = new DelegateCommand(doPlay, CanPlay);
     NextCommand    = new DelegateCommand(doNext, CanNext);
     PrevCommand    = new DelegateCommand(doPrev, CanPrev);
     ShuffleCommand = new DelegateCommand(doShuffle, CanShuffle);
     StopCommand    = new DelegateCommand(doStop, CanStop);
     RepeatCommand  = new DelegateCommand(doRepeat, CanRepeat);
 }
Exemplo n.º 3
0
 public ucTimeModel(DatabasePlaylist _db)
 {
     db = _db;
     mediaLoaded = false;
     pause = false;
     isPlay = false;
     TextPlay = "|>";
     PlayCommand = new DelegateCommand(doPlay, CanPlay);
     NextCommand = new DelegateCommand(doNext, CanNext);
     PrevCommand = new DelegateCommand(doPrev, CanPrev);
     ShuffleCommand = new DelegateCommand(doShuffle, CanShuffle);
     StopCommand = new DelegateCommand(doStop, CanStop);
     RepeatCommand = new DelegateCommand(doRepeat, CanRepeat);
 }
Exemplo n.º 4
0
 public ucTimeModel()
 {
     db = null;
 }
Exemplo n.º 5
0
 public ucTimeModel()
 {
     db = null;
 }
Exemplo n.º 6
0
 public ucPlaylistModel(DatabasePlaylist ddb)
 {
     db = ddb;
     MusicsFocusCommand = new DelegateCommand(doListFocus, CanListFocus);
     RequestFocusCommand = new DelegateCommand(doRequestFocus, CanRequestFocus);
     OpenFile = new DelegateCommand(doOpenFile, CanOpenFile);
     Listdata = eMediaType.MUSIC;
     //            mediaList = new ObservableCollection<Media>(db.ListCurrent);
     CreatePlaylist = new DelegateCommand(doCreateList, CanCreateList);
     affAbout = new DelegateCommand(doAffAbout, CanAffAbout);
     islinqRequest = false;
     Actualizedico();
 }