Exemplo n.º 1
0
        private void BtnAddLayer_Click(object sender, RoutedEventArgs e)
        {
            if (string.IsNullOrWhiteSpace(LayerName.Text))
            {
                System.Windows.MessageBox.Show("Layer name missing", "Missing info");
                return;
            }

            TileGrid.AddNewLayer(LayerName.Text);
            LayerName.Clear();
        }