Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create 7.1 version of Phone libraries
- Loading branch information
Showing
18 changed files
with
312 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
packages | |||
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,7 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Application xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="EZLibrary.WindowsPhone._7._1.App" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:vm="clr-namespace:EZLibrary.WindowsPhone._7._1.ViewModel" mc:Ignorable="d"> | |||
<Application.Resources> | |||
<!--Global View Model Locator--> | |||
<vm:ViewModelLocator x:Key="Locator" d:IsDataSource="True" /> | |||
</Application.Resources> | |||
</Application> |
160 changes: 160 additions & 0 deletions
160
EZLibrary.WindowsPhone.7.1/EZLibrary.WindowsPhone.7.1.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,160 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
<PropertyGroup> | |||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |||
<ProductVersion>10.0.20506</ProductVersion> | |||
<SchemaVersion>2.0</SchemaVersion> | |||
<ProjectGuid>{707F8B31-0130-4A49-8DFC-3BC0D4346BEA}</ProjectGuid> | |||
<ProjectTypeGuids>{C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> | |||
<OutputType>Library</OutputType> | |||
<AppDesignerFolder>Properties</AppDesignerFolder> | |||
<RootNamespace>EZLibrary.WindowsPhone._7._1</RootNamespace> | |||
<AssemblyName>EZLibrary.WindowsPhone.7.1</AssemblyName> | |||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | |||
<SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion> | |||
<TargetFrameworkProfile>WindowsPhone71</TargetFrameworkProfile> | |||
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier> | |||
<SilverlightApplication>false</SilverlightApplication> | |||
<ValidateXaml>true</ValidateXaml> | |||
<ThrowErrorsInValidation>true</ThrowErrorsInValidation> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |||
<DebugSymbols>true</DebugSymbols> | |||
<DebugType>full</DebugType> | |||
<Optimize>false</Optimize> | |||
<OutputPath>Bin\Debug</OutputPath> | |||
<DefineConstants>DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants> | |||
<NoStdLib>true</NoStdLib> | |||
<NoConfig>true</NoConfig> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
</PropertyGroup> | |||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |||
<DebugType>pdbonly</DebugType> | |||
<Optimize>true</Optimize> | |||
<OutputPath>Bin\Release</OutputPath> | |||
<DefineConstants>TRACE;SILVERLIGHT;WINDOWS_PHONE</DefineConstants> | |||
<NoStdLib>true</NoStdLib> | |||
<NoConfig>true</NoConfig> | |||
<ErrorReport>prompt</ErrorReport> | |||
<WarningLevel>4</WarningLevel> | |||
</PropertyGroup> | |||
<ItemGroup> | |||
<Reference Include="GalaSoft.MvvmLight.Extras.WP71"> | |||
<HintPath>..\packages\MvvmLight.3.0.3\lib\sl4-windowsphone71\GalaSoft.MvvmLight.Extras.WP71.dll</HintPath> | |||
</Reference> | |||
<Reference Include="GalaSoft.MvvmLight.WP71"> | |||
<HintPath>..\packages\MvvmLight.3.0.3\lib\sl4-windowsphone71\GalaSoft.MvvmLight.WP71.dll</HintPath> | |||
</Reference> | |||
<Reference Include="Microsoft.Phone" /> | |||
<Reference Include="Microsoft.Phone.Controls.Toolkit"> | |||
<HintPath>..\packages\SilverlightToolkitWP.4.2011.8.17\lib\sl4-windowsphone71\Microsoft.Phone.Controls.Toolkit.dll</HintPath> | |||
</Reference> | |||
<Reference Include="System.Windows" /> | |||
<Reference Include="system" /> | |||
<Reference Include="System.Core" /> | |||
<Reference Include="System.Windows.Interactivity, Version=3.8.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> | |||
<HintPath>..\packages\MvvmLight.3.0.3\lib\sl4-windowsphone71\System.Windows.Interactivity.dll</HintPath> | |||
</Reference> | |||
<Reference Include="System.Xml" /> | |||
<Reference Include="System.Net" /> | |||
<Reference Include="mscorlib.extensions" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Compile Include="..\EZLibrary.4.0\Collections\Generic\ObservableStack.cs"> | |||
<Link>ObservableStack.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.4.0\StringExtensions.cs"> | |||
<Link>StringExtensions.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\DoubleTapTrigger.cs"> | |||
<Link>Interactivity\DoubleTapTrigger.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\DragAndDropBehavior.cs"> | |||
<Link>Interactivity\DragAndDropBehavior.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\DragCompletedTrigger.cs"> | |||
<Link>Interactivity\DragCompletedTrigger.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\DragDelta.cs"> | |||
<Link>Interactivity\DragDelta.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\DragStartedTrigger.cs"> | |||
<Link>Interactivity\DragStartedTrigger.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\FlickTrigger.cs"> | |||
<Link>Interactivity\FlickTrigger.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\GestureBehavior.cs"> | |||
<Link>Interactivity\GestureBehavior.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\GestureTrigger.cs"> | |||
<Link>Interactivity\GestureTrigger.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\HoldTrigger.cs"> | |||
<Link>Interactivity\HoldTrigger.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\PinchCompletedTrigger.cs"> | |||
<Link>Interactivity\PinchCompletedTrigger.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\PinchDeltaTrigger.cs"> | |||
<Link>Interactivity\PinchDeltaTrigger.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\PinchStartedTrigger.cs"> | |||
<Link>Interactivity\PinchStartedTrigger.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\Interactivity\TapTrigger.cs"> | |||
<Link>Interactivity\TapTrigger.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\LittleWatson.cs"> | |||
<Link>LittleWatson.cs</Link> | |||
</Compile> | |||
<Compile Include="..\EZLibrary.WindowsPhone\NetworkHelper.cs"> | |||
<Link>NetworkHelper.cs</Link> | |||
</Compile> | |||
<Compile Include="Properties\AssemblyInfo.cs" /> | |||
<Compile Include="ViewModel\MainViewModel.cs" /> | |||
<Compile Include="ViewModel\ViewModelLocator.cs" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Page Include="App.xaml"> | |||
<Generator>MSBuild:Compile</Generator> | |||
<SubType>Designer</SubType> | |||
</Page> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<None Include="packages.config" /> | |||
<None Include="Thumbs.db" /> | |||
<None Include="Toolkit.Content\Thumbs.db" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Resource Include="Toolkit.Content\ApplicationBar.Select.png" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Resource Include="Toolkit.Content\ApplicationBar.Delete.png" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Resource Include="Toolkit.Content\ApplicationBar.Check.png" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Resource Include="Toolkit.Content\ApplicationBar.Cancel.png" /> | |||
</ItemGroup> | |||
<ItemGroup> | |||
<Content Include="..\EZLibrary.WindowsPhone\Interactivity\readme.txt"> | |||
<Link>Interactivity\readme.txt</Link> | |||
</Content> | |||
<Content Include="README_FIRST.txt" /> | |||
</ItemGroup> | |||
<ItemGroup /> | |||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" /> | |||
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" /> | |||
<ProjectExtensions /> | |||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | |||
Other similar extension points exist, see Microsoft.Common.targets. | |||
<Target Name="BeforeBuild"> | |||
</Target> | |||
<Target Name="AfterBuild"> | |||
</Target> | |||
--> | |||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,37 @@ | |||
using System.Reflection; | |||
using System.Runtime.CompilerServices; | |||
using System.Runtime.InteropServices; | |||
using System.Resources; | |||
|
|||
// 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("EZLibrary.WindowsPhone._7._1")] | |||
[assembly: AssemblyDescription("")] | |||
[assembly: AssemblyConfiguration("")] | |||
[assembly: AssemblyCompany("Microsoft")] | |||
[assembly: AssemblyProduct("EZLibrary.WindowsPhone._7._1")] | |||
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")] | |||
[assembly: AssemblyTrademark("")] | |||
[assembly: AssemblyCulture("")] | |||
|
|||
// Setting ComVisible to false makes the types in this assembly not visible | |||
// to COM components. If you need to access a type in this assembly from | |||
// COM, set the ComVisible attribute to true on that type. | |||
[assembly: ComVisible(false)] | |||
|
|||
// The following GUID is for the ID of the typelib if this project is exposed to COM | |||
[assembly: Guid("2e4688d9-9616-44d2-9b8e-7d22565f22e5")] | |||
|
|||
// 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.0.0")] | |||
[assembly: AssemblyFileVersion("1.0.0.0")] | |||
[assembly: NeutralResourcesLanguageAttribute("en-US")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
For the Silverlight for Windows Phone Toolkit make sure that you have | |||
marked the icons in the "Toolkit.Content" folder as content. That way they | |||
can be used as the icons for the ApplicationBar control. |
Binary file added
BIN
+350 Bytes
EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Cancel.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+414 Bytes
EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Check.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+445 Bytes
EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Delete.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+863 Bytes
EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Select.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,34 @@ | |||
using GalaSoft.MvvmLight; | |||
|
|||
namespace EZLibrary.WindowsPhone._7._1.ViewModel | |||
{ | |||
/// <summary> | |||
/// This class contains properties that the main View can data bind to. | |||
/// <para> | |||
/// Use the <strong>mvvminpc</strong> snippet to add bindable properties to this ViewModel. | |||
/// </para> | |||
/// <para> | |||
/// You can also use Blend to data bind with the tool's support. | |||
/// </para> | |||
/// <para> | |||
/// See http://www.galasoft.ch/mvvm | |||
/// </para> | |||
/// </summary> | |||
public class MainViewModel : ViewModelBase | |||
{ | |||
/// <summary> | |||
/// Initializes a new instance of the MainViewModel class. | |||
/// </summary> | |||
public MainViewModel() | |||
{ | |||
////if (IsInDesignMode) | |||
////{ | |||
//// // Code runs in Blend --> create design time data. | |||
////} | |||
////else | |||
////{ | |||
//// // Code runs "for real" | |||
////} | |||
} | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,58 @@ | |||
/* | |||
In App.xaml: | |||
<Application.Resources> | |||
<vm:ViewModelLocatorTemplate xmlns:vm="clr-namespace:EZLibrary.WindowsPhone._7._1" | |||
x:Key="Locator" /> | |||
</Application.Resources> | |||
In the View: | |||
DataContext="{Binding Source={StaticResource Locator}, Path=ViewModelName}" | |||
You can also use Blend to do all this with the tool's support. | |||
See http://www.galasoft.ch/mvvm | |||
*/ | |||
|
|||
using GalaSoft.MvvmLight; | |||
|
|||
namespace EZLibrary.WindowsPhone._7._1.ViewModel | |||
{ | |||
/// <summary> | |||
/// This class contains static references to all the view models in the | |||
/// application and provides an entry point for the bindings. | |||
/// </summary> | |||
public class ViewModelLocator | |||
{ | |||
private static MainViewModel _main; | |||
|
|||
/// <summary> | |||
/// Initializes a new instance of the ViewModelLocator class. | |||
/// </summary> | |||
public ViewModelLocator() | |||
{ | |||
////if (ViewModelBase.IsInDesignModeStatic) | |||
////{ | |||
//// // Create design time services and viewmodels | |||
////} | |||
////else | |||
////{ | |||
//// // Create run time services and view models | |||
////} | |||
|
|||
_main = new MainViewModel(); | |||
} | |||
|
|||
/// <summary> | |||
/// Gets the Main property which defines the main viewmodel. | |||
/// </summary> | |||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", | |||
"CA1822:MarkMembersAsStatic", | |||
Justification = "This non-static member is needed for data binding purposes.")] | |||
public MainViewModel Main | |||
{ | |||
get | |||
{ | |||
return _main; | |||
} | |||
} | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,5 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<packages> | |||
<package id="MvvmLight" version="3.0.3" /> | |||
<package id="SilverlightToolkitWP" version="4.2011.8.17" /> | |||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters