public SamsungTVSetup(IAuto3D device) { InitializeComponent(); if (!(device is SamsungTV)) throw new Exception("Auto3D: Device is no SamsungTV"); _device = (SamsungTV)device; }
public SamsungTVSetup(IAuto3D device) { InitializeComponent(); if (!(device is SamsungTV)) { throw new Exception("Auto3D: Device is no SamsungTV"); } _device = (SamsungTV)device; }