Beispiel #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();
        }
Beispiel #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();
        }