Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Full Screen WPF Application with a Low-Level Keyboard Hook

, 26 Nov 2008
This application displays shapes of random sizes and colors. It's perfect for babies and toddlers who love to sit and press away at the keyboard.
<UserControl x:Class="ShapeShow.OptionsControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="248" Width="400">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Resources.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>


    <Border CornerRadius="10" BorderBrush="Black" BorderThickness="4" Background="Silver">
        <StackPanel x:Name="ButtonPanel">
            <Button Name="ClearScreen" Content="Clear Screen" Height="60" Width="Auto"
                Style="{DynamicResource OptionsButton}"></Button>
            <Button Name="ReturnButton" Content="Return To ShapeShow" Height="60" Width="Auto"
                Style="{DynamicResource OptionsButton}"></Button>
            <Button Name="CloseButton" Content="Exit ShapeShow" Height="60" Width="Auto"
                Style="{DynamicResource OptionsButton}"></Button>
        </StackPanel>
    </Border>
    
</UserControl>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Barry Dorman
Software Developer
United States United States
Barry Dorman is a software engineer from the Birmingham, AL area. His primary focus is ASP.NET. Barry graduated with a BS in Electrical Engineering from The University of Alabama at Birmingham in 2006. Since then, he has kept himself busy working in the healthcare industry.

| Advertise | Privacy | Mobile
Web03 | 2.8.140718.1 | Last Updated 26 Nov 2008
Article Copyright 2008 by Barry Dorman
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid