AquaCare/AquaCare.View/PflegeWindow.axaml
2025-05-13 23:31:28 +02:00

24 lines
1.1 KiB
XML

<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="AquaCare.View.PflegeWindow"
Title="Pflege - Werte eintragen"
Width="400" Height="300">
<Grid RowDefinitions="Auto,Auto,Auto,Auto,Auto" Margin="20">
<!-- Eingabefelder -->
<TextBlock Text="Datum:" Grid.Row="0" />
<DatePicker x:Name="DatumPicker" Grid.Row="0" Margin="100,0,0,0" />
<TextBlock Text="Temperatur (°C):" Grid.Row="1" />
<TextBox x:Name="TemperaturTextBox" Grid.Row="1" Margin="150,0,0,0" />
<TextBlock Text="pH-Wert:" Grid.Row="2" />
<TextBox x:Name="PHWertTextBox" Grid.Row="2" Margin="150,0,0,0" />
<TextBlock Text="Nitrat (mg/L):" Grid.Row="3" />
<TextBox x:Name="NitratTextBox" Grid.Row="3" Margin="150,0,0,0" />
<!-- Buttons -->
<Button Content="Speichern" Grid.Row="4" HorizontalAlignment="Right" Click="SaveClick" />
<Button Content="Abbrechen" Grid.Row="4" HorizontalAlignment="Left" Click="CancelClick" />
</Grid>
</Window>