Ejemplo n.º 1
0
        public EpsonBeamerSetup(IAuto3D device)
        {
            InitializeComponent();

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

              _device = (EpsonBeamer)device;

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

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

            _device = (EpsonBeamer)device;

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