Ejemplo n.º 1
0
 public MediaFileViewModel(MediaFile mediaFile)
 {
     this.mediaFile    = mediaFile;
     SaveFileCommand   = new SaveFileCommand(this);
     IsMediaOpened     = false;
     PlayMediaCommand  = new PlayMediaCommand(this);
     PauseMediaCommand = new PauseMediaCommand(this);
 }
Ejemplo n.º 2
0
 public MediaFileViewModel()
 {
     mediaFile         = new MediaFile();
     SaveFileCommand   = new SaveFileCommand(this);
     IsMediaOpened     = false;
     PlayMediaCommand  = new PlayMediaCommand(this);
     PauseMediaCommand = new PauseMediaCommand(this);
 }