<Window x:Class="SqlDynamite.ConfigWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Configuration" Height="410" Width="410" Loaded="Window_Loaded" ResizeMode="NoResize">
    <Grid>
        <ComboBox Height="23" Margin="94,32,12,0" Name="ServerType" Text="" VerticalAlignment="Top" SelectionChanged="ServerType_SelectionChanged" TabIndex="1">
        </ComboBox>
        <ComboBox Height="23" IsEnabled="False" Margin="94,61,12,0" Name="Driver" VerticalAlignment="Top" TabIndex="2" SelectionChanged="Driver_SelectionChanged" IsEditable="True" />
        <CheckBox Height="16" Margin="174,319,95,0" Name="SSPI" VerticalAlignment="Top" TabIndex="11" Checked="SSPI_Checked" Unchecked="SSPI_Unchecked">Integrated Security</CheckBox>
        <Button HorizontalAlignment="Left" Margin="12,0,0,12" Width="75" IsDefault="True" Click="button1_Click" Height="23" VerticalAlignment="Bottom" TabIndex="12">OK</Button>
        <Button Margin="0,0,12,12" IsCancel="True" Height="23" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="75" TabIndex="14">Cancel</Button>
        <Label Height="28" Margin="12,32,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="76">Server type</Label>
        <Label Height="28" HorizontalAlignment="Left" Margin="12,62,0,0" VerticalAlignment="Top" Width="76" Content="Driver"/>
        <Label HorizontalAlignment="Left" Margin="12,90,0,0" Name="label3" Width="76" Height="28" VerticalAlignment="Top">Server:Port</Label>
        <Label HorizontalAlignment="Left" Margin="12,173,0,0" Name="label4" Width="76" Height="28" VerticalAlignment="Top">Database</Label>
        <PasswordBox Margin="94,149,14,0" Name="Password" Password="" TabIndex="5" Height="23" VerticalAlignment="Top" />
        <TextBox Margin="94,120,14,0" Name="User" TabIndex="4" Height="23" VerticalAlignment="Top" TextChanged="User_TextChanged"></TextBox>
        <Label HorizontalAlignment="Left" Margin="12,118,0,0" Width="76" Height="28" VerticalAlignment="Top">User</Label>
        <Label HorizontalAlignment="Left" Margin="12,144,0,124" Width="76">Password</Label>
        <Button Height="23" Margin="0,0,151,12" VerticalAlignment="Bottom" Click="button3_Click" HorizontalAlignment="Right" Width="75" TabIndex="13">Test</Button>
        <CheckBox Margin="17,319,0,0" Name="ODBC" HorizontalAlignment="Left" Width="75" Checked="ODBC_Checked" Height="16" VerticalAlignment="Top" Unchecked="ODBC_Unchecked" TabIndex="8">ODBC</CheckBox>
        <Label Height="28" Margin="12,4,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="75">Name</Label>
        <TextBox Height="23" Margin="93,3,14,0" Name="ConnectionName" VerticalAlignment="Top" TabIndex="0" />
        <Button Margin="0,178,14,0" Name="button5" Click="button5_Click" HorizontalAlignment="Right" Width="75" Height="23" VerticalAlignment="Top" TabIndex="7">DB list</Button>
        <TextBox Height="23" Margin="94,91,14,0" Name="Server" VerticalAlignment="Top" TabIndex="3" TextChanged="Server_TextChanged" />
        <ComboBox Margin="94,178,95,0" Name="Database" IsEditable="True" Height="23" VerticalAlignment="Top" TabIndex="6" SelectionChanged="Database_SelectionChanged" KeyUp="Database_KeyUp" />
        <CheckBox Content="OLE DB" Name="OLEDB" HorizontalAlignment="Left" Margin="97,319,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.016,-0.769" Checked="CheckBox_Checked" Unchecked="CheckBox_Unchecked" TabIndex="10"/>
        <RichTextBox Height="107" Margin="12,207,14,0" Name="ConnectionStringEntry" VerticalAlignment="Top" IsReadOnly="True" VerticalScrollBarVisibility="Auto" />
    </Grid>
</Window>
