private void BasinMenu_Clear_Click(object sender, RoutedEventArgs e) { CurrentProject.SelectedBasin.CurrentLayer.CurrentStorm = null; //MainWindow logic in MainWindow class (Hack till Iris Layer binding) Layers.ClearLayers(); //end CurrentProject.SelectedBasin.ClearBasin(); // iris: move initbasin to selectedbasin CurrentProject.InitBasin(CurrentProject.SelectedBasin); }
public void ClearLayers() => Layers.ClearLayers();