Esempio n. 1
0
 private void btSearch_Click(object sender, EventArgs e)
 {
     FormMapSearch frmSearch = new FormMapSearch();
     if (Globals.ShowDialog(frmSearch, this) == DialogResult.OK)
     {
         map.CurrentPosition = frmSearch.Pos;
         map.Zoom = 14;
     }
 }
Esempio n. 2
0
        private void btSearch_Click(object sender, EventArgs e)
        {
            FormMapSearch frmSearch = new FormMapSearch();

            if (Globals.ShowDialog(frmSearch, this) == DialogResult.OK)
            {
                map.CurrentPosition = frmSearch.Pos;
                map.Zoom            = 14;
            }
        }