/// <summary> /// Initializes a new instance of the <c>PatcherEngine</c> class with the specified <c>BackgroundWorker</c>. /// </summary> public PatcherEngine(BackgroundWorker bw, IDisplayError errorDisplay) { handler = new Handler(errorDisplay); ErrorDisplay = errorDisplay; BW = bw; Hasher = new Md5Hasher(); Downloader = new HttpClientDownloader(BW, Hasher); }
public PayrollReportForm(IDisplayError displayError) { InitializeComponent(); btCalculatePay.Enabled = false; _payroll = new Payroll(); _displayError = displayError; }
public Handler(IDisplayError errorDisplay) { this.errorDisplay = errorDisplay; }