示例#1
0
 public RecordLocationForm(GpsData data)
 {
     InitializeComponent();
     Data = data;
     poiTypeSelect.SelectedIndex    = 0;
     hazardTypeSelect.SelectedIndex = 0;
 }
示例#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;
        }
示例#3
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;
        }