public void Bind(IRackScanner RackScanner) { if (_RackScanner != null) { _RackScanner.RackScanned -= _RackScanner_RackScanned; } _RackScanner = RackScanner; _RackScanner.RackScanned += _RackScanner_RackScanned; this.rackScanLogViewer1.Bind(_RackScanner); }
public void Bind(IRackScanner scanner) { scanner.RackScannerLogEvent += Scanner_RackScannerLogEvent; }