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(); } }
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(); } }