forked from diegose/NHPad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ConnectionDialog.xaml
19 lines (19 loc) · 1.18 KB
/
ConnectionDialog.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<Window x:Class="NHPad.ConnectionDialog"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:NHPad="clr-namespace:NHPad"
Title="NHibernate Configuration"
WindowStartupLocation="CenterOwner"
mc:Ignorable="d" MinWidth="400" MinHeight="150" Width="400" Height="150"
d:DesignHeight="150" d:DesignWidth="400"
d:DataContext="{d:DesignInstance NHPad:DriverDataWrapper}">
<DockPanel LastChildFill="False">
<Label DockPanel.Dock="Top">Assembly exposing ISessionFactory:</Label>
<TextBox DockPanel.Dock="Top" Text="{Binding ClientAssembly}"/>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" DockPanel.Dock="Bottom">
<Button DockPanel.Dock="Right" Content="OK" IsDefault="True" Click="HandleOk" MinWidth="50" Margin="5" />
<Button DockPanel.Dock="Right" Content="Cancel" IsCancel="True" MinWidth="50" Margin="5"/>
</StackPanel>
</DockPanel>
</Window>