public PhilipsTVSetup(IAuto3D device) { InitializeComponent(); if (!(device is PhilipsTV)) throw new Exception("Auto3D: Device is no PhilipsTV"); _device = (PhilipsTV)device; }
public PhilipsTVSetup(IAuto3D device) { InitializeComponent(); if (!(device is PhilipsTV)) { throw new Exception("Auto3D: Device is no PhilipsTV"); } _device = (PhilipsTV)device; }
public void SetDevice(IAuto3D device) { _device = (PhilipsTV)device; }