public TVShowEncodeInfo(MainWindow window, Encode encodingQueue) : base(window, encodingQueue) { this.episodes.CollectionChanged += OnEpisodesChanged; this.scanService.ScanStared += OnScanStarted; this.scanService.ScanStatusChanged += OnScanStatusChanged; this.scanService.ScanCompleted += OnScanCompleted; ScanDisc(); }
protected EncodeInfo(MainWindow mainWindow, Encode encodingQueue) { this.mainWindow = mainWindow; this.encodingQueue = encodingQueue; this.encodingQueue.EncodeStarted += OnEncodeStarted; this.encodingQueue.EncodeStatusChanged += OnEncodeStatusChanged; this.encodingQueue.EncodeCompleted += OnEncodeEnded; DependencyPropertyDescriptor descriptor; descriptor = DependencyPropertyDescriptor.FromProperty(MainWindow.SourceDriveProperty, typeof(MainWindow)); descriptor.AddValueChanged(this.mainWindow, (o, e) => OnSourceDriveChanged()); CheckSettingErrors(); }
public MovieEncodeInfo(MainWindow mainWindow, Encode encodingQueue) : base(mainWindow, encodingQueue) { }