コード例 #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);
 }
コード例 #2
0
        public PayrollReportForm(IDisplayError displayError)
        {
            InitializeComponent();

            btCalculatePay.Enabled = false;
            _payroll      = new Payroll();
            _displayError = displayError;
        }
コード例 #3
0
 public Handler(IDisplayError errorDisplay)
 {
     this.errorDisplay = errorDisplay;
 }