Travail sur le control List Video et comunication entre ListVideo et FingersDance
authorsarias
Thu, 17 Sep 2009 08:31:15 +0200
changeset 72 f1ca0958c992
parent 71 31900a35e162
child 73 bda95242e600
Travail sur le control List Video et comunication entre ListVideo et FingersDance
src/FingersDance.Control.ListVideo/Butterfly.jpg
src/FingersDance.Control.ListVideo/FingersDance.Control.ListVideo.csproj
src/FingersDance.Control.ListVideo/FingersDance.Control.ListVideo.xml
src/FingersDance.Control.ListVideo/Lake.jpg
src/FingersDance.Control.ListVideo/Properties/AssemblyInfo.cs
src/FingersDance.Control.ListVideo/Properties/Resources.Designer.cs
src/FingersDance.Control.ListVideo/Properties/Resources.resx
src/FingersDance.Control.ListVideo/Properties/Settings.Designer.cs
src/FingersDance.Control.ListVideo/Properties/Settings.settings
src/FingersDance.Control.ListVideo/Resources/WindowBackground.jpg
src/FingersDance.Control.ListVideo/Resources/icon.png
src/FingersDance.Control.ListVideo/Resources/iconPreview.png
src/FingersDance.Control.ListVideo/UserControlListVideo.xaml
src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs
src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml
src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml.cs
src/FingersDance.sln
src/FingersDance/FingersDance.csproj
src/FingersDance/MainSurfaceWindow.xaml
src/FingersDance/MainSurfaceWindow.xaml.cs
src/FingersDance/Resources/Butterfly.jpg
src/FingersDance/Resources/Butterfly.wmv
src/FingersDance/Resources/Lake.jpg
Binary file src/FingersDance.Control.ListVideo/Butterfly.jpg has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.ListVideo/FingersDance.Control.ListVideo.csproj	Thu Sep 17 08:31:15 2009 +0200
@@ -0,0 +1,107 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{072436EC-FCD5-4A55-96AA-0047BF25BD37}</ProjectGuid>
+    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <RootNamespace>FingersDance.Control.ListVideo</RootNamespace>
+    <AssemblyName>FingersDance.Control.ListVideo</AssemblyName>
+    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+    <WarningLevel>4</WarningLevel>
+    <OutputType>Library</OutputType>
+    <Install>true</Install>
+    <InstallFrom>Web</InstallFrom>
+    <UpdateEnabled>true</UpdateEnabled>
+    <UpdateMode>Foreground</UpdateMode>
+    <UpdateInterval>7</UpdateInterval>
+    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
+    <UpdatePeriodically>false</UpdatePeriodically>
+    <UpdateRequired>false</UpdateRequired>
+    <MapFileExtensions>false</MapFileExtensions>
+    <ApplicationVersion>1.0.0.*</ApplicationVersion>
+    <IsWebBootstrapper>true</IsWebBootstrapper>
+    <BootstrapperEnabled>true</BootstrapperEnabled>
+    <PublishUrl>Publish\</PublishUrl>
+    <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
+    <StartupObject>
+    </StartupObject>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>.\bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugSymbols>false</DebugSymbols>
+    <Optimize>true</Optimize>
+    <OutputPath>.\bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="System" />
+    <Reference Include="System.Core">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Xml.Linq">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data.DataSetExtensions">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+    <Reference Include="WindowsBase" />
+    <Reference Include="PresentationCore" />
+    <Reference Include="PresentationFramework" />
+    <Reference Include="Microsoft.Surface" />
+    <Reference Include="Microsoft.Surface.Presentation" />
+    <Reference Include="Microsoft.Surface.Presentation.Generic" />
+    <Page Include="UserControlListVideo.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Compile Include="UserControlListVideo.xaml.cs">
+      <DependentUpon>UserControlListVideo.xaml</DependentUpon>
+    </Compile>
+    <Resource Include="Butterfly.jpg" />
+    <Resource Include="Lake.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <SubType>Designer</SubType>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+      <DependentUpon>Settings.settings</DependentUpon>
+    </Compile>
+    <AppDesigner Include="Properties\" />
+  </ItemGroup>
+  <ItemGroup>
+    <Content Include="Resources\icon.png">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Content Include="Resources\iconPreview.png">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
+    <Resource Include="FingersDance.Control.ListVideo.xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Resources\WindowBackground.jpg" />
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+</Project>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.ListVideo/FingersDance.Control.ListVideo.xml	Thu Sep 17 08:31:15 2009 +0200
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8" ?>
+
+<!--
+This file contains the information needed to install your application
+with the Surface Shell. Please refer to the documentation for deployment
+instructions.
+-->
+<ss:ApplicationInfo
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ss="http://schemas.microsoft.com/Surface/2007/ApplicationMetadata">
+  <Application>
+    <Title>FingersDance.Control.ListVideo</Title>
+    <Description>FingersDance.Control.ListVideo</Description>
+    <ExecutableFile>FingersDance.Control.ListVideo.exe</ExecutableFile>
+    <Arguments></Arguments>
+    <IconImageFile>Resources\icon.png</IconImageFile>
+    <Preview>
+      <PreviewImageFile>Resources\iconPreview.png</PreviewImageFile>
+    </Preview>
+    <Tags>
+      <!--
+      If your application uses tagged objects, please uncomment this section to register the tags with the Shell. 
+      You can register ByteTag(s), IdentityTag(s) or both by using the appropriate instructions below.
+      -->
+      <!--
+      To register ByteTags:
+      1. Please uncomment the Byte Tag Element below.
+      2. Replace "C0" below with the value of your Byte Tag (in hexadecimal format). Repeat this section (this element and its children) for other Byte Tags
+      3. Please remove the Launch element if you do not want to register the tag with Object Routing.
+      -->
+      <!--
+      <ByteTag Value="C0">
+        <Actions>
+          <Launch />
+        </Actions>
+      </ByteTag>
+      -->
+      <!--
+      To register IdentityTags:
+      1. Please uncomment the Identity Tag Element below.
+      2. Replace "0000000000000000" below with the series of your Identity Tag (in hexadecimal format). Repeat this section (this element and its children) for other Identity Tags
+      3. Please remove the Launch element if you do not want to register the tag with Object Routing.
+      -->
+      <!--
+      <IdentityTag Series="0000000000000000">
+        <Actions>
+          <Launch /> 
+        </Actions>
+      </IdentityTag>
+      -->
+    </Tags>
+  </Application>
+
+  <!--
+  Uncomment this section and comment out the Application element above
+  if you are creating an Attract Mode Application.
+  -->
+  <!--
+  <AttractApplication>
+    <ExecutableFile>FingersDance.Control.ListVideo.exe</ExecutableFile>
+    <Arguments></Arguments>
+  </AttractApplication>
+  -->
+</ss:ApplicationInfo>
\ No newline at end of file
Binary file src/FingersDance.Control.ListVideo/Lake.jpg has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.ListVideo/Properties/AssemblyInfo.cs	Thu Sep 17 08:31:15 2009 +0200
@@ -0,0 +1,62 @@
+#region Using directives
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Resources;
+using System.Globalization;
+using System.Windows;
+using System.Runtime.InteropServices;
+
+#endregion
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("FingersDance.Control.ListVideo")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("FingersDance.Control.ListVideo")]
+[assembly: AssemblyCopyright("Copyright @  2009")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set 
+//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
+//inside a <PropertyGroup>.  For example, if you are using US english
+//in your source files, set the <UICulture> to en-US.  Then uncomment
+//the NeutralResourceLanguage attribute below.  Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+// Specifies the location in which theme dictionaries are stored for types in an assembly.
+[assembly: ThemeInfo(
+    // Specifies the location of system theme-specific resource dictionaries for this project.
+    // The default setting in this project is "None" since this default project does not
+    // include these user-defined theme files:
+    //     Themes\Aero.NormalColor.xaml
+    //     Themes\Classic.xaml
+    //     Themes\Luna.Homestead.xaml
+    //     Themes\Luna.Metallic.xaml
+    //     Themes\Luna.NormalColor.xaml
+    //     Themes\Royale.NormalColor.xaml
+    ResourceDictionaryLocation.None,
+
+    // Specifies the location of the system non-theme specific resource dictionary:
+    //     Themes\generic.xaml
+    ResourceDictionaryLocation.SourceAssembly)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers 
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.*")]
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.ListVideo/Properties/Resources.Designer.cs	Thu Sep 17 08:31:15 2009 +0200
@@ -0,0 +1,72 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:2.0.50727.3074
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace FingersDance.Control.ListVideo.Properties
+{
+    using System;
+
+
+    /// <summary>
+    ///   A strongly-typed resource class, for looking up localized strings, etc.
+    /// </summary>
+    // This class was auto-generated by the StronglyTypedResourceBuilder
+    // class via a tool like ResGen or Visual Studio.
+    // To add or remove a member, edit your .ResX file then rerun ResGen
+    // with the /str option, or rebuild your VS project.
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources
+    {
+
+        private static global::System.Resources.ResourceManager resourceMan;
+
+        private static global::System.Globalization.CultureInfo resourceCulture;
+
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources()
+        {
+        }
+
+        /// <summary>
+        ///   Returns the cached ResourceManager instance used by this class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager
+        {
+            get
+            {
+                if (object.ReferenceEquals(resourceMan, null))
+                {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WPFAppTemplate.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+
+        /// <summary>
+        ///   Overrides the current thread's CurrentUICulture property for all
+        ///   resource lookups using this strongly typed resource class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture
+        {
+            get
+            {
+                return resourceCulture;
+            }
+            set
+            {
+                resourceCulture = value;
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.ListVideo/Properties/Resources.resx	Thu Sep 17 08:31:15 2009 +0200
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.ListVideo/Properties/Settings.Designer.cs	Thu Sep 17 08:31:15 2009 +0200
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:2.0.50727.3074
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace FingersDance.Control.ListVideo.Properties
+{
+
+
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+    {
+
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+        public static Settings Default
+        {
+            get
+            {
+                return defaultInstance;
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.ListVideo/Properties/Settings.settings	Thu Sep 17 08:31:15 2009 +0200
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='iso-8859-1'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>
\ No newline at end of file
Binary file src/FingersDance.Control.ListVideo/Resources/WindowBackground.jpg has changed
Binary file src/FingersDance.Control.ListVideo/Resources/icon.png has changed
Binary file src/FingersDance.Control.ListVideo/Resources/iconPreview.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.ListVideo/UserControlListVideo.xaml	Thu Sep 17 08:31:15 2009 +0200
@@ -0,0 +1,23 @@
+<UserControl
+	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"
+	x:Class="FingersDance.Control.ListVideo.UserControlListVideo"
+	x:Name="UserControl"
+	Width="404" Height="272.56" xmlns:Custom="http://schemas.microsoft.com/surface/2008" Background="{x:Null}">
+
+	<Grid x:Name="LayoutRoot" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}">
+		<Custom:SurfaceListBox IsSynchronizedWithCurrentItem="True" Background="{x:Null}" ScrollViewer.VerticalScrollBarVisibility="Hidden" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" x:Name="ListBoxVideos">
+			<StackPanel Width="404" Height="272.56" Orientation="Horizontal" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" x:Name="StackPanel">
+				<Custom:SurfaceListBoxItem Width="200" Height="200" Background="#00FFFFFF" x:Name="ItemVideo1" ContactDown="ItemVideo1_ContactDown" Selected="ItemVideo1_Selected" ContactTapGesture="ItemVideo1_ContactTapGesture">
+					<Image Width="200" Height="200" Source="Butterfly.jpg"/>
+				</Custom:SurfaceListBoxItem>
+				<Custom:SurfaceListBoxItem Width="200" Height="200" x:Name="ItemVideo2" ContactDown="ItemVideo2_ContactDown">
+					<Image Width="200" Height="200" Source="Lake.jpg"/>
+				</Custom:SurfaceListBoxItem>
+			</StackPanel>
+		</Custom:SurfaceListBox>
+	</Grid>
+</UserControl>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs	Thu Sep 17 08:31:15 2009 +0200
@@ -0,0 +1,49 @@
+using System;
+using System.IO;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Navigation;
+
+namespace FingersDance.Control.ListVideo
+{
+	public partial class UserControlListVideo
+	{
+
+        public event EventHandler EH_ItemVideo1_ContactDown;
+        public event EventHandler EH_ItemVideo2_ContactDown;
+
+		public UserControlListVideo()
+		{
+			this.InitializeComponent();
+
+			// Insert code required on object creation below this point.
+		}
+
+        private void ItemVideo1_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
+        {
+            if (EH_ItemVideo1_ContactDown != null)
+                EH_ItemVideo1_ContactDown(this, new EventArgs());
+        }
+
+        private void ItemVideo2_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
+        {
+            if (EH_ItemVideo2_ContactDown != null)
+                EH_ItemVideo2_ContactDown(this, new EventArgs());
+        }
+
+        private void ItemVideo1_Selected(object sender, RoutedEventArgs e)
+        {
+
+        }
+
+        private void ItemVideo1_ContactTapGesture(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
+        {
+            if (EH_ItemVideo1_ContactDown != null)
+                EH_ItemVideo1_ContactDown(this, new EventArgs());
+        }
+	}
+}
\ No newline at end of file
--- a/src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml	Wed Sep 16 19:32:26 2009 +0200
+++ b/src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml	Thu Sep 17 08:31:15 2009 +0200
@@ -14,7 +14,7 @@
 		<Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment, VerticalAlignment, Height" Margin="112,70.586,8,0" x:Name="ST_Alias" VerticalAlignment="Top" Text="" TextWrapping="Wrap"/>
 		<Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment, VerticalAlignment" Margin="112,92.546,8,0" x:Name="ST_Email" VerticalAlignment="Top" Text="" TextWrapping="Wrap"/>
 		<Custom:SurfaceTextBox d:LayoutOverrides="HorizontalAlignment, Height" Margin="112,0,8,59.534" x:Name="ST_Desc" VerticalAlignment="Bottom" Text="" TextWrapping="Wrap"/>
-		<Custom:SurfaceButton RenderTransformOrigin="0.5,0.5" Margin="82.321,0,123.679,5.534" VerticalAlignment="Bottom" Content="" Height="50">
+		<Custom:SurfaceButton RenderTransformOrigin="0.5,0.5" Margin="82.321,0,123.679,5.534" VerticalAlignment="Bottom" Content="" Height="50" ContactDown="SurfaceButton_ContactDown">
 			<Custom:SurfaceButton.RenderTransform>
 				<TransformGroup>
 					<ScaleTransform ScaleX="1" ScaleY="1"/>
--- a/src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml.cs	Wed Sep 16 19:32:26 2009 +0200
+++ b/src/FingersDance.Control.SessionInput/UserControlSessionInput.xaml.cs	Thu Sep 17 08:31:15 2009 +0200
@@ -18,5 +18,10 @@
 
 			// Insert code required on object creation below this point.
 		}
+
+        private void SurfaceButton_ContactDown(object sender, Microsoft.Surface.Presentation.ContactEventArgs e)
+        {
+            
+        }
 	}
 }
\ No newline at end of file
--- a/src/FingersDance.sln	Wed Sep 16 19:32:26 2009 +0200
+++ b/src/FingersDance.sln	Thu Sep 17 08:31:15 2009 +0200
@@ -35,6 +35,8 @@
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingersDance.Control.SessionInput", "FingersDance.Control.SessionInput\FingersDance.Control.SessionInput.csproj", "{4C5C068F-7D41-4563-9109-7B57485F4BED}"
 EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FingersDance.Control.ListVideo", "FingersDance.Control.ListVideo\FingersDance.Control.ListVideo.csproj", "{072436EC-FCD5-4A55-96AA-0047BF25BD37}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
@@ -163,6 +165,12 @@
 		{4C5C068F-7D41-4563-9109-7B57485F4BED}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{4C5C068F-7D41-4563-9109-7B57485F4BED}.Release|Any CPU.Build.0 = Release|Any CPU
 		{4C5C068F-7D41-4563-9109-7B57485F4BED}.Release|x86.ActiveCfg = Release|Any CPU
+		{072436EC-FCD5-4A55-96AA-0047BF25BD37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{072436EC-FCD5-4A55-96AA-0047BF25BD37}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{072436EC-FCD5-4A55-96AA-0047BF25BD37}.Debug|x86.ActiveCfg = Debug|Any CPU
+		{072436EC-FCD5-4A55-96AA-0047BF25BD37}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{072436EC-FCD5-4A55-96AA-0047BF25BD37}.Release|Any CPU.Build.0 = Release|Any CPU
+		{072436EC-FCD5-4A55-96AA-0047BF25BD37}.Release|x86.ActiveCfg = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE
--- a/src/FingersDance/FingersDance.csproj	Wed Sep 16 19:32:26 2009 +0200
+++ b/src/FingersDance/FingersDance.csproj	Thu Sep 17 08:31:15 2009 +0200
@@ -114,12 +114,17 @@
     <AppDesigner Include="Properties\" />
   </ItemGroup>
   <ItemGroup>
+    <Resource Include="Resources\Butterfly.jpg" />
+    <Content Include="Resources\Butterfly.wmv">
+      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
+    </Content>
     <Content Include="Resources\icon.png">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     <Content Include="Resources\iconPreview.png">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
+    <Resource Include="Resources\Lake.jpg" />
     <Content Include="Resources\Lake.wmv">
       <CopyToOutputDirectory>Always</CopyToOutputDirectory>
     </Content>
@@ -139,6 +144,10 @@
       <Project>{C7B905EA-0678-4DA0-8EF8-7F9CBD22818E}</Project>
       <Name>FingersDance.ActionFactory</Name>
     </ProjectReference>
+    <ProjectReference Include="..\FingersDance.Control.ListVideo\FingersDance.Control.ListVideo.csproj">
+      <Project>{072436EC-FCD5-4A55-96AA-0047BF25BD37}</Project>
+      <Name>FingersDance.Control.ListVideo</Name>
+    </ProjectReference>
     <ProjectReference Include="..\FingersDance.Control.Pivot\FingersDance.Control.Pivot.csproj">
       <Project>{0EC4C48C-132C-4926-9A09-A4135C58688C}</Project>
       <Name>FingersDance.Control.Pivot</Name>
--- a/src/FingersDance/MainSurfaceWindow.xaml	Wed Sep 16 19:32:26 2009 +0200
+++ b/src/FingersDance/MainSurfaceWindow.xaml	Thu Sep 17 08:31:15 2009 +0200
@@ -5,7 +5,6 @@
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
     xmlns:FingersDance_Control_UserPanel="clr-namespace:FingersDance.Control.UserPanel;assembly=FingersDance.Control.UserPanel"
     xmlns:FingersDance_Control_Pivot="clr-namespace:FingersDance.Control.Pivot;assembly=FingersDance.Control.Pivot"
-    xmlns:FingersDance_Control_SessionInput="clr-namespace:FingersDance.Control.SessionInput;assembly=FingersDance.Control.SessionInput"
     
     
     x:Class="FingersDance.SurfaceWindow1"
@@ -75,7 +74,5 @@
   		</s:ScatterViewItem>
   	</s:ScatterView>
 
-  	<FingersDance_Control_SessionInput1:UserControlSessionInput HorizontalAlignment="Left" VerticalAlignment="Top"/>
-
   </Grid>
 </s:SurfaceWindow>
--- a/src/FingersDance/MainSurfaceWindow.xaml.cs	Wed Sep 16 19:32:26 2009 +0200
+++ b/src/FingersDance/MainSurfaceWindow.xaml.cs	Thu Sep 17 08:31:15 2009 +0200
@@ -16,6 +16,8 @@
 using Microsoft.Surface.Presentation.Controls;
 
 using FingersDance.Control.UserPanel;
+using FingersDance.Control.ListVideo;
+using FingersDance.Control.SessionInput;
 
 namespace FingersDance
 {
@@ -169,12 +171,19 @@
 
         private void UserControlPivot_EH_SurfaceButtonPlayer1_ContactDown(object sender, EventArgs e)
         {
+            
             if (!isCreatedP1)
             {
+                UserControlListVideo ListVideo1 = new UserControlListVideo();
+                ListVideo1.Name = "ListVideo1";
+                Grid1.Children.Add(ListVideo1);
+                ListVideo1.EH_ItemVideo1_ContactDown += new System.EventHandler(this.ListVideo1_EH_ItemVideo1_ContactDown);
+                ListVideo1.EH_ItemVideo2_ContactDown += new System.EventHandler(this.ListVideo1_EH_ItemVideo2_ContactDown);
+                /*
                 UserControlUserPanel UserPanel1 = new UserControlUserPanel();
                 UserPanel1.Name = "UserPanel1";
                 Grid1.Children.Add(UserPanel1);
-                isCreatedP1 = true;
+                isCreatedP1 = true;*/
             }            
         }
 
@@ -210,5 +219,39 @@
                 isCreatedP4 = true;
             } 
         }
+
+        private void ListVideo1_EH_ItemVideo1_ContactDown(object sender, EventArgs e)
+        {
+            //Creation d'une nouvelle seance.
+            if (!isCreatedP1)
+            {
+                //
+                UserControlUserPanel UserPanel1 = new UserControlUserPanel();
+                UserPanel1.Name = "UserPanel1";
+                UserControlSessionInput SessionInput = new UserControlSessionInput();
+                SessionInput.Name = "SessionInput";
+                try{
+                    Grid actualGrid = (Grid)(((UserControlListVideo)sender).Parent);
+                    actualGrid.Children.Add(UserPanel1);
+                    actualGrid.Children.Add(SessionInput);
+                    actualGrid.Children.Remove((UserControlListVideo)sender);
+                }
+                catch (Exception ex) { }
+
+                //ActualGrid.Children.Add(UserPanel1);
+                isCreatedP1 = true;
+            }
+        }
+
+        private void ListVideo1_EH_ItemVideo2_ContactDown(object sender, EventArgs e)
+        {
+            //Creation d'une nouvelle seance.
+            UserControlSessionInput SessionInput = new UserControlSessionInput();
+
+            UserControlUserPanel UserPanel1 = new UserControlUserPanel();
+            UserPanel1.Name = "UserPanel1";
+            //ActualGrid.Children.Add(UserPanel1);
+            isCreatedP1 = true;
+        }
     }
 }
\ No newline at end of file
Binary file src/FingersDance/Resources/Butterfly.jpg has changed
Binary file src/FingersDance/Resources/Butterfly.wmv has changed
Binary file src/FingersDance/Resources/Lake.jpg has changed