<Window x:Class="Commands.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Polecenia" Height="142" Width="432">
    <Window.CommandBindings>
        <CommandBinding Command="Help"
			CanExecute="HelpCanExecute" Executed="HelpExecuted"/>
    </Window.CommandBindings>
    <Window.InputBindings>
        <KeyBinding Command="Help" Key="F10"/>
        <KeyBinding Command="NotACommand" Key="F1"/>
    </Window.InputBindings>
    <DockPanel>
        <Menu DockPanel.Dock="Top">
            <MenuItem Command="Help" />
        </Menu>
        <GroupBox Header="Wprowadź numer telefonu" >
            <DockPanel >
                <StatusBar DockPanel.Dock="Bottom">
                    <TextBlock x:Name="validationStatus"/>
                </StatusBar>
                <TextBox x:Name="numberField" PreviewTextInput="NumberField_PreviewTextInput" FontWeight="Bold" FontSize="24" BorderThickness="0.5"  />
            </DockPanel>
        </GroupBox>
    </DockPanel>
</Window>

