<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="MauiAppStock.Views.MainPage"
             xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
    <StackLayout Padding="20" Spacing="20" VerticalOptions="Center">
        <Label Text="Menu Principal" FontSize="30" HorizontalOptions="Center" />
        <Button Text="Gestion des Appareils" BackgroundColor="Black" Clicked="OnAppareilsClicked" />
        <Button Text="Gestion des Pièces" BackgroundColor="Black" Clicked="OnPiecesClicked" />
        <Button Text="Gestion des Fournisseurs" BackgroundColor="Black" Clicked="OnFournisseursClicked" />
        <Button Text="Associer une Pièce à un Appareil" BackgroundColor="Black" Clicked="OnAssocierPieceClicked" />
        <Button Text="Mouvement de stock" BackgroundColor="Black" Clicked="OnMouvementStockClicked" />
        <VerticalStackLayout Padding="20" Spacing="20">
            <Image Source="logo.png"
                   HeightRequest="200"
                   Aspect="AspectFit" />
        </VerticalStackLayout>
    </StackLayout>



</ContentPage>