예제 #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;
     }
 }
예제 #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;
            }
        }