Esempio n. 1
0
        private void btnCreateTiles_Click(object sender, EventArgs e)
        {
            if (mapBox1.Map == null)
                return;

            if (mapBox1.Map.Layers.Count == 0)
                return;

            using (var f = new FormCreateTilesSample())
            {
                f.Map = mapBox1.Map;
                f.ShowDialog();
            }
        }
Esempio n. 2
0
        private void btnCreateTiles_Click(object sender, EventArgs e)
        {
            if (mapBox1.Map == null)
            {
                return;
            }

            if (mapBox1.Map.Layers.Count == 0)
            {
                return;
            }

            using (var f = new FormCreateTilesSample())
            {
                f.Map = mapBox1.Map;
                f.ShowDialog();
            }
        }