예제 #1
0
        private AboutForm _aboutForm = new AboutForm();                     // Shows license and version information

        public MainForm()
        {
            InitializeComponent();
            _gpsData = new GpsData(this);
            //_recordForm.Data = _gpsData
            _recordForm = new RecordLocationForm(_gpsData);
            _colorResetTimer.Elapsed += (o, args) => connectionStatusLabel.ForeColor = Color.ForestGreen;
        }
예제 #2
0
        private AboutForm _aboutForm = new AboutForm();                     // Shows license and version information

        public MainForm()
        {
            InitializeComponent();
            _gpsData = new GpsData(this);
            //_recordForm.Data = _gpsData
            _recordForm = new RecordLocationForm(_gpsData);
            _colorResetTimer.Elapsed += (o, args) => connectionStatusLabel.ForeColor = Color.ForestGreen;

            gpsUpdateTimer.Start();
            connectionUrlText.Enabled       = false;
            gpsConnectButton.Text           = "Disconnect";
            connectionStatusLabel.ForeColor = Color.Blue;
        }