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

            GPS = new GPSHandler(); //Initialize GPS handler
            GPS.TimeOut = 5; //Set timeout to 5 seconds
            GPS.NewGPSFix += GPSEventHandler; //Hook up GPS data events to a handler
            frmGpsSettings = new FrmGpsSettings();
        }
Exemplo n.º 2
0
        public MainForm()
        {
            InitializeComponent();

            GPS            = new GPSHandler(); //Initialize GPS handler
            GPS.TimeOut    = 5;                //Set timeout to 5 seconds
            GPS.NewGPSFix += GPSEventHandler;  //Hook up GPS data events to a handler
            frmGpsSettings = new FrmGpsSettings();
        }