예제 #1
0
        private void changeLocationToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SetLocationForm setLoc = new SetLocationForm();

            setLoc.LocationSomethingElse = location;
            setLoc.Longitude             = localLongitude;
            if (setLoc.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                setLocation(setLoc.Longitude, setLoc.LocationSomethingElse);
            }
        }
예제 #2
0
 private void changeLocationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     SetLocationForm setLoc = new SetLocationForm();
     setLoc.LocationSomethingElse = location;
     setLoc.Longitude = localLongitude;
     if (setLoc.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         setLocation(setLoc.Longitude, setLoc.LocationSomethingElse);
     }
 }