<Window x:Class="ReAct_PME.ResumeAudio"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:ReAct_PME"
        mc:Ignorable="d"
        Title="Résumé d'un fichier Audio" Height="450" Width="800" Background="#FFF0F0F0">
    <Grid Margin="5,5,5,5">
        <Grid.RowDefinitions>
            <RowDefinition Height="40"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>
        <TextBlock Text="Fichier" Margin="5,5,5,5" Grid.Row="0"/>
        <TextBox Grid.Row="0" x:Name="TxtFullFileName" Margin="80,5,40,2" TextWrapping="Wrap" Text="{Binding FullFileName}" AcceptsReturn="False" />
        <Button Grid.Row="0" x:Name="BtnFindFile" Style="{StaticResource ButtonStyle}" Content="+" HorizontalAlignment="Right" Margin="0,5,0,0" VerticalAlignment="Top" Height="33" Width="35" Click="BtnFindFile_Click" ToolTip="Sélectionner un fichier audio ou un fichier vidéo"/>

        <TextBlock Text="Contexte" Margin="5,5,5,5" Grid.Row="1"/>
        <ComboBox ItemsSource="{Binding ListeContexte}" Text="{Binding SelectedContexte, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Margin="80,5,5,5" 
                  		        IsEditable="True"
                                IsReadOnly="False"
                                Grid.Row="1"/>

        <TextBox Grid.Row="2" x:Name="TxtTranscribe" Margin="0,0,0,2" TextWrapping="Wrap" Text="Transcription" AcceptsReturn="True" Background="Beige" IsReadOnly="False" VerticalScrollBarVisibility="Auto"/>
        
        <TextBox Grid.Row="3" x:Name="TxtReponse" Margin="0,0,0,0" TextWrapping="Wrap" Text="Résumé" AcceptsReturn="True" Background="GreenYellow"  VerticalScrollBarVisibility="Auto"/>
        
        <Button Grid.Row="4" x:Name="BtnGoTrt" Style="{StaticResource ButtonStyle}" Content="Transcription + résumé" HorizontalAlignment="Right" Margin="0,5,230,0" VerticalAlignment="Top" Height="33" Width="150" Click="BtnGoTrt_Click" />
        <Button Grid.Row="4" x:Name="BtnGoResume" Style="{StaticResource ButtonStyle}" Content="Refaire le résumé" HorizontalAlignment="Right" Margin="0,5,110,0" VerticalAlignment="Top" Height="33" Width="110" Click="BtnGoResume_Click" />
        <Button Grid.Row="4" x:Name="BtnClose" Style="{StaticResource ButtonStyle}" Content="Fermer" HorizontalAlignment="Right" Margin="0,5,0,2" Height="NaN" Width="100" Click="BtnClose_Click" />

    </Grid>
</Window>
