void FileFileSizeChangeEvent(object sender, File.FileSizeChangeEventArgs e) { OnPropertyChanged("Size"); OnPropertyChanged("LastWriteTime"); }
public FileItemViewModel(File file) { _file = file; _file.FileSizeChangeEvent += FileFileSizeChangeEvent; }
private void FileFileScannedEvent(object sender, File.FileScannedEventArgs e) { _fileScanCounter++; if (_fileScanCounter % 100 == 0) UpdateScanStatusText(); }