From 25a3f4ef2f6109950f91bfd16cf76b8084b3ed76 Mon Sep 17 00:00:00 2001 From: ceee Date: Sat, 14 Sep 2013 15:47:51 +0200 Subject: [PATCH] add WPF example --- .gitignore | 1 - PocketSharp.Examples/PocketSharp.Wpf/App.xaml | 8 + .../PocketSharp.Wpf/App.xaml.cs | 16 ++ .../PocketSharp.Wpf/MainWindow.xaml | 18 +++ .../PocketSharp.Wpf/MainWindow.xaml.cs | 64 ++++++++ .../PocketSharp.Wpf/PocketSharp.Wpf.csproj | 143 ++++++++++++++++++ .../Properties/AssemblyInfo.cs | 55 +++++++ .../Properties/Resources.Designer.cs | 63 ++++++++ .../PocketSharp.Wpf/Properties/Resources.resx | 117 ++++++++++++++ .../Properties/Settings.Designer.cs | 26 ++++ .../Properties/Settings.settings | 7 + PocketSharp.Examples/PocketSharp.Wpf/Site.cs | 14 ++ .../PocketSharp.Wpf/app.config | 12 ++ .../PocketSharp.Wpf/packages.config | 7 + PocketSharp.Tests/PocketSharp.Tests.csproj | 6 - PocketSharp.sln | 7 +- PocketSharp/PocketSharp.csproj | 1 - 17 files changed, 556 insertions(+), 9 deletions(-) create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/App.xaml create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/App.xaml.cs create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/MainWindow.xaml create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/MainWindow.xaml.cs create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/PocketSharp.Wpf.csproj create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/Properties/AssemblyInfo.cs create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/Properties/Resources.Designer.cs create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/Properties/Resources.resx create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/Properties/Settings.Designer.cs create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/Properties/Settings.settings create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/Site.cs create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/app.config create mode 100644 PocketSharp.Examples/PocketSharp.Wpf/packages.config diff --git a/.gitignore b/.gitignore index 2780560..cbca87a 100644 --- a/.gitignore +++ b/.gitignore @@ -165,5 +165,4 @@ $RECYCLE.BIN/ # ========================= PocketSharp.Console/ -PocketSharp.WpfTests/ !PocketSharp.Website/Release/ diff --git a/PocketSharp.Examples/PocketSharp.Wpf/App.xaml b/PocketSharp.Examples/PocketSharp.Wpf/App.xaml new file mode 100644 index 0000000..1e02642 --- /dev/null +++ b/PocketSharp.Examples/PocketSharp.Wpf/App.xaml @@ -0,0 +1,8 @@ + + + + + diff --git a/PocketSharp.Examples/PocketSharp.Wpf/App.xaml.cs b/PocketSharp.Examples/PocketSharp.Wpf/App.xaml.cs new file mode 100644 index 0000000..008b664 --- /dev/null +++ b/PocketSharp.Examples/PocketSharp.Wpf/App.xaml.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Windows; + +namespace PocketSharp.Wpf +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/PocketSharp.Examples/PocketSharp.Wpf/MainWindow.xaml b/PocketSharp.Examples/PocketSharp.Wpf/MainWindow.xaml new file mode 100644 index 0000000..4fb7ccb --- /dev/null +++ b/PocketSharp.Examples/PocketSharp.Wpf/MainWindow.xaml @@ -0,0 +1,18 @@ + + +