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); } }
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); } }