diff --git a/Währungrechner/Währungrechner.sln b/Währungrechner/Währungrechner.sln
new file mode 100644
index 0000000..e7005a7
--- /dev/null
+++ b/Währungrechner/Währungrechner.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Währungrechner", "Währungrechner\Währungrechner.csproj", "{42E4DDE8-6879-4DDE-A03D-6EEDB4FAD3E8}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {42E4DDE8-6879-4DDE-A03D-6EEDB4FAD3E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {42E4DDE8-6879-4DDE-A03D-6EEDB4FAD3E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {42E4DDE8-6879-4DDE-A03D-6EEDB4FAD3E8}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {42E4DDE8-6879-4DDE-A03D-6EEDB4FAD3E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {42E4DDE8-6879-4DDE-A03D-6EEDB4FAD3E8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {42E4DDE8-6879-4DDE-A03D-6EEDB4FAD3E8}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/Währungrechner/Währungrechner/App.xaml b/Währungrechner/Währungrechner/App.xaml
new file mode 100644
index 0000000..6c48e1b
--- /dev/null
+++ b/Währungrechner/Währungrechner/App.xaml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Währungrechner/Währungrechner/App.xaml.cs b/Währungrechner/Währungrechner/App.xaml.cs
new file mode 100644
index 0000000..a592942
--- /dev/null
+++ b/Währungrechner/Währungrechner/App.xaml.cs
@@ -0,0 +1,135 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using Microsoft.Phone.Controls;
+using Microsoft.Phone.Shell;
+
+namespace Währungrechner
+{
+ public partial class App : Application
+ {
+ ///
+ /// Bietet einen einfachen Zugriff auf den Stammframe der Phone-Anwendung.
+ ///
+ /// Der Stammframe der Phone-Anwendung.
+ public PhoneApplicationFrame RootFrame { get; private set; }
+
+ ///
+ /// Konstruktor für das Application-Objekt.
+ ///
+ public App()
+ {
+ // Globaler Handler für nicht abgefangene Ausnahmen.
+ UnhandledException += Application_UnhandledException;
+
+ // Während des Debuggens Profilerstellungsinformationen zur Grafikleistung anzeigen.
+ if (System.Diagnostics.Debugger.IsAttached)
+ {
+ // Zähler für die aktuelle Bildrate anzeigen.
+ Application.Current.Host.Settings.EnableFrameRateCounter = true;
+
+ // Bereiche der Anwendung hervorheben, die mit jedem Bild neu gezeichnet werden.
+ //Application.Current.Host.Settings.EnableRedrawRegions = true;
+
+ // Nicht produktiven Visualisierungsmodus für die Analyse aktivieren,
+ // in dem GPU-beschleunigte Bereiche der Seite farbig hervorgehoben werden.
+ //Application.Current.Host.Settings.EnableCacheVisualization = true;
+ }
+
+ // Silverlight-Standardinitialisierung
+ InitializeComponent();
+
+ // Phone-spezifische Initialisierung
+ InitializePhoneApplication();
+ }
+
+ // Code, der beim Starten der Anwendung ausgeführt werden soll (z. B. über "Start")
+ // Dieser Code wird beim Reaktivieren der Anwendung nicht ausgeführt
+ private void Application_Launching(object sender, LaunchingEventArgs e)
+ {
+ }
+
+ // Code, der ausgeführt werden soll, wenn die Anwendung aktiviert wird (in den Vordergrund gebracht wird)
+ // Dieser Code wird beim ersten Starten der Anwendung nicht ausgeführt
+ private void Application_Activated(object sender, ActivatedEventArgs e)
+ {
+ }
+
+ // Code, der ausgeführt werden soll, wenn die Anwendung deaktiviert wird (in den Hintergrund gebracht wird)
+ // Dieser Code wird beim Schließen der Anwendung nicht ausgeführt
+ private void Application_Deactivated(object sender, DeactivatedEventArgs e)
+ {
+ }
+
+ // Code, der beim Schließen der Anwendung ausgeführt wird (z. B. wenn der Benutzer auf "Zurück" klickt)
+ // Dieser Code wird beim Deaktivieren der Anwendung nicht ausgeführt
+ private void Application_Closing(object sender, ClosingEventArgs e)
+ {
+ }
+
+ // Code, der bei einem Navigationsfehler ausgeführt wird
+ private void RootFrame_NavigationFailed(object sender, NavigationFailedEventArgs e)
+ {
+ if (System.Diagnostics.Debugger.IsAttached)
+ {
+ // Navigationsfehler. Unterbrechen und Debugger öffnen
+ System.Diagnostics.Debugger.Break();
+ }
+ }
+
+ // Code, der bei nicht behandelten Ausnahmen ausgeführt wird
+ private void Application_UnhandledException(object sender, ApplicationUnhandledExceptionEventArgs e)
+ {
+ if (System.Diagnostics.Debugger.IsAttached)
+ {
+ // Eine nicht behandelte Ausnahme ist aufgetreten. Unterbrechen und Debugger öffnen
+ System.Diagnostics.Debugger.Break();
+ }
+ }
+
+ #region Initialisierung der Phone-Anwendung
+
+ // Doppelte Initialisierung vermeiden
+ private bool phoneApplicationInitialized = false;
+
+ // Fügen Sie keinen zusätzlichen Code zu dieser Methode hinzu
+ private void InitializePhoneApplication()
+ {
+ if (phoneApplicationInitialized)
+ return;
+
+ // Frame erstellen, aber noch nicht als RootVisual festlegen. Dadurch kann der Begrüßungsbildschirm
+ // aktiv bleiben, bis die Anwendung bereit für das Rendern ist.
+ RootFrame = new PhoneApplicationFrame();
+ RootFrame.Navigated += CompleteInitializePhoneApplication;
+
+ // Navigationsfehler behandeln
+ RootFrame.NavigationFailed += RootFrame_NavigationFailed;
+
+ // Sicherstellen, dass keine erneute Initialisierung erfolgt
+ phoneApplicationInitialized = true;
+ }
+
+ // Fügen Sie keinen zusätzlichen Code zu dieser Methode hinzu
+ private void CompleteInitializePhoneApplication(object sender, NavigationEventArgs e)
+ {
+ // Visuelle Stammkomponente festlegen, sodass die Anwendung gerendert werden kann
+ if (RootVisual != RootFrame)
+ RootVisual = RootFrame;
+
+ // Dieser Handler wird nicht mehr benötigt und kann entfernt werden
+ RootFrame.Navigated -= CompleteInitializePhoneApplication;
+ }
+
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/Währungrechner/Währungrechner/ApplicationIcon.png b/Währungrechner/Währungrechner/ApplicationIcon.png
new file mode 100644
index 0000000..5859393
Binary files /dev/null and b/Währungrechner/Währungrechner/ApplicationIcon.png differ
diff --git a/Währungrechner/Währungrechner/Background.png b/Währungrechner/Währungrechner/Background.png
new file mode 100644
index 0000000..e46f21d
Binary files /dev/null and b/Währungrechner/Währungrechner/Background.png differ
diff --git a/Währungrechner/Währungrechner/MainPage.xaml b/Währungrechner/Währungrechner/MainPage.xaml
new file mode 100644
index 0000000..21019a5
--- /dev/null
+++ b/Währungrechner/Währungrechner/MainPage.xaml
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Währungrechner/Währungrechner/MainPage.xaml.cs b/Währungrechner/Währungrechner/MainPage.xaml.cs
new file mode 100644
index 0000000..c6ba7d7
--- /dev/null
+++ b/Währungrechner/Währungrechner/MainPage.xaml.cs
@@ -0,0 +1,76 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using Microsoft.Phone.Controls;
+
+namespace Währungrechner
+{
+ public partial class MainPage : PhoneApplicationPage
+ {
+ private class Currency
+ {
+ public string name;
+ public double currency;
+ public Currency(string name, double currency)
+ {
+ this.name = name;
+ this.currency = currency;
+ }
+ }
+ // Konstruktor
+ public MainPage()
+ {
+ InitializeComponent();
+ InitList();
+ }
+
+ private void InitList()
+ {
+ Currency[] c = { new Currency("EUR", 1), new Currency("USD", 1.3636), new Currency("CHF", 1.2208)};
+ foreach (Currency cu in c)
+ {
+ ListBoxItem i1 = new ListBoxItem();
+ ListBoxItem i2 = new ListBoxItem();
+ i1.Tag = 1/cu.currency;
+ i2.Tag = cu.currency;
+ i1.Content = cu.name;
+ i2.Content = cu.name;
+ //i.IsSelected = true;
+ curseVon.Items.Add(i1);
+ curseNach.Items.Add(i2);
+ }
+ }
+
+ private void Button_Click(object sender, RoutedEventArgs e)
+ {
+ double toTmp = Convert.ToDouble(((ListBoxItem)curseVon.SelectedItem).Tag);
+ double toTarget = Convert.ToDouble(((ListBoxItem)curseNach.SelectedItem).Tag);
+ double tmp = Convert.ToDouble(textBoxVon.Text.Allowed("123456789,.")) * toTmp;
+ textBoxNach.Text = (tmp * toTarget).ToString();
+ }
+ }
+}
+public static class String
+{
+ public static string Allowed(this string str, string allowed)
+ {
+ string ret = "";
+ for (int i = 0; i < str.Length; i++)
+ {
+ string tmp = str.Substring(i, 1);
+ if (allowed.Contains(tmp))
+ {
+ ret += tmp;
+ }
+ }
+ return ret;
+ }
+}
\ No newline at end of file
diff --git a/Währungrechner/Währungrechner/Properties/AppManifest.xml b/Währungrechner/Währungrechner/Properties/AppManifest.xml
new file mode 100644
index 0000000..a955232
--- /dev/null
+++ b/Währungrechner/Währungrechner/Properties/AppManifest.xml
@@ -0,0 +1,6 @@
+
+
+
+
diff --git a/Währungrechner/Währungrechner/Properties/AssemblyInfo.cs b/Währungrechner/Währungrechner/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..c4c4ab4
--- /dev/null
+++ b/Währungrechner/Währungrechner/Properties/AssemblyInfo.cs
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// Allgemeine Informationen über eine Assembly werden über die folgende
+// Attributgruppe gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
+// die einer Assembly zugeordnet sind.
+[assembly: AssemblyTitle("Währungrechner")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("Währungrechner")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly
+// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
+// COM aus zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest.
+[assembly: ComVisible(false)]
+
+// Die folgende GUID ist für die ID der typelib, wenn dieses Projekt für COM verfügbar gemacht wird
+[assembly: Guid("7f89d064-dc33-43fa-8060-974e48dcfa86")]
+
+// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
+//
+// Hauptversion
+// Nebenversion
+// Buildnummer
+// Revision
+//
+// Sie können alle Werte angeben oder die Standardwerte für Revisions- und Buildnummer verwenden
+// übernehmen, indem Sie "*" wie folgt verwenden:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Währungrechner/Währungrechner/Properties/WMAppManifest.xml b/Währungrechner/Währungrechner/Properties/WMAppManifest.xml
new file mode 100644
index 0000000..6d4cc80
--- /dev/null
+++ b/Währungrechner/Währungrechner/Properties/WMAppManifest.xml
@@ -0,0 +1,32 @@
+
+
+
+
+ ApplicationIcon.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Background.png
+ 0
+ Währungrechner
+
+
+
+
+
diff --git a/Währungrechner/Währungrechner/SplashScreenImage.jpg b/Währungrechner/Währungrechner/SplashScreenImage.jpg
new file mode 100644
index 0000000..353b192
Binary files /dev/null and b/Währungrechner/Währungrechner/SplashScreenImage.jpg differ
diff --git a/Währungrechner/Währungrechner/Währungrechner.csproj b/Währungrechner/Währungrechner/Währungrechner.csproj
new file mode 100644
index 0000000..5c4b3e0
--- /dev/null
+++ b/Währungrechner/Währungrechner/Währungrechner.csproj
@@ -0,0 +1,101 @@
+
+
+
+ Debug
+ AnyCPU
+ 10.0.20506
+ 2.0
+ {42E4DDE8-6879-4DDE-A03D-6EEDB4FAD3E8}
+ {C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ Währungrechner
+ Währungrechner
+ v4.0
+ $(TargetFrameworkVersion)
+ WindowsPhone
+ Silverlight
+ true
+
+
+ true
+ true
+ Währungrechner.xap
+ Properties\AppManifest.xml
+ Währungrechner.App
+ 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
+
+
+
+
+
+
+
+
+
+
+
+
+ App.xaml
+
+
+ MainPage.xaml
+
+
+
+
+
+ Designer
+ MSBuild:Compile
+
+
+ Designer
+ MSBuild:Compile
+
+
+
+
+
+
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Währungrechner/Währungrechner/Währungrechner.csproj.user b/Währungrechner/Währungrechner/Währungrechner.csproj.user
new file mode 100644
index 0000000..c3420fa
--- /dev/null
+++ b/Währungrechner/Währungrechner/Währungrechner.csproj.user
@@ -0,0 +1,6 @@
+
+
+
+ false
+
+
\ No newline at end of file