<Window x:Class="Nappat.Testing.WPF.InterpretDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Open Dialog" Height="250"  Width="600" MinWidth="600" ResizeMode="CanResize" ShowInTaskbar="False" IsTabStop="False" Topmost="True" WindowStartupLocation="CenterScreen" IsHitTestVisible="True" Icon="Properties\Icons\win8\interpret.png" KeyDown="Window_KeyDown" >
    <ScrollViewer>
        <Grid>
            <Label x:Name="windowNameLabel" Content="Interpret" Width="150" Margin="10,10,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" FontWeight="Bold"/>
            <StackPanel>
                <!--<GroupBox Header="Driver Path" Margin="10,40,10,0" VerticalAlignment="Top" Height="50">
                    <Grid Margin="0,5,0,0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="5"/>
                            <ColumnDefinition Width="30"/>
                        </Grid.ColumnDefinitions>
                        <TextBox Grid.Column="0" x:Name="driverPathTextBox" TextWrapping="Wrap"  Text="{Binding DriverPaths}" Margin="0,0,0,0" ScrollViewer.VerticalScrollBarVisibility="Visible" Loaded="DirectoryValidator" TextChanged="DirectoryValidator" MouseDoubleClick="DirectoryChooser" ToolTip="MouseDoubleClick to open chooser." />
                        <Button Grid.Column="2" x:Name="driverPathButton" Width="28" Margin="0,0,0,0" Click="DirectoryChooser">
                            <Image Source="Properties/Icons/win8/load.png" />
                        </Button>
                    </Grid>
                </GroupBox>-->
                <GroupBox Header="Driver Path" Margin="10,40,10,0" VerticalAlignment="Top" Height="50">
                    <TextBox x:Name="driverPathTextBox" TextWrapping="Wrap" Text="{Binding DriverPaths}" Margin="0,5,0,0" ScrollViewer.VerticalScrollBarVisibility="Auto" Loaded="DirectoryValidator" TextChanged="DirectoryValidator" MouseDoubleClick="DirectoryChooser" ToolTip="MouseDoubleClick to open chooser."/>
                </GroupBox>
                <GroupBox Header="C# File Path" Margin="10,5,10,0" VerticalAlignment="Top" Height="50">
                    <TextBox x:Name="CsFilePathTextBox" TextWrapping="Wrap" Text="{Binding CsFilePaths}" Margin="0,5,0,0" ScrollViewer.VerticalScrollBarVisibility="Auto" Loaded="FileValidator" TextChanged="FileValidator" MouseDoubleClick="FileChooser" ToolTip="MouseDoubleClick to open chooser."/>
                </GroupBox>
                <Button x:Name="oKButton" Content="OK" Margin="0,15,0,0" Width="99" HorizontalAlignment="Center" VerticalAlignment="Top" Click="oKButton_Click" TabIndex="0" />
                <Expander x:Name="moreSettingExpander" Header="More Settings" Margin="0,5,0,0" VerticalAlignment="Top" ToolTip="Click to open expander. Contains: Output Path, Device Name, In Board Name, Out Board Name, Channel Name">
                    <StackPanel>
                        <GroupBox Header="Config Path" Margin="10,5,10,0" VerticalAlignment="Top" Height="50">
                            <TextBox x:Name="configPathTextBox" TextWrapping="Wrap" Text="{Binding ConfigPaths}" Margin="0,5,0,0" ScrollViewer.VerticalScrollBarVisibility="Auto" Loaded="FileValidator" TextChanged="FileValidator" MouseDoubleClick="FileChooser" ToolTip="MouseDoubleClick to open chooser."/>
                        </GroupBox>
                        <GroupBox Header="Test Name" Margin="10,5,10,0" VerticalAlignment="Top" Height="50">
                            <TextBox x:Name="testnameTextBox" TextWrapping="Wrap" Text="{Binding TestNames}" Margin="0,5,0,0" ScrollViewer.VerticalScrollBarVisibility="Auto" Loaded="NameValidator" TextChanged="NameValidator" />
                        </GroupBox>
                        <GroupBox Header="Output Path" Margin="10,5,10,0" VerticalAlignment="Top" Height="50">
                            <TextBox x:Name="outputPathTextBox" TextWrapping="Wrap" Text="{Binding OutputPaths}" Margin="0,5,0,0" ScrollViewer.VerticalScrollBarVisibility="Auto" Initialized="DirectoryValidator" TextChanged="DirectoryValidator" MouseDoubleClick="DirectoryChooser" ToolTip="MouseDoubleClick to open chooser."/>
                        </GroupBox>
                        <GroupBox Header="Device Name" Margin="10,5,10,0" VerticalAlignment="Top" Height="50">
                            <TextBox x:Name="deviceNameTextBox" TextWrapping="Wrap" Text="{Binding DeviceNames}" Margin="0,5,0,0" ScrollViewer.VerticalScrollBarVisibility="Auto" Loaded="NameValidator" TextChanged="NameValidator" />
                        </GroupBox>
                        <GroupBox Header="Out Board Name" Margin="10,5,10,0" VerticalAlignment="Top" Height="50">
                            <TextBox x:Name="outBoardNameTextBox" TextWrapping="Wrap" Text="{Binding OutBoardNames}" Margin="0,5,0,0" ScrollViewer.VerticalScrollBarVisibility="Auto" Loaded="NameValidator" TextChanged="NameValidator" />
                        </GroupBox>
                        <GroupBox Header="In Board Name" Margin="10,5,10,0" VerticalAlignment="Top" Height="50">
                            <TextBox x:Name="inBoardNameTextBox" TextWrapping="Wrap" Text="{Binding InBoardNames}" Margin="0,5,0,0" ScrollViewer.VerticalScrollBarVisibility="Auto" Loaded="NameValidator" TextChanged="NameValidator"/>
                        </GroupBox>
                        <GroupBox Header="Channel Name" Margin="10,5,10,0" VerticalAlignment="Top" Height="50">
                            <TextBox x:Name="channelNameTextBox" TextWrapping="Wrap" Text="{Binding ChannelNames}" Margin="0,5,0,0" ScrollViewer.VerticalScrollBarVisibility="Auto" Loaded="NameValidator" TextChanged="NameValidator"/>
                        </GroupBox>
                    </StackPanel>
                </Expander>
            </StackPanel>
        </Grid>
    </ScrollViewer>
</Window>
