public MainWindowViewModel() { FirstDownloader = new ImageDownloaderViewModel(); SecondDownloader = new ImageDownloaderViewModel(); ThirdDownloader = new ImageDownloaderViewModel(); FirstDownloader.PropertyChanged += ImageDownloader_PropertyChanged; SecondDownloader.PropertyChanged += ImageDownloader_PropertyChanged; ThirdDownloader.PropertyChanged += ImageDownloader_PropertyChanged; }
public MainWindowViewModel(ImageDownloaderViewModel first, ImageDownloaderViewModel second, ImageDownloaderViewModel third) { FirstDownloader = first; SecondDownloader = second; ThirdDownloader = third; }