private static void RaiseSyncStateUpdate(string file, string folder, Bitmap image) { SyncStateUpdateArgs arg = new SyncStateUpdateArgs(); arg.FileName = file; arg.FolderName = folder; arg.Thumbnail = image; if (OnSyncStateUpdate != null) { OnSyncStateUpdate(null, arg); } }
private static void RaiseSyncStateUpdate(string file, string folder, Bitmap image) { SyncStateUpdateArgs arg = new SyncStateUpdateArgs(); arg.FileName = file; arg.FolderName = folder; arg.Thumbnail = image; if (OnSyncStateUpdate != null) OnSyncStateUpdate(null, arg); }
void FileSynchronization_OnSyncStateUpdate(object sender, SyncStateUpdateArgs e) { //lblDetectFile.Text = e.FileName; //lblDetectFolder.Text = e.FolderName; //pbThumb.Image = e.Thumbnail; }