WPF Projekt eingefügt

This commit is contained in:
2025-07-20 12:42:35 +02:00
parent 5c062ca27a
commit f3d8163708
32 changed files with 1093 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
<Window x:Class="ZeiterfassungMerz.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Zeiterfassung MERZ" Height="600" Width="800"
Background="#1A1A2E" FontFamily="Segoe UI" Foreground="White">
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- Logo und Maschinennummer -->
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="merz_logo.png" Width="80" Height="80" Margin="0,0,20,0"/>
<StackPanel Orientation="Vertical">
<TextBlock Text="Maschinennummer:" FontSize="14" Margin="0,10,0,0"/>
<TextBox x:Name="MaschinenNummerBox" Width="200" Height="25" Margin="0,5,0,0"/>
</StackPanel>
</StackPanel>
<!-- Start Button -->
<Button Grid.Row="1" Content="Start" Width="120" Height="35" Margin="0,10,0,10"
HorizontalAlignment="Left" Background="#3A3A5D" BorderThickness="0"
Cursor="Hand"/>
<!-- Logs -->
<ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="Auto" Margin="0,10,0,10">
<TextBlock x:Name="LogTextBlock" TextWrapping="Wrap" FontSize="13" FontFamily="Consolas"/>
</ScrollViewer>
<!-- Untere Buttons -->
<StackPanel Grid.Row="3" Orientation="Vertical" HorizontalAlignment="Center" Margin="0,20,0,0" >
<Button Content="Stop mit Kommentar" Width="180" Height="35" Margin="5" Background="#3A3A5D" BorderThickness="0" Cursor="Hand"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<Button Content="Exportieren als TXT" Width="160" Height="30" Margin="5" Background="#3A3A5D" BorderThickness="0" Cursor="Hand"/>
<Button Content="Exportieren als Excel" Width="160" Height="30" Margin="5" Background="#3A3A5D" BorderThickness="0" Cursor="Hand"/>
</StackPanel>
<Button Content="🌐 Theme wechseln" Width="180" Height="30" Margin="5" Background="#3A3A5D" BorderThickness="0" Cursor="Hand"/>
<Button Content="Zurücksetzen" Width="180" Height="30" Margin="5" Background="#3A3A5D" BorderThickness="0" Cursor="Hand"/>
</StackPanel>
</Grid>
</Window>