Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
        public PayrollReportForm(IDisplayError displayError)
        {
            InitializeComponent();

            btCalculatePay.Enabled = false;
            _payroll      = new Payroll();
            _displayError = displayError;
        }
Exemplo n.º 3
0
 public Handler(IDisplayError errorDisplay)
 {
     this.errorDisplay = errorDisplay;
 }