Deplacement du customlistboxitem vers control
authorPAMPHILE Jonathan <pamphile@efrei.fr>
Wed, 14 Oct 2009 14:06:04 +0200
changeset 149 df197df887d3
parent 148 c379899e9c94
child 150 569925b65604
Deplacement du customlistboxitem vers control
src/FingersDance.Control.ListVideo/CustomListBoxItem.cs
src/FingersDance.Control.ListVideo/FingersDance.Control.ListVideo.csproj
src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs
--- a/src/FingersDance.Control.ListVideo/CustomListBoxItem.cs	Wed Oct 14 14:02:31 2009 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Microsoft.Surface;
-using Microsoft.Surface.Presentation;
-using Microsoft.Surface.Presentation.Controls;
-
-namespace FingersDance.Control.ListVideo
-{
-    public class CustomListBoxItem:SurfaceListBoxItem
-    {
-        public string Name = ""; 
-        public string Path = "";
-    }
-}
--- a/src/FingersDance.Control.ListVideo/FingersDance.Control.ListVideo.csproj	Wed Oct 14 14:02:31 2009 +0200
+++ b/src/FingersDance.Control.ListVideo/FingersDance.Control.ListVideo.csproj	Wed Oct 14 14:06:04 2009 +0200
@@ -86,7 +86,6 @@
     <Resource Include="Lake.jpg" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="CustomListBoxItem.cs" />
     <Compile Include="ListVideo.cs" />
     <Compile Include="ListVideoItem.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
@@ -123,5 +122,11 @@
   <ItemGroup>
     <Resource Include="Resources\WindowBackground.jpg" />
   </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\FingersDance.Control\FingersDance.Control.csproj">
+      <Project>{4DC517DD-1601-481E-BAAC-6FE271417F46}</Project>
+      <Name>FingersDance.Control</Name>
+    </ProjectReference>
+  </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
 </Project>
\ No newline at end of file
--- a/src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs	Wed Oct 14 14:02:31 2009 +0200
+++ b/src/FingersDance.Control.ListVideo/UserControlListVideo.xaml.cs	Wed Oct 14 14:06:04 2009 +0200
@@ -14,6 +14,7 @@
 using System.Windows.Media.Imaging;
 using System.Xml.Serialization;
 using System.Reflection;
+using FingersDance.Control;
 
 namespace FingersDance.Control.ListVideo
 {