public MainForm() { InitializeComponent(); GPS = new GPSHandler(this); //Initialize GPS handler GPS.TimeOut = 5; //Set timeout to 5 seconds GPS.NewGPSFix += new GPSHandler.NewGPSFixHandler(this.GPSEventHandler); //Hook up GPS data events to a handler frmGpsSettings = new FrmGpsSettings(); frmNtripSettings = new FrmNTRIPSettings(); ntrip = null; ntripStarted = false; Coms = new List <SerialPort>(); }
public MainForm() { InitializeComponent(); GPS = new GPSHandler(this); //Initialize GPS handler GPS.TimeOut = 5; //Set timeout to 5 seconds GPS.NewGPSFix += new GPSHandler.NewGPSFixHandler(this.GPSEventHandler); //Hook up GPS data events to a handler frmGpsSettings = new FrmGpsSettings(); frmNtripSettings = new FrmNTRIPSettings(); ntrip = null; ntripStarted = false; Coms = new List<SerialPort>(); }