private void AddLayer_Click(object sender, RoutedEventArgs e) { AddEditLayer addLayer = new AddEditLayer(AddEditLayer.Mode.Create); addLayer.ShowDialog(); }
private void EditLayer_Click(object sender, RoutedEventArgs e) { AddEditLayer editLayer = new AddEditLayer(AddEditLayer.Mode.Edit); editLayer.ShowDialog(); }