Exemplo n.º 1
0
        public Form1()
        {
            InitializeComponent();

            _gps = new Nanariya.Gps();
            _gps.GpsDataReceive += new Nanariya.Gps.GpsEventHandler(gps_GpsDataReceive);

            String[] ports = _gps.GetPortList();

            foreach (String port in ports)
            {
                comboBox1.Items.Add(port);
            }
        }
Exemplo n.º 2
0
        public Form1()
        {
            InitializeComponent();

            _gps = new Nanariya.Gps();
            _gps.GpsDataReceive += new Nanariya.Gps.GpsEventHandler(gps_GpsDataReceive);

            String[] ports = _gps.GetPortList();

            foreach (String port in ports)
            {
                comboBox1.Items.Add(port);
            }
        }