Ejemplo n.º 1
0
        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();
                }
            }
        }
Ejemplo n.º 2
0
        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();
            }
        }