예제 #1
0
파일: Form1.cs 프로젝트: nanariya/GPS
        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);
            }
        }
예제 #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);
            }
        }