<controls:ChildWindow
  x:Class="RadDataFormAndRIA.LoginUI.LoginRegistrationWindow"
  x:Name="childWindow" 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
  xmlns:local="clr-namespace:RadDataFormAndRIA.LoginUI"
  MinWidth="400" 
  Title="{Binding Path=Strings.LoginWindowTitle, Source={StaticResource ApplicationResources}}"
  Style="{StaticResource LogRegWindowStyle}"
  Closing="LoginWindow_Closing">

    <Grid x:Name="LayoutRoot" >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <local:LoginForm x:Name="loginForm" Grid.Row="0"/>
        <local:RegistrationForm x:Name="registrationForm" Grid.Row="0" />

    </Grid>

</controls:ChildWindow>