﻿<UserControl x:Class="EcoRideDB.AddMaintenance"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             Height="450" Width="500">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBlock Text="Add Maintenance" FontSize="24" HorizontalAlignment="Center" Margin="10" Grid.Row="0" Foreground="White"/>

        <StackPanel Grid.Row="1" Margin="50">
            <TextBlock Text="Select Bike" FontWeight="Bold" Foreground="White"/>
            <ComboBox Name="cmbBike" Background="White" Foreground="Black" Margin="0,5,0,15"/>

            <TextBlock Text="Select Staff" FontWeight="Bold" Foreground="White"/>
            <ComboBox Name="cmbStaff" Background="White" Foreground="Black" Margin="0,5,0,15"/>

            <TextBlock Text="Service Date" FontWeight="Bold" Foreground="White"/>
            <TextBox Name="txtServiceDate" Background="White" Foreground="Black" Margin="0,5,0,15"/>

            <TextBlock Text="Notes" FontWeight="Bold" Foreground="White"/>
            <TextBox Name="txtNotes" Background="White" Foreground="Black" Margin="0,5,0,15"/>
        </StackPanel>

        <Button Content="Add Maintenance" Click="AddMaintenance_Click" Grid.Row="2" Width="150" HorizontalAlignment="Center" Margin="0,10" Background="#747578"/>
    </Grid>
</UserControl>