public VideoGridImage(VideoMetadata video, VideoPreviewImageViewModel vm, List<MediaThumb> thumbs) : base(vm.MaxPreviewImageWidth,vm.NrRows, vm.NrColumns, getImages(thumbs), vm.BackgroundColor, vm.FontColor) { Video = video; Vm = vm; Thumbs = thumbs; }
public VideoGridImage(VideoMetadata video, VideoPreviewImageViewModel vm, List <MediaThumb> thumbs) : base(vm.MaxPreviewImageWidth, vm.NrRows, vm.NrColumns, getImages(thumbs), vm.BackgroundColor, vm.FontColor) { Video = video; Vm = vm; Thumbs = thumbs; }
public VideoPreviewImageView() { InitializeComponent(); DataContext = viewModel = new VideoPreviewImageViewModel(MediaFileWatcher.Instance); viewModel.ClosingRequest += new EventHandler <CloseableBindableBase.DialogEventArgs>((s, e) => { this.Close(); }); }
public VideoPreviewImageView() { InitializeComponent(); DataContext = viewModel = new VideoPreviewImageViewModel(MediaFileWatcher.Instance); viewModel.ClosingRequest += new EventHandler<CloseableBindableBase.DialogEventArgs>((s, e) => { this.Close(); }); }