private void BtnAddLayer_Click(object sender, RoutedEventArgs e)
        {
            EditELayerWindow window = new EditELayerWindow();

            window.Owner = this;

            Nullable <bool> result = window.ShowDialog();

            if (result == true)
            {
                //EngineeringLayer eLayer = window.ELayer;
                //_eMap.ELayers.Add(eLayer);
                LBLayers.Items.Refresh();
            }
        }
Пример #2
0
        private void BtnAddLayer_Click(object sender, RoutedEventArgs e)
        {
            EditELayerWindow window = new EditELayerWindow();
            window.Owner = this;

            Nullable<bool> result = window.ShowDialog();
            if (result == true)
            {
                //EngineeringLayer eLayer = window.ELayer;
                //_eMap.ELayers.Add(eLayer);
                LBLayers.Items.Refresh();
            }
        }