Beispiel #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();
 }
Beispiel #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);
 }
Beispiel #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);
 }
Beispiel #4
0
 public ucTimeModel()
 {
     db = null;
 }
Beispiel #5
0
 public ucTimeModel()
 {
     db = null;
 }
Beispiel #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();
 }