-J'ai crée un petit de test avec 4 Grid qui suivent la position d'une elipse quand celle-ci est bougé par quelqu'un.
Cette idée peut être utilisé pour la gestion des 4 interface utilisateur de "FingerDance" (selon la position de la "sphere à 4 couleur")
-Pour pouvoir tester les events vous devez dabord demmarer le "surface simulation"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil.sln Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,20 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GridMovil", "GridMovil\GridMovil.csproj", "{639D010F-88E9-41D7-9283-E98D6BDCDA8B}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {639D010F-88E9-41D7-9283-E98D6BDCDA8B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {639D010F-88E9-41D7-9283-E98D6BDCDA8B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {639D010F-88E9-41D7-9283-E98D6BDCDA8B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {639D010F-88E9-41D7-9283-E98D6BDCDA8B}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil.sln.cache Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,115 @@
+<Project DefaultTargets="Build" ToolsVersion="3.5" InitialTargets="ValidateSolutionConfiguration;ValidateToolsVersions" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <_SolutionProjectConfiguration>Debug|Any CPU</_SolutionProjectConfiguration>
+ <_SolutionProjectToolsVersion>3.5</_SolutionProjectToolsVersion>
+ <_SolutionProjectCacheVersion>3.5</_SolutionProjectCacheVersion>
+ </PropertyGroup>
+ <ItemGroup>
+ <_SolutionProjectProjects Include="GridMovil\GridMovil.csproj" />
+ </ItemGroup>
+ <ItemGroup Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Any CPU') ">
+ <BuildLevel0 Include="GridMovil\GridMovil.csproj">
+ <Configuration>Debug</Configuration>
+ <Platform>AnyCPU</Platform>
+ </BuildLevel0>
+ </ItemGroup>
+ <ItemGroup Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Any CPU') ">
+ <BuildLevel0 Include="GridMovil\GridMovil.csproj">
+ <Configuration>Release</Configuration>
+ <Platform>AnyCPU</Platform>
+ </BuildLevel0>
+ </ItemGroup>
+ <UsingTask TaskName="Microsoft.Build.Tasks.CreateTemporaryVCProject" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ <UsingTask TaskName="Microsoft.Build.Tasks.ResolveVCProjectOutput" AssemblyName="Microsoft.Build.Tasks.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
+ <PropertyGroup Condition=" '$(Configuration)' == '' ">
+ <Configuration>Debug</Configuration>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Platform)' == '' ">
+ <Platform>Any CPU</Platform>
+ </PropertyGroup>
+ <PropertyGroup Condition=" ('$(AspNetConfiguration)' == '') ">
+ <AspNetConfiguration>$(Configuration)</AspNetConfiguration>
+ </PropertyGroup>
+ <PropertyGroup>
+ <SolutionDir>C:\Users\santiago\Desktop\Grild-Movil\GridMovil\</SolutionDir>
+ <SolutionExt>.sln</SolutionExt>
+ <SolutionFileName>GridMovil.sln</SolutionFileName>
+ <SolutionName>GridMovil</SolutionName>
+ <SolutionPath>C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil.sln</SolutionPath>
+ </PropertyGroup>
+ <PropertyGroup>
+ <TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == '' and '$(MSBuildToolsVersion)' == '2.0'">v2.0</TargetFrameworkVersion>
+ <TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == '' and '$(MSBuildToolsVersion)' != '2.0'">v3.5</TargetFrameworkVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Any CPU') ">
+ <CurrentSolutionConfigurationContents>
+ <SolutionConfiguration xmlns="">
+ <ProjectConfiguration Project="{639D010F-88E9-41D7-9283-E98D6BDCDA8B}">Debug|AnyCPU</ProjectConfiguration>
+ </SolutionConfiguration>
+ </CurrentSolutionConfigurationContents>
+ </PropertyGroup>
+ <PropertyGroup Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Any CPU') ">
+ <CurrentSolutionConfigurationContents>
+ <SolutionConfiguration xmlns="">
+ <ProjectConfiguration Project="{639D010F-88E9-41D7-9283-E98D6BDCDA8B}">Release|AnyCPU</ProjectConfiguration>
+ </SolutionConfiguration>
+ </CurrentSolutionConfigurationContents>
+ </PropertyGroup>
+ <Target Name="ValidateSolutionConfiguration">
+ <Error Text="The specified solution configuration "$(Configuration)|$(Platform)" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration." Code="MSB4126" HelpKeyword="MSBuild.SolutionInvalidSolutionConfiguration" Condition="('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidConfigurations)' != 'true')" />
+ <Warning Text="The specified solution configuration "$(Configuration)|$(Platform)" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration." Code="MSB4126" HelpKeyword="MSBuild.SolutionInvalidSolutionConfiguration" Condition="('$(CurrentSolutionConfigurationContents)' == '') and ('$(SkipInvalidConfigurations)' == 'true')" />
+ <Message Text="Building solution configuration "$(Configuration)|$(Platform)"." Condition="'$(CurrentSolutionConfigurationContents)' != ''" />
+ </Target>
+ <Target Name="ValidateToolsVersions">
+ <Error Text="The tools version "$(MSBuildToolsVersion)" of the solution does not support building projects with a different tools version." Code="MSB4149" HelpKeyword="MSBuild.SolutionToolsVersionDoesNotSupportProjectToolsVersion" Condition="'$(MSBuildToolsVersion)' == '2.0' and ('$(ProjectToolsVersion)' != '2.0' and '$(ProjectToolsVersion)' != '')" />
+ </Target>
+ <Target Name="GridMovil" Condition="'$(CurrentSolutionConfigurationContents)' != ''" Outputs="@(GridMovilBuildOutput)">
+ <MSBuild Projects="GridMovil\GridMovil.csproj" Properties="Configuration=Debug; Platform=AnyCPU; BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" ToolsVersion="$(ProjectToolsVersion)" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Any CPU') ">
+ <Output TaskParameter="TargetOutputs" ItemName="GridMovilBuildOutput" />
+ </MSBuild>
+ <MSBuild Projects="GridMovil\GridMovil.csproj" Properties="Configuration=Release; Platform=AnyCPU; BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" ToolsVersion="$(ProjectToolsVersion)" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Any CPU') ">
+ <Output TaskParameter="TargetOutputs" ItemName="GridMovilBuildOutput" />
+ </MSBuild>
+ </Target>
+ <Target Name="GridMovil:Clean" Condition="'$(CurrentSolutionConfigurationContents)' != ''">
+ <MSBuild Projects="GridMovil\GridMovil.csproj" Targets="Clean" Properties="Configuration=Debug; Platform=AnyCPU; BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" ToolsVersion="$(ProjectToolsVersion)" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Any CPU') " />
+ <MSBuild Projects="GridMovil\GridMovil.csproj" Targets="Clean" Properties="Configuration=Release; Platform=AnyCPU; BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" ToolsVersion="$(ProjectToolsVersion)" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Any CPU') " />
+ </Target>
+ <Target Name="GridMovil:Rebuild" Condition="'$(CurrentSolutionConfigurationContents)' != ''" Outputs="@(GridMovilBuildOutput)">
+ <MSBuild Projects="GridMovil\GridMovil.csproj" Targets="Rebuild" Properties="Configuration=Debug; Platform=AnyCPU; BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" ToolsVersion="$(ProjectToolsVersion)" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Any CPU') ">
+ <Output TaskParameter="TargetOutputs" ItemName="GridMovilBuildOutput" />
+ </MSBuild>
+ <MSBuild Projects="GridMovil\GridMovil.csproj" Targets="Rebuild" Properties="Configuration=Release; Platform=AnyCPU; BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" ToolsVersion="$(ProjectToolsVersion)" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Any CPU') ">
+ <Output TaskParameter="TargetOutputs" ItemName="GridMovilBuildOutput" />
+ </MSBuild>
+ </Target>
+ <Target Name="GridMovil:Publish" Condition="'$(CurrentSolutionConfigurationContents)' != ''">
+ <MSBuild Projects="GridMovil\GridMovil.csproj" Targets="Publish" Properties="Configuration=Debug; Platform=AnyCPU; BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" ToolsVersion="$(ProjectToolsVersion)" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" Condition=" ('$(Configuration)' == 'Debug') and ('$(Platform)' == 'Any CPU') " />
+ <MSBuild Projects="GridMovil\GridMovil.csproj" Targets="Publish" Properties="Configuration=Release; Platform=AnyCPU; BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" ToolsVersion="$(ProjectToolsVersion)" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" Condition=" ('$(Configuration)' == 'Release') and ('$(Platform)' == 'Any CPU') " />
+ </Target>
+ <Target Name="Build" Condition="'$(CurrentSolutionConfigurationContents)' != ''" Outputs="@(CollectedBuildOutput)">
+ <MSBuild Condition="@(BuildLevel0) != ''" Projects="@(BuildLevel0)" Properties="Configuration=%(Configuration); Platform=%(Platform); BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" ToolsVersion="$(ProjectToolsVersion)" BuildInParallel="true" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)">
+ <Output TaskParameter="TargetOutputs" ItemName="CollectedBuildOutput" />
+ </MSBuild>
+ <Message Text="The project "%(SkipLevel0.Identity)" is not selected for building in solution configuration "$(Configuration)|$(Platform)"." Condition="@(SkipLevel0) != ''" />
+ <Warning Text="The project configuration for project "%(MissingConfigLevel0.Identity)" was not specified in the solution file for the solution configuration "$(Configuration)|$(Platform)"." Code="MSB4121" HelpKeyword="MSBuild.SolutionProjectConfigurationMissing" Condition="@(MissingConfigLevel0) != ''" />
+ </Target>
+ <Target Name="Clean" Condition="'$(CurrentSolutionConfigurationContents)' != ''">
+ <MSBuild Condition="@(BuildLevel0) != ''" Projects="@(BuildLevel0)" Properties="Configuration=%(Configuration); Platform=%(Platform); BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" Targets="Clean" ToolsVersion="$(ProjectToolsVersion)" BuildInParallel="true" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" />
+ <Message Text="The project "%(SkipLevel0.Identity)" is not selected for building in solution configuration "$(Configuration)|$(Platform)"." Condition="@(SkipLevel0) != ''" />
+ <Warning Text="The project configuration for project "%(MissingConfigLevel0.Identity)" was not specified in the solution file for the solution configuration "$(Configuration)|$(Platform)"." Code="MSB4121" HelpKeyword="MSBuild.SolutionProjectConfigurationMissing" Condition="@(MissingConfigLevel0) != ''" />
+ <Delete Files="GridMovil.sln.cache" />
+ </Target>
+ <Target Name="Rebuild" Condition="'$(CurrentSolutionConfigurationContents)' != ''" Outputs="@(CollectedBuildOutput)">
+ <MSBuild Condition="@(BuildLevel0) != ''" Projects="@(BuildLevel0)" Properties="Configuration=%(Configuration); Platform=%(Platform); BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" Targets="Rebuild" ToolsVersion="$(ProjectToolsVersion)" BuildInParallel="true" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)">
+ <Output TaskParameter="TargetOutputs" ItemName="CollectedBuildOutput" />
+ </MSBuild>
+ <Message Text="The project "%(SkipLevel0.Identity)" is not selected for building in solution configuration "$(Configuration)|$(Platform)"." Condition="@(SkipLevel0) != ''" />
+ <Warning Text="The project configuration for project "%(MissingConfigLevel0.Identity)" was not specified in the solution file for the solution configuration "$(Configuration)|$(Platform)"." Code="MSB4121" HelpKeyword="MSBuild.SolutionProjectConfigurationMissing" Condition="@(MissingConfigLevel0) != ''" />
+ </Target>
+ <Target Name="Publish" Condition="'$(CurrentSolutionConfigurationContents)' != ''">
+ <MSBuild Condition="@(BuildLevel0) != ''" Projects="@(BuildLevel0)" Properties="Configuration=%(Configuration); Platform=%(Platform); BuildingSolutionFile=true; CurrentSolutionConfigurationContents=$(CurrentSolutionConfigurationContents); SolutionDir=$(SolutionDir); SolutionExt=$(SolutionExt); SolutionFileName=$(SolutionFileName); SolutionName=$(SolutionName); SolutionPath=$(SolutionPath)" Targets="Publish" ToolsVersion="$(ProjectToolsVersion)" BuildInParallel="true" UnloadProjectsOnCompletion="$(UnloadProjectsOnCompletion)" UseResultsCache="$(UseResultsCache)" />
+ <Message Text="The project "%(SkipLevel0.Identity)" is not selected for building in solution configuration "$(Configuration)|$(Platform)"." Condition="@(SkipLevel0) != ''" />
+ <Warning Text="The project configuration for project "%(MissingConfigLevel0.Identity)" was not specified in the solution file for the solution configuration "$(Configuration)|$(Platform)"." Code="MSB4121" HelpKeyword="MSBuild.SolutionProjectConfigurationMissing" Condition="@(MissingConfigLevel0) != ''" />
+ </Target>
+</Project>
\ No newline at end of file
Binary file Tests/Grild-Movil/GridMovil/GridMovil.suo has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/App.xaml Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,13 @@
+<Application x:Class="GridMovil.App"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ StartupUri="SurfaceWindow1.xaml"
+ >
+ <Application.Resources>
+ <ResourceDictionary>
+ <ResourceDictionary.MergedDictionaries>
+ <ResourceDictionary Source="/Microsoft.Surface.Presentation.Generic;v1.0.0.0;31bf3856ad364e35;component/themes\generic.xaml"/>
+ </ResourceDictionary.MergedDictionaries>
+ </ResourceDictionary>
+ </Application.Resources>
+</Application>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/App.xaml.cs Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Windows;
+
+namespace GridMovil
+{
+ /// <summary>
+ /// Interaction logic for App.xaml
+ /// </summary>
+ public partial class App : Application
+ {
+
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/GridMovil.csproj Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,115 @@
+<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>{639D010F-88E9-41D7-9283-E98D6BDCDA8B}</ProjectGuid>
+ <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <RootNamespace>GridMovil</RootNamespace>
+ <AssemblyName>GridMovil</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <WarningLevel>4</WarningLevel>
+ <OutputType>winexe</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>
+ </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" />
+ </ItemGroup>
+ <ItemGroup>
+ <ApplicationDefinition Include="App.xaml">
+ <Generator>MSBuild:Compile</Generator>
+ <SubType>Designer</SubType>
+ </ApplicationDefinition>
+ <Compile Include="App.xaml.cs">
+ <DependentUpon>App.xaml</DependentUpon>
+ <SubType>Code</SubType>
+ </Compile>
+ </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>
+ <Compile Include="SurfaceWindow1.xaml.cs">
+ <DependentUpon>SurfaceWindow1.xaml</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="GridMovil.xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Resource Include="Resources\WindowBackground.jpg" />
+ </ItemGroup>
+ <ItemGroup>
+ <Page Include="SurfaceWindow1.xaml">
+ <Generator>MSBuild:Compile</Generator>
+ <SubType>Designer</SubType>
+ </Page>
+ </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/Tests/Grild-Movil/GridMovil/GridMovil/GridMovil.xml Tue Jul 07 08:05:05 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>GridMovil</Title>
+ <Description>GridMovil</Description>
+ <ExecutableFile>GridMovil.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>GridMovil.exe</ExecutableFile>
+ <Arguments></Arguments>
+ </AttractApplication>
+ -->
+</ss:ApplicationInfo>
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/Properties/AssemblyInfo.cs Tue Jul 07 08:05:05 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("GridMovil")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("GridMovil")]
+[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/Tests/Grild-Movil/GridMovil/GridMovil/Properties/Resources.Designer.cs Tue Jul 07 08:05:05 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 GridMovil.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/Tests/Grild-Movil/GridMovil/GridMovil/Properties/Resources.resx Tue Jul 07 08:05:05 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/Tests/Grild-Movil/GridMovil/GridMovil/Properties/Settings.Designer.cs Tue Jul 07 08:05:05 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 GridMovil.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/Tests/Grild-Movil/GridMovil/GridMovil/Properties/Settings.settings Tue Jul 07 08:05:05 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 Tests/Grild-Movil/GridMovil/GridMovil/Resources/WindowBackground.jpg has changed
Binary file Tests/Grild-Movil/GridMovil/GridMovil/Resources/icon.png has changed
Binary file Tests/Grild-Movil/GridMovil/GridMovil/Resources/iconPreview.png has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/SurfaceWindow1.xaml Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,55 @@
+<s:SurfaceWindow
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:s="http://schemas.microsoft.com/surface/2008"
+ x:Class="GridMovil.SurfaceWindow1"
+ Title="GridMovil"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Name="my_surfaceWindow" Width="1024" Height="768"
+ >
+ <s:SurfaceWindow.Resources>
+ <ImageBrush x:Key="WindowBackground" Stretch="None" Opacity="0.6" ImageSource="pack://application:,,,/Resources/WindowBackground.jpg"/>
+ </s:SurfaceWindow.Resources>
+
+ <Grid Background="{StaticResource WindowBackground}" x:Name="gridMovil" Height="768" Width="1024" >
+ <Label HorizontalAlignment="Right" Margin="0,27,223,0" VerticalAlignment="Top" Width="102" Height="27" Content="LabelgridMovil" x:Name="labelX"/>
+ <Label x:Name="labelY" Width="102" Height="27" Content="LabelgridMovil" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,79,223,0"/>
+ <Grid HorizontalAlignment="Left" Width="1" x:Name="grid1" Background="#3FFF0000" Margin="0,0,0,0" Height="1" VerticalAlignment="Top"/>
+ <Grid VerticalAlignment="Bottom" Height="376.5" x:Name="grid2" Background="#3F24FF03" Margin="0,0,0,0.016" RenderTransformOrigin="0,0" Width="434.787" HorizontalAlignment="Left">
+ <Rectangle Fill="{x:Null}" Stroke="#FF000000" RenderTransformOrigin="0.986,0.967" x:Name="myrect_grid_auto" StrokeThickness="1" Margin="175.5,103.608,175.833,185.392" Width="Auto" Height="Auto" RadiusX="13.516" RadiusY="13.516">
+ <Rectangle.RenderTransform>
+ <TransformGroup>
+ <ScaleTransform ScaleX="1" ScaleY="-1"/>
+ <SkewTransform AngleX="0" AngleY="0"/>
+ <RotateTransform Angle="0"/>
+ <TranslateTransform X="0" Y="0"/>
+ </TransformGroup>
+ </Rectangle.RenderTransform>
+ </Rectangle>
+ <Rectangle Fill="#7E95E80D" Stroke="#FF000000" RenderTransformOrigin="0.986,0.967" x:Name="myrect_grid2_fixe" StrokeThickness="1" Height="45" RadiusX="13.516" RadiusY="13.516" HorizontalAlignment="Right" Margin="0,-25.5,54.333,0" VerticalAlignment="Top" Width="45">
+ <Rectangle.RenderTransform>
+ <TransformGroup>
+ <ScaleTransform ScaleX="1" ScaleY="-1"/>
+ <SkewTransform AngleX="0" AngleY="0"/>
+ <RotateTransform Angle="0"/>
+ <TranslateTransform X="0" Y="0"/>
+ </TransformGroup>
+ </Rectangle.RenderTransform>
+ </Rectangle>
+ </Grid>
+ <Grid HorizontalAlignment="Right" Width="1" x:Name="grid3" Background="#3F00BFFF" Margin="0,0,0,0" Height="1" VerticalAlignment="Bottom"/>
+ <Grid HorizontalAlignment="Right" Width="1" x:Name="grid4" Background="#3FFF00FD" Height="1" VerticalAlignment="Top"/>
+ <Rectangle HorizontalAlignment="Left" VerticalAlignment="Top" Width="0" Height="0" Fill="{x:Null}" Stroke="#FF000000" RenderTransformOrigin="0.986,0.967" x:Name="myrect" StrokeThickness="1"/>
+ <s:ScatterView ContactDown="ScatterView_ContactDown" x:Name="my_scaterview" ContactChanged="my_scaterview_ContactChanged">
+ <Ellipse d:LayoutOverrides="Width, Height" Width="55" Height="55" Fill="#FF101010" Stroke="#FF000000" x:Name="elipse" RenderTransformOrigin="0.5,0.5" MouseDown="elipse_MouseDown">
+ <Ellipse.RenderTransform>
+ <TransformGroup>
+ <ScaleTransform ScaleX="1" ScaleY="1"/>
+ <SkewTransform AngleX="0" AngleY="0"/>
+ <RotateTransform Angle="0"/>
+ <TranslateTransform X="0" Y="0"/>
+ </TransformGroup>
+ </Ellipse.RenderTransform>
+ </Ellipse>
+ </s:ScatterView>
+ </Grid>
+</s:SurfaceWindow>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/SurfaceWindow1.xaml.cs Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,137 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+using System.Windows.Threading;
+using Microsoft.Surface;
+using Microsoft.Surface.Presentation;
+using Microsoft.Surface.Presentation.Controls;
+
+namespace GridMovil
+{
+ /// <summary>
+ /// Interaction logic for SurfaceWindow1.xaml
+ /// </summary>
+ public partial class SurfaceWindow1 : SurfaceWindow
+ {
+ /// <summary>
+ /// Default constructor.
+ /// </summary>
+ public SurfaceWindow1()
+ {
+ InitializeComponent();
+
+ // Add handlers for Application activation events
+ AddActivationHandlers();
+ }
+
+
+ /// <summary>
+ /// Occurs when the window is about to close.
+ /// </summary>
+ /// <param name="e"></param>
+ protected override void OnClosed(EventArgs e)
+ {
+ base.OnClosed(e);
+
+ // Remove handlers for Application activation events
+ RemoveActivationHandlers();
+ }
+
+ /// <summary>
+ /// Adds handlers for Application activation events.
+ /// </summary>
+ private void AddActivationHandlers()
+ {
+ // Subscribe to surface application activation events
+ ApplicationLauncher.ApplicationActivated += OnApplicationActivated;
+ ApplicationLauncher.ApplicationPreviewed += OnApplicationPreviewed;
+ ApplicationLauncher.ApplicationDeactivated += OnApplicationDeactivated;
+ }
+
+ /// <summary>
+ /// Removes handlers for Application activation events.
+ /// </summary>
+ private void RemoveActivationHandlers()
+ {
+ // Unsubscribe from surface application activation events
+ ApplicationLauncher.ApplicationActivated -= OnApplicationActivated;
+ ApplicationLauncher.ApplicationPreviewed -= OnApplicationPreviewed;
+ ApplicationLauncher.ApplicationDeactivated -= OnApplicationDeactivated;
+ }
+
+ /// <summary>
+ /// This is called when application has been activated.
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void OnApplicationActivated(object sender, EventArgs e)
+ {
+ //TODO: enable audio, animations here
+ }
+
+ /// <summary>
+ /// This is called when application is in preview mode.
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void OnApplicationPreviewed(object sender, EventArgs e)
+ {
+ //TODO: Disable audio here if it is enabled
+
+ //TODO: optionally enable animations here
+ }
+
+ /// <summary>
+ /// This is called when application has been deactivated.
+ /// </summary>
+ /// <param name="sender"></param>
+ /// <param name="e"></param>
+ private void OnApplicationDeactivated(object sender, EventArgs e)
+ {
+ //TODO: disable audio, animations here
+ }
+ private void ScatterView_ContactDown(object sender, ContactEventArgs e)
+ {
+ }
+
+ private void elipse_MouseDown(object sender, MouseButtonEventArgs e)
+ {
+ }
+
+ private void my_scaterview_ContactChanged(object sender, ContactEventArgs e)
+ {
+
+ labelX.Content=e.GetPosition(my_surfaceWindow).X.ToString();
+ labelY.Content = e.GetPosition(my_surfaceWindow).Y.ToString();
+ try
+ {
+
+ myrect.Width = e.GetPosition(my_surfaceWindow).X;
+ myrect.Height = e.GetPosition(my_surfaceWindow).Y;
+
+ grid1.Width = e.GetPosition(my_surfaceWindow).X;
+ grid1.Height = e.GetPosition(my_surfaceWindow).Y;
+
+ grid2.Width = e.GetPosition(my_surfaceWindow).X;
+ grid2.Height = 768 -e.GetPosition(my_surfaceWindow).Y;
+
+ grid3.Width = 1024 - e.GetPosition(my_surfaceWindow).X;
+ grid3.Height = 768- e.GetPosition(my_surfaceWindow).Y;
+
+ grid4.Width = 1024-e.GetPosition(my_surfaceWindow).X;
+ grid4.Height = e.GetPosition(my_surfaceWindow).Y;
+
+ }
+ catch(Exception ex){}
+ }
+ }
+}
\ No newline at end of file
Binary file Tests/Grild-Movil/GridMovil/GridMovil/bin/Debug/GridMovil.exe has changed
Binary file Tests/Grild-Movil/GridMovil/GridMovil/bin/Debug/GridMovil.pdb has changed
Binary file Tests/Grild-Movil/GridMovil/GridMovil/bin/Debug/GridMovil.vshost.exe has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/bin/Debug/GridMovil.vshost.exe.manifest Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+ <security>
+ <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
+ <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
+ </requestedPrivileges>
+ </security>
+ </trustInfo>
+</assembly>
Binary file Tests/Grild-Movil/GridMovil/GridMovil/bin/Debug/Resources/icon.png has changed
Binary file Tests/Grild-Movil/GridMovil/GridMovil/bin/Debug/Resources/iconPreview.png has changed
Binary file Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/App.baml has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/App.g.cs Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,78 @@
+#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "871EAF47221728C3142D04CAFA107C04"
+//------------------------------------------------------------------------------
+// <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>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+
+namespace GridMovil {
+
+
+ /// <summary>
+ /// App
+ /// </summary>
+ public partial class App : System.Windows.Application {
+
+ private bool _contentLoaded;
+
+ /// <summary>
+ /// InitializeComponent
+ /// </summary>
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+
+ #line 4 "..\..\App.xaml"
+ this.StartupUri = new System.Uri("SurfaceWindow1.xaml", System.UriKind.Relative);
+
+ #line default
+ #line hidden
+ System.Uri resourceLocater = new System.Uri("/GridMovil;component/app.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\App.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ /// <summary>
+ /// Application Entry Point.
+ /// </summary>
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public static void Main() {
+ GridMovil.App app = new GridMovil.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
Binary file Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/GridMovil.Properties.Resources.resources has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/GridMovil.csproj.FileListAbsolute.txt Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,32 @@
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\ResolveAssemblyReference.cache
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\SurfaceWindow1.baml
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\App.baml
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\SurfaceWindow1.g.cs
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\App.g.cs
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil_Content.g.cs
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil_MarkupCompile.cache
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil.g.resources
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil.Properties.Resources.resources
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil.csproj.GenerateResource.Cache
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\bin\Debug\Resources\icon.png
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\bin\Debug\Resources\iconPreview.png
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\bin\Debug\GridMovil.exe
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\bin\Debug\GridMovil.pdb
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil.exe
+C:\Users\santiago\Desktop\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil.pdb
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil.exe
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil.pdb
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\bin\Debug\Resources\icon.png
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\bin\Debug\Resources\iconPreview.png
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\bin\Debug\GridMovil.exe
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\bin\Debug\GridMovil.pdb
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\ResolveAssemblyReference.cache
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\SurfaceWindow1.baml
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\App.baml
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\SurfaceWindow1.g.cs
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\App.g.cs
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil_Content.g.cs
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil_MarkupCompile.cache
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil.g.resources
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil.Properties.Resources.resources
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\GridMovil.csproj.GenerateResource.Cache
Binary file Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/GridMovil.csproj.GenerateResource.Cache has changed
Binary file Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/GridMovil.exe has changed
Binary file Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/GridMovil.g.resources has changed
Binary file Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/GridMovil.pdb has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/GridMovil_Content.g.cs Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,13 @@
+//------------------------------------------------------------------------------
+// <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>
+//------------------------------------------------------------------------------
+
+[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("resources/icon.png")]
+[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("resources/iconpreview.png")]
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/GridMovil_MarkupCompile.cache Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,19 @@
+GridMovil
+
+
+winexe
+C#
+.cs
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\obj\Debug\
+GridMovil
+none
+false
+DEBUG;TRACE
+C:\Users\santiago\Desktop\MercurialSurfaceTest\Tests\Grild-Movil\GridMovil\GridMovil\App.xaml
+1-2107844449
+2-1369897525
+51903780889
+1276640918
+SurfaceWindow1.xaml;
+
+
Binary file Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/ResolveAssemblyReference.cache has changed
Binary file Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/SurfaceWindow1.baml has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Tests/Grild-Movil/GridMovil/GridMovil/obj/Debug/SurfaceWindow1.g.cs Tue Jul 07 08:05:05 2009 +0200
@@ -0,0 +1,224 @@
+#pragma checksum "..\..\SurfaceWindow1.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3C305A395FC5804CAB56A0CE1E00419E"
+//------------------------------------------------------------------------------
+// <auto-generated>
+// Ce code a été généré par un outil.
+// Version du runtime :2.0.50727.3074
+//
+// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
+// le code est régénéré.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using Microsoft.Surface.Presentation;
+using Microsoft.Surface.Presentation.Controls;
+using Microsoft.Surface.Presentation.Controls.ContactVisualizations;
+using Microsoft.Surface.Presentation.Controls.Primitives;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+
+namespace GridMovil {
+
+
+ /// <summary>
+ /// SurfaceWindow1
+ /// </summary>
+ public partial class SurfaceWindow1 : Microsoft.Surface.Presentation.Controls.SurfaceWindow, System.Windows.Markup.IComponentConnector {
+
+
+ #line 7 "..\..\SurfaceWindow1.xaml"
+ internal GridMovil.SurfaceWindow1 my_surfaceWindow;
+
+ #line default
+ #line hidden
+
+
+ #line 13 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Controls.Grid gridMovil;
+
+ #line default
+ #line hidden
+
+
+ #line 14 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Controls.Label labelX;
+
+ #line default
+ #line hidden
+
+
+ #line 15 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Controls.Label labelY;
+
+ #line default
+ #line hidden
+
+
+ #line 16 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Controls.Grid grid1;
+
+ #line default
+ #line hidden
+
+
+ #line 17 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Controls.Grid grid2;
+
+ #line default
+ #line hidden
+
+
+ #line 18 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Shapes.Rectangle myrect_grid_auto;
+
+ #line default
+ #line hidden
+
+
+ #line 28 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Shapes.Rectangle myrect_grid2_fixe;
+
+ #line default
+ #line hidden
+
+
+ #line 39 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Controls.Grid grid3;
+
+ #line default
+ #line hidden
+
+
+ #line 40 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Controls.Grid grid4;
+
+ #line default
+ #line hidden
+
+
+ #line 41 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Shapes.Rectangle myrect;
+
+ #line default
+ #line hidden
+
+
+ #line 42 "..\..\SurfaceWindow1.xaml"
+ internal Microsoft.Surface.Presentation.Controls.ScatterView my_scaterview;
+
+ #line default
+ #line hidden
+
+
+ #line 43 "..\..\SurfaceWindow1.xaml"
+ internal System.Windows.Shapes.Ellipse elipse;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ /// <summary>
+ /// InitializeComponent
+ /// </summary>
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ public void InitializeComponent() {
+ if (_contentLoaded) {
+ return;
+ }
+ _contentLoaded = true;
+ System.Uri resourceLocater = new System.Uri("/GridMovil;component/surfacewindow1.xaml", System.UriKind.Relative);
+
+ #line 1 "..\..\SurfaceWindow1.xaml"
+ System.Windows.Application.LoadComponent(this, resourceLocater);
+
+ #line default
+ #line hidden
+ }
+
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+ void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+ switch (connectionId)
+ {
+ case 1:
+ this.my_surfaceWindow = ((GridMovil.SurfaceWindow1)(target));
+ return;
+ case 2:
+ this.gridMovil = ((System.Windows.Controls.Grid)(target));
+ return;
+ case 3:
+ this.labelX = ((System.Windows.Controls.Label)(target));
+ return;
+ case 4:
+ this.labelY = ((System.Windows.Controls.Label)(target));
+ return;
+ case 5:
+ this.grid1 = ((System.Windows.Controls.Grid)(target));
+ return;
+ case 6:
+ this.grid2 = ((System.Windows.Controls.Grid)(target));
+ return;
+ case 7:
+ this.myrect_grid_auto = ((System.Windows.Shapes.Rectangle)(target));
+ return;
+ case 8:
+ this.myrect_grid2_fixe = ((System.Windows.Shapes.Rectangle)(target));
+ return;
+ case 9:
+ this.grid3 = ((System.Windows.Controls.Grid)(target));
+ return;
+ case 10:
+ this.grid4 = ((System.Windows.Controls.Grid)(target));
+ return;
+ case 11:
+ this.myrect = ((System.Windows.Shapes.Rectangle)(target));
+ return;
+ case 12:
+ this.my_scaterview = ((Microsoft.Surface.Presentation.Controls.ScatterView)(target));
+
+ #line 42 "..\..\SurfaceWindow1.xaml"
+ this.my_scaterview.ContactDown += new Microsoft.Surface.Presentation.ContactEventHandler(this.ScatterView_ContactDown);
+
+ #line default
+ #line hidden
+
+ #line 42 "..\..\SurfaceWindow1.xaml"
+ this.my_scaterview.ContactChanged += new Microsoft.Surface.Presentation.ContactEventHandler(this.my_scaterview_ContactChanged);
+
+ #line default
+ #line hidden
+ return;
+ case 13:
+ this.elipse = ((System.Windows.Shapes.Ellipse)(target));
+
+ #line 43 "..\..\SurfaceWindow1.xaml"
+ this.elipse.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.elipse_MouseDown);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+