How mrkenny44/urlaubsplaner works
Urlaubsplaner is a WPF vacation-hours planner. Users enter date ranges, review or edit daily hours, and see planned and taken-hour balances; the app can also load and save vacation entries as XML. The sampled code shows the main calculation, holiday lookup, persistence, and edit-dialog behavior. The project directory is present in the tree, but its contents and the XAML markup were not sampled, so unsampled bindings and other features are not inferred.
Main entry points: MainWindow.xaml.cs Planner controller · UrlaubBearbeiten.xaml.cs Day editor · MainWindow.xaml Main window · UrlaubBearbeiten.xaml Day edit window
Components 11
WPF interface
- Main window
MainWindow.xaml - Planner controller
MainWindow.xaml.cs - Day edit window
UrlaubBearbeiten.xaml - Day editor
UrlaubBearbeiten.xaml.cs
Vacation planning
- Vacation entries
MainWindow.xaml.cs - Day and hour calculation
MainWindow.xaml.cs - Holiday rules
MainWindow.xaml.cs - Hour balances
MainWindow.xaml.cs
Data and services
- Vacation XML file
- Holiday API
Other components
- Planner user
Connections 13
- Planner user → Main window: uses
- Main window → Planner controller: event handlers
- Planner controller → Day and hour calculation: calculates hours
- Day and hour calculation → Holiday rules: checks workdays
- Holiday rules → Holiday API: requests holidays
- Planner controller → Vacation entries: adds entries
- Planner controller → Day edit window: opens dialog
- Day edit window → Day editor: event handlers
- Day editor → Day and hour calculation: calls CalcStunden
- Day editor → Vacation entries: adds edited entry
- Planner controller → Hour balances: calculates balances
- Planner controller → Vacation XML file: reads and writes
- Planner controller → Vacation entries: loads and saves