<Window x:Class="GetHrzWPF.SelectUsbWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="USB"
        Width="300"
        Height="120"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterOwner">
    <Grid Margin="10">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
        </Grid.ColumnDefinitions>

        <ComboBox x:Name="DriveCombo"
                  Grid.Column="0"
                  Margin="0,0,10,0"
                  VerticalAlignment="Center"
                  MinWidth="180"/>

        <Button Grid.Column="1"
                Content="Открыть"
                Padding="10,6"
                FontWeight="Bold"
                VerticalAlignment="Center"
                Click="OnConfirmClick"/>
    </Grid>
</Window>