private void OnOpenMap() { var window = new MapWindow(_model.BleSystemConfiguration); _eventMapper.TransmitterSignalDiscovered += s => window.HandleDiscoveryEvent(s.BleReceiver, s.Transmitter.MacAddress, s.Distance); _eventMapper.TransmitterPositionDiscovered += window.HandleTransmitterLocationEvent; window.Show(); }