public LGTVSetup(IAuto3D device) { InitializeComponent(); if (!(device is LGTV)) throw new Exception("Auto3D: Device is no LGTV"); _device = (LGTV)device; WebOS.UpdatePairingKey += WebOS_UpdatePairingKey; }
public LGTVSetup(IAuto3D device) { InitializeComponent(); if (!(device is LGTV)) { throw new Exception("Auto3D: Device is no LGTV"); } _device = (LGTV)device; WebOS.UpdatePairingKey += WebOS_UpdatePairingKey; }