private void ShowLoadExcelUpdate(object sender, ProgressEventArgs e) { SetStatus(e.Status); }
private void UpdateStatus(string status) { // Make sure someone is listening to event if (OnUpdateStatus == null) return; ProgressEventArgs args = new ProgressEventArgs(status); OnUpdateStatus(this, args); }