void chkWriteNMEALogCheckedChanged(object sender, System.EventArgs e) { // MessageBox.Show("Write Log Clicked", "Write Log Clicked"); if (m_strNEMALogFile == null) { if (this.chkWriteNMEALog.Checked) { MessageBox.Show("No Log file specified", "Cannot Log NMEA Message"); this.chkWriteNMEALog.Checked = false; } } else { if (this.chkWriteNMEALog.Checked) { m_GPSWrapper.StartLoggingNMEA(); } else { m_GPSWrapper.StopLoggingNMEA(); } } }
void ChkWriteLogCheckedChanged(object sender, System.EventArgs e) { // MessageBox.Show("Write Log Clicked", "Write Log Clicked"); if (this.chkWriteLog.Checked) { m_GPSWrapper.StartLoggingNMEA(); } else { m_GPSWrapper.StopLoggingNMEA(); } }