diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0bc1ee4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +packages +Thumbs.db \ No newline at end of file diff --git a/EZLibrary.WindowsPhone.7.1/App.xaml b/EZLibrary.WindowsPhone.7.1/App.xaml new file mode 100644 index 0000000..342271b --- /dev/null +++ b/EZLibrary.WindowsPhone.7.1/App.xaml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/EZLibrary.WindowsPhone.7.1/EZLibrary.WindowsPhone.7.1.csproj b/EZLibrary.WindowsPhone.7.1/EZLibrary.WindowsPhone.7.1.csproj new file mode 100644 index 0000000..dc2ca45 --- /dev/null +++ b/EZLibrary.WindowsPhone.7.1/EZLibrary.WindowsPhone.7.1.csproj @@ -0,0 +1,160 @@ + + + + Debug + AnyCPU + 10.0.20506 + 2.0 + {707F8B31-0130-4A49-8DFC-3BC0D4346BEA} + {C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + EZLibrary.WindowsPhone._7._1 + EZLibrary.WindowsPhone.7.1 + v4.0 + $(TargetFrameworkVersion) + WindowsPhone71 + Silverlight + false + true + true + + + true + full + false + Bin\Debug + DEBUG;TRACE;SILVERLIGHT;WINDOWS_PHONE + true + true + prompt + 4 + + + pdbonly + true + Bin\Release + TRACE;SILVERLIGHT;WINDOWS_PHONE + true + true + prompt + 4 + + + + ..\packages\MvvmLight.3.0.3\lib\sl4-windowsphone71\GalaSoft.MvvmLight.Extras.WP71.dll + + + ..\packages\MvvmLight.3.0.3\lib\sl4-windowsphone71\GalaSoft.MvvmLight.WP71.dll + + + + ..\packages\SilverlightToolkitWP.4.2011.8.17\lib\sl4-windowsphone71\Microsoft.Phone.Controls.Toolkit.dll + + + + + + ..\packages\MvvmLight.3.0.3\lib\sl4-windowsphone71\System.Windows.Interactivity.dll + + + + + + + + ObservableStack.cs + + + StringExtensions.cs + + + Interactivity\DoubleTapTrigger.cs + + + Interactivity\DragAndDropBehavior.cs + + + Interactivity\DragCompletedTrigger.cs + + + Interactivity\DragDelta.cs + + + Interactivity\DragStartedTrigger.cs + + + Interactivity\FlickTrigger.cs + + + Interactivity\GestureBehavior.cs + + + Interactivity\GestureTrigger.cs + + + Interactivity\HoldTrigger.cs + + + Interactivity\PinchCompletedTrigger.cs + + + Interactivity\PinchDeltaTrigger.cs + + + Interactivity\PinchStartedTrigger.cs + + + Interactivity\TapTrigger.cs + + + LittleWatson.cs + + + NetworkHelper.cs + + + + + + + + MSBuild:Compile + Designer + + + + + + + + + + + + + + + + + + + + + + Interactivity\readme.txt + + + + + + + + + \ No newline at end of file diff --git a/EZLibrary.WindowsPhone.7.1/Properties/AssemblyInfo.cs b/EZLibrary.WindowsPhone.7.1/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b6de1a4 --- /dev/null +++ b/EZLibrary.WindowsPhone.7.1/Properties/AssemblyInfo.cs @@ -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")] diff --git a/EZLibrary.WindowsPhone.7.1/README_FIRST.txt b/EZLibrary.WindowsPhone.7.1/README_FIRST.txt new file mode 100644 index 0000000..353e2ec --- /dev/null +++ b/EZLibrary.WindowsPhone.7.1/README_FIRST.txt @@ -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. \ No newline at end of file diff --git a/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Cancel.png b/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Cancel.png new file mode 100644 index 0000000..4dd724f Binary files /dev/null and b/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Cancel.png differ diff --git a/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Check.png b/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Check.png new file mode 100644 index 0000000..7a07466 Binary files /dev/null and b/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Check.png differ diff --git a/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Delete.png b/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Delete.png new file mode 100644 index 0000000..95bb16d Binary files /dev/null and b/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Delete.png differ diff --git a/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Select.png b/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Select.png new file mode 100644 index 0000000..995deaa Binary files /dev/null and b/EZLibrary.WindowsPhone.7.1/Toolkit.Content/ApplicationBar.Select.png differ diff --git a/EZLibrary.WindowsPhone.7.1/ViewModel/MainViewModel.cs b/EZLibrary.WindowsPhone.7.1/ViewModel/MainViewModel.cs new file mode 100644 index 0000000..86da2a3 --- /dev/null +++ b/EZLibrary.WindowsPhone.7.1/ViewModel/MainViewModel.cs @@ -0,0 +1,34 @@ +using GalaSoft.MvvmLight; + +namespace EZLibrary.WindowsPhone._7._1.ViewModel +{ + /// + /// This class contains properties that the main View can data bind to. + /// + /// Use the mvvminpc snippet to add bindable properties to this ViewModel. + /// + /// + /// You can also use Blend to data bind with the tool's support. + /// + /// + /// See http://www.galasoft.ch/mvvm + /// + /// + public class MainViewModel : ViewModelBase + { + /// + /// Initializes a new instance of the MainViewModel class. + /// + public MainViewModel() + { + ////if (IsInDesignMode) + ////{ + //// // Code runs in Blend --> create design time data. + ////} + ////else + ////{ + //// // Code runs "for real" + ////} + } + } +} \ No newline at end of file diff --git a/EZLibrary.WindowsPhone.7.1/ViewModel/ViewModelLocator.cs b/EZLibrary.WindowsPhone.7.1/ViewModel/ViewModelLocator.cs new file mode 100644 index 0000000..96f3c83 --- /dev/null +++ b/EZLibrary.WindowsPhone.7.1/ViewModel/ViewModelLocator.cs @@ -0,0 +1,58 @@ +/* + In App.xaml: + + + + + 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 +{ + /// + /// This class contains static references to all the view models in the + /// application and provides an entry point for the bindings. + /// + public class ViewModelLocator + { + private static MainViewModel _main; + + /// + /// Initializes a new instance of the ViewModelLocator class. + /// + public ViewModelLocator() + { + ////if (ViewModelBase.IsInDesignModeStatic) + ////{ + //// // Create design time services and viewmodels + ////} + ////else + ////{ + //// // Create run time services and view models + ////} + + _main = new MainViewModel(); + } + + /// + /// Gets the Main property which defines the main viewmodel. + /// + [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; + } + } + } +} \ No newline at end of file diff --git a/EZLibrary.WindowsPhone.7.1/packages.config b/EZLibrary.WindowsPhone.7.1/packages.config new file mode 100644 index 0000000..c85cc6d --- /dev/null +++ b/EZLibrary.WindowsPhone.7.1/packages.config @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/EZLibrary.WindowsPhone/EZLibrary.WindowsPhone.csproj b/EZLibrary.WindowsPhone/EZLibrary.WindowsPhone.csproj index b006e2d..ae15497 100644 --- a/EZLibrary.WindowsPhone/EZLibrary.WindowsPhone.csproj +++ b/EZLibrary.WindowsPhone/EZLibrary.WindowsPhone.csproj @@ -97,7 +97,6 @@ - diff --git a/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Cancel.png b/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Cancel.png new file mode 100644 index 0000000..4dd724f Binary files /dev/null and b/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Cancel.png differ diff --git a/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Check.png b/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Check.png new file mode 100644 index 0000000..7a07466 Binary files /dev/null and b/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Check.png differ diff --git a/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Delete.png b/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Delete.png new file mode 100644 index 0000000..95bb16d Binary files /dev/null and b/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Delete.png differ diff --git a/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Select.png b/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Select.png new file mode 100644 index 0000000..995deaa Binary files /dev/null and b/EZLibrary.WindowsPhone/Toolkit.Content/ApplicationBar.Select.png differ diff --git a/EZLibrary.sln b/EZLibrary.sln index cbe4d4b..0cb836b 100644 --- a/EZLibrary.sln +++ b/EZLibrary.sln @@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .nuget\NuGet.targets = .nuget\NuGet.targets EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EZLibrary.WindowsPhone.7.1", "EZLibrary.WindowsPhone.7.1\EZLibrary.WindowsPhone.7.1.csproj", "{707F8B31-0130-4A49-8DFC-3BC0D4346BEA}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -26,6 +28,10 @@ Global {A3A7FE22-AC1A-4463-90D3-4262BA7A6371}.Debug|Any CPU.Build.0 = Debug|Any CPU {A3A7FE22-AC1A-4463-90D3-4262BA7A6371}.Release|Any CPU.ActiveCfg = Release|Any CPU {A3A7FE22-AC1A-4463-90D3-4262BA7A6371}.Release|Any CPU.Build.0 = Release|Any CPU + {707F8B31-0130-4A49-8DFC-3BC0D4346BEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {707F8B31-0130-4A49-8DFC-3BC0D4346BEA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {707F8B31-0130-4A49-8DFC-3BC0D4346BEA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {707F8B31-0130-4A49-8DFC-3BC0D4346BEA}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE