<Window x:Class="WPF_19_Opening_ustomWindowsShowShowDialog.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        Background="#333333"
        WindowStyle="None" MouseLeftButtonDown="MainWindow_OnMouseLeftButtonDown"
        Title="MainWindow" Height="450" Width="800">
    <WindowChrome.WindowChrome>
        <WindowChrome GlassFrameThickness="0" CornerRadius="0" CaptionHeight="0" />
    </WindowChrome.WindowChrome>

    <Grid>
        <StackPanel>
            <Button Name="NormalButton" Width="100" Height="40" Margin="5" Click="NormalButton_OnClick">Normal</Button>
            <Button Name="ModalButton" Width="100" Height="40" Margin="5" Click="ModalButton_OnClick">Modal</Button>
            <TextBox Name="InputTextBox" Width="200" Height="40" />
        </StackPanel>
    </Grid>
</Window>