<Window x:Class="BNEBotManager.OpenConnectionDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Name="OpenConnectionDlg"
Title="Open New Connection" Height="200" Width="300"
WindowStyle="SingleBorderWindow" ResizeMode="CanMinimize" WindowStartupLocation="CenterOwner">
<Grid Margin="2">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid Grid.Row="0">
<StackPanel HorizontalAlignment="Stretch">
<TextBlock Text="URL" />
<TextBox Text="{Binding TextUrl, ElementName=OpenConnectionDlg}" />
<TextBlock Text="Port" />
<TextBox Text="{Binding TextPort, ElementName=OpenConnectionDlg}" />
<Button HorizontalAlignment="Right" Margin="0,2,0,0" MinWidth="80">Test</Button>
</StackPanel>
</Grid>
<StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Right">
<Button IsDefault="True" MinWidth="80" Margin="0,0,4,0"
Click="OK_Click">OK</Button>
<Button IsCancel="True" MinWidth="80">Cancel</Button>
</StackPanel>
</Grid>
</Window>