<Window x:Class="CtrEditor.PopUps.ColumnSelectionDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Selección de Columnas e Idiomas" 
        Height="400" 
        Width="500"
        WindowStartupLocation="CenterOwner"
        ResizeMode="NoResize"
        ShowInTaskbar="False">
    <Grid Margin="20">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Label x:Name="SourceColumnHeaderLabel" 
               Grid.Row="0" 
               Grid.Column="0"
               Content="Columna origen:" 
               Margin="0,0,10,5"/>
        
        <ComboBox Grid.Row="1" 
                  Grid.Column="0"
                  x:Name="SourceColumnComboBox" 
                  Margin="0,0,10,15"
                  Height="30"
                  SelectionChanged="ColumnComboBox_SelectionChanged"/>

        <Label Grid.Row="2" 
               Grid.Column="0"
               Content="Idioma origen:" 
               Margin="0,0,10,5"/>
        
        <ComboBox Grid.Row="3" 
                  Grid.Column="0"
                  x:Name="SourceLanguageComboBox" 
                  Margin="0,0,10,15"
                  Height="30"/>

        <Label x:Name="TargetColumnHeaderLabel" 
               Grid.Row="0" 
               Grid.Column="1"
               Content="Columna destino:" 
               Margin="0,0,0,5"/>
        
        <ComboBox Grid.Row="1" 
                  Grid.Column="1"
                  x:Name="TargetColumnComboBox" 
                  Margin="0,0,0,15"
                  Height="30"
                  SelectionChanged="ColumnComboBox_SelectionChanged"/>

        <Label Grid.Row="2" 
               Grid.Column="1"
               Content="Idioma destino:" 
               Margin="0,0,0,5"/>
        
        <ComboBox Grid.Row="3" 
                  Grid.Column="1"
                  x:Name="TargetLanguageComboBox" 
                  Margin="0,0,0,15"
                  Height="30"/>

        <StackPanel Grid.Row="7" 
                    Grid.ColumnSpan="2"
                    Orientation="Horizontal" 
                    HorizontalAlignment="Right" 
                    Margin="0,10,0,0">
            <Button Content="Aceptar" 
                    Click="OkButton_Click" 
                    Width="90" 
                    Height="30"
                    Margin="0,0,10,0"/>
            
            <Button Content="Cancelar" 
                    Click="CancelButton_Click" 
                    Width="90"
                    Height="30"/>
        </StackPanel>
    </Grid>
</Window>
