private void Button_LegendShow_Click(object sender, RoutedEventArgs e)
        {
            LegendWindow legendWindow = new LegendWindow(mapPainter.Holder, voivodeshipName);

            legendWindow.Owner = this;

            legendWindow.Show();
        }
Ejemplo n.º 2
0
        private void MenuItem_LegendShow_Click(object sender, RoutedEventArgs e)
        {
            if (dataHolder != null)
            {
                legendWindow       = new LegendWindow(dataHolder, VoivodeshipNames.None);
                legendWindow.Owner = this;

                legendWindow.Show();
            }
        }