Example #1
0
File: Form1.cs Project: xnzaa/ship
 private void gPSę ”ę­£ToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     GPS gps = new GPS();
     gps.MessageSent += delegate(object caller, string msg, string msg2)
     {
        latitude_true   = Convert .ToDouble (msg);
        longitude_true  = Convert .ToDouble (msg2);
        //check_ok = false;
     };
     gps.ShowDialog();
 }