Click here to Skip to main content
11,925,292 members (57,820 online)
Click here to Skip to main content


79 bookmarked

Kinect Reception

, 12 Jan 2012 Ms-PL
TV Screen in the Reception, When nothing happens (no one is in the reception) we can display videos on the screen but when someone enters the frame show him the Kinect Image, and if the user is doing something funny, capture his image and save it.
	x:Name="UserControl" Height="601" Width="591">

	<Grid x:Name="LayoutRoot">
		<Grid x:Name="PreviewPanel" Margin="0" Height="600" Width="590">
				<ColumnDefinition Width="0.099*"/>
				<ColumnDefinition Width="0.809*"/>
				<ColumnDefinition Width="0.092*"/>
				<RowDefinition Height="0.108*"/>
				<RowDefinition Height="0.11*"/>
				<RowDefinition Height="0.03*"/>
				<RowDefinition Height="0.624*"/>
				<RowDefinition Height="0.129*"/>
			<Image Margin="-0.462,-15.834,0,0"  Grid.RowSpan="5" Source="/KinectReception;component/Images/PictureFrame1.png" HorizontalAlignment="Left" Width="590.462" Height="607.834" VerticalAlignment="Top" Grid.ColumnSpan="3" />
			<TextBlock x:Name="txtDisplayText" Margin="65.5,0,0,0" TextWrapping="Wrap" Text="יפה מאוד" TextAlignment="Center" FontSize="48" FontWeight="Bold" Grid.Row="1" HorizontalAlignment="Left" Width="360" Grid.Column="1"/>
			<Border Margin="2.5,4.29,0,0" Grid.Row="3" BorderBrush="White" BorderThickness="5" HorizontalAlignment="Left" Width="470" Height="365" VerticalAlignment="Top" Grid.Column="1" CornerRadius="3">
				<Image Height="362" Margin="0" x:Name="PreviewPicture" Stretch="Fill" VerticalAlignment="Bottom" Grid.Row="2" />
			<TextBlock x:Name="lblScore" Margin="88,8,0,34.389" TextWrapping="Wrap" Text="- ניקוד" TextAlignment="Center" FontSize="24" FontWeight="Bold" Grid.Row="4" HorizontalAlignment="Left" Width="88" Grid.Column="1" RenderTransformOrigin="0.5,0.5" d:LayoutOverrides="HorizontalAlignment"/>
			<TextBlock x:Name="txtScore" Margin="8,8,0,34.389" TextWrapping="Wrap" Text="0" TextAlignment="Right" FontSize="24" FontWeight="Bold" Grid.Row="4" HorizontalAlignment="Left" Width="76" Grid.Column="1" RenderTransformOrigin="0.5,0.5" d:LayoutOverrides="HorizontalAlignment"/>

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.


This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)


About the Author

Shai Raiten
Architect Sela
Israel Israel
Shai Raiten is VS ALM MVP, currently working for Sela Group as a ALM senior consultant and trainer specializes in Microsoft technologies especially Team System and .NET technology. He is currently consulting in various enterprises in Israel, planning and analysis Load and performance problems using Team System, building Team System customizations and adjusts ALM processes for enterprises. Shai is known as one of the top Team System experts in Israel. He conducts lectures and workshops for developers\QA and enterprises who want to specialize in Team System.

My Blog:

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.151126.1 | Last Updated 12 Jan 2012
Article Copyright 2011 by Shai Raiten
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid