Exemplo n.º 1
0
        private void useGoogleBgRdo_CheckedChanged(object sender, EventArgs e)
        {
            bool chk = (sender as RadioButton).Checked;

            //RiverSimulationProfile p = RiverSimulationProfile.profile;
            if (chk)
            {
                if (p.DownloadGoogleStaticMap())
                {
                    mapPicBox.SetMapBackground(p.tl, p.tr, p.bl, p.br);
                }
                SwitchPreivewCombo(PreviewType.GridMap);
                UpdateStatus();
            }
        }