Beispiel #1
0
        private void button13_Click(object sender, EventArgs e)
        {
            RectLatLng area = MainMap.SelectedArea;

            if (!area.IsEmpty)
            {
                StaticImage st = new StaticImage(MainMap);
                //st.Owner = this;
                st.Show();
            }
            else
            {
                MessageBox.Show("Select map area holding ALT", "GMap.NET", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
        }
Beispiel #2
0
 private void button13_Click(object sender, EventArgs e)
 {
     RectLatLng area = MainMap.SelectedArea;
     if (!area.IsEmpty)
     {
         StaticImage st = new StaticImage(MainMap);
         //st.Owner = this;
         st.Show();
     }
     else
     {
         MessageBox.Show("Select map area holding ALT", "GMap.NET", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }