public VideoTranscodeView()
        {
            InitializeComponent();

            ViewModel = new VideoTranscodeViewModel();

            ViewModel.ClosingRequest += viewModel_ClosingRequest;

            DataContext = ViewModel;
        }
        public VideoTranscodeView()
        {
            InitializeComponent();

            ViewModel = new VideoTranscodeViewModel();

            ViewModel.ClosingRequest += viewModel_ClosingRequest;

            DataContext = ViewModel;

        }
Ejemplo n.º 3
0
        public VideoTranscodeProgressViewModel(VideoTranscodeViewModel vm)
        {
            WindowIcon  = "pack://application:,,,/Resources/Icons/videotranscode.ico";
            WindowTitle = "Video Transcoding Progress";

            AsyncState = vm;
            Items      = vm.Items;

            CancelCommand.IsExecutable = true;
            OkCommand.IsExecutable     = false;
        }
        public VideoTranscodeProgressViewModel(VideoTranscodeViewModel vm)
        {
            WindowIcon = "pack://application:,,,/Resources/Icons/videotranscode.ico";
            WindowTitle = "Video Transcoding Progress";

            AsyncState = vm;
            Items = vm.Items;

            CancelCommand.IsExecutable = true;
            OkCommand.IsExecutable = false;

        }