Exemplo n.º 1
0
        public OptomaBeamerSetup(IAuto3D device)
        {
            InitializeComponent();

              if (!(device is OptomaBeamer))
            throw new Exception("Auto3D: Device is no Optoma Beamer");

              _device = (OptomaBeamer)device;

              comboBoxPort.Items.Add("None");
              comboBoxPort.Items.AddRange(SerialPort.GetPortNames());
        }
Exemplo n.º 2
0
        public OptomaBeamerSetup(IAuto3D device)
        {
            InitializeComponent();

            if (!(device is OptomaBeamer))
            {
                throw new Exception("Auto3D: Device is no Optoma Beamer");
            }

            _device = (OptomaBeamer)device;

            comboBoxPort.Items.Add("None");
            comboBoxPort.Items.AddRange(SerialPort.GetPortNames());
        }