<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1_Demo.DemoWindow" xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <StackPanel x:Name="LayoutRoot" VerticalAlignment="Center" HorizontalAlignment="Center">
        <Button Content="Show Window..." Click="CreateWindow_Click" Margin="4" />
        <Button Content="Show Modal Window..." Click="CreateModal_Click" Margin="4" />
    </StackPanel>
</UserControl>