diff --git a/GoldShit/GoldShit.sln b/GoldShit/GoldShit.sln
new file mode 100644
index 0000000..59895d5
--- /dev/null
+++ b/GoldShit/GoldShit.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GoldShit", "GoldShit\GoldShit.csproj", "{374ED675-2D42-4068-A504-52A9138E6278}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {374ED675-2D42-4068-A504-52A9138E6278}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {374ED675-2D42-4068-A504-52A9138E6278}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {374ED675-2D42-4068-A504-52A9138E6278}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
+ {374ED675-2D42-4068-A504-52A9138E6278}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {374ED675-2D42-4068-A504-52A9138E6278}.Release|Any CPU.Build.0 = Release|Any CPU
+ {374ED675-2D42-4068-A504-52A9138E6278}.Release|Any CPU.Deploy.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/GoldShit/GoldShit/App.xaml b/GoldShit/GoldShit/App.xaml
new file mode 100644
index 0000000..a3242eb
--- /dev/null
+++ b/GoldShit/GoldShit/App.xaml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GoldShit/GoldShit/App.xaml.cs b/GoldShit/GoldShit/App.xaml.cs
new file mode 100644
index 0000000..f144feb
--- /dev/null
+++ b/GoldShit/GoldShit/App.xaml.cs
@@ -0,0 +1,148 @@
+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 GoldShit
+{
+ 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;
+
+ // Silverlight-Standardinitialisierung
+ InitializeComponent();
+
+ // Phone-spezifische Initialisierung
+ InitializePhoneApplication();
+
+ // 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 Bereiche einer Seite angezeigt werden, die mit einer Farbüberlagerung an die GPU übergeben wurden.
+ //Application.Current.Host.Settings.EnableCacheVisualization = true;
+
+ // Deaktivieren Sie die Leerlauferkennung der Anwendung, indem Sie die UserIdleDetectionMode-Eigenschaft des
+ // PhoneApplicationService-Objekts der Anwendung auf "Disabled" festlegen.
+ // Vorsicht: Nur im Debugmodus verwenden. Eine Anwendung mit deaktivierter Benutzerleerlauferkennung wird weiterhin ausgeführt
+ // und verbraucht auch dann Akkuenergie, wenn der Benutzer das Handy nicht verwendet.
+ PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
+ }
+ using (PoopDataContext db = new PoopDataContext(PoopDataContext.DBConnectionString))
+ {
+ if (db.DatabaseExists() == false)
+ {
+ db.CreateDatabase();
+ }
+ }
+ }
+
+ // 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/GoldShit/GoldShit/AppSettings.cs b/GoldShit/GoldShit/AppSettings.cs
new file mode 100644
index 0000000..54f6beb
--- /dev/null
+++ b/GoldShit/GoldShit/AppSettings.cs
@@ -0,0 +1,103 @@
+using System;
+using System.IO.IsolatedStorage;
+using System.Diagnostics;
+using System.Collections.Generic;
+
+namespace GoldShit
+{
+ public class AppSettings
+ {
+ IsolatedStorageSettings settings;
+
+ const string SettingsWageKeyName = "SettingsWage";
+ const string SettingsHourlyKeyName = "SettingsHourly";
+ const string SettingsSalaryKeyName = "SettingsSalary";
+
+ const double SettingsWageDefault = 9.44;
+ const bool SettingsHourlyDefault = true;
+ const bool SettingsSalaryDefault = false;
+
+ public AppSettings()
+ {
+ settings = IsolatedStorageSettings.ApplicationSettings;
+ }
+
+ public bool AddOrUpdateValue(string Key, Object value)
+ {
+ bool valueChanged = false;
+ if (settings.Contains(Key))
+ {
+ if (settings[Key] != value)
+ {
+ settings[Key] = value;
+ valueChanged = true;
+ }
+ }
+ else
+ {
+ settings.Add(Key, value);
+ valueChanged = true;
+ }
+ return valueChanged;
+ }
+ public T GetValueOrDefault(string Key, T defaultValue)
+ {
+ T value;
+ if (settings.Contains(Key))
+ {
+ value = (T)settings[Key];
+ }
+ else
+ {
+ value = defaultValue;
+ }
+ return value;
+ }
+ public void Save()
+ {
+ settings.Save();
+ }
+ public double SettingsWage
+ {
+ get
+ {
+ return GetValueOrDefault(SettingsWageKeyName, SettingsWageDefault);
+ }
+ set
+ {
+ if (AddOrUpdateValue(SettingsWageKeyName, value))
+ {
+ Save();
+ }
+ }
+ }
+ public bool SettingsHourly
+ {
+ get
+ {
+ return GetValueOrDefault(SettingsHourlyKeyName, SettingsHourlyDefault);
+ }
+ set
+ {
+ if (AddOrUpdateValue(SettingsHourlyKeyName, value))
+ {
+ Save();
+ }
+ }
+ }
+ public bool SettingsSalary
+ {
+ get
+ {
+ return GetValueOrDefault(SettingsSalaryKeyName, SettingsSalaryDefault);
+ }
+ set
+ {
+ if (AddOrUpdateValue(SettingsSalaryKeyName, value))
+ {
+ Save();
+ }
+ }
+ }
+ }
+}
diff --git a/GoldShit/GoldShit/ApplicationIcon.png b/GoldShit/GoldShit/ApplicationIcon.png
new file mode 100644
index 0000000..6023e83
Binary files /dev/null and b/GoldShit/GoldShit/ApplicationIcon.png differ
diff --git a/GoldShit/GoldShit/Background.png b/GoldShit/GoldShit/Background.png
new file mode 100644
index 0000000..57f43a3
Binary files /dev/null and b/GoldShit/GoldShit/Background.png differ
diff --git a/GoldShit/GoldShit/GoldShit.csproj b/GoldShit/GoldShit/GoldShit.csproj
new file mode 100644
index 0000000..a25eb21
--- /dev/null
+++ b/GoldShit/GoldShit/GoldShit.csproj
@@ -0,0 +1,119 @@
+
+
+
+ Debug
+ AnyCPU
+ 10.0.20506
+ 2.0
+ {374ED675-2D42-4068-A504-52A9138E6278}
+ {C089C8C0-30E0-4E22-80C0-CE093F111A43};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ GoldShit
+ GoldShit
+ v4.0
+ $(TargetFrameworkVersion)
+ WindowsPhone71
+ Silverlight
+ true
+
+
+ true
+ true
+ GoldShit.xap
+ Properties\AppManifest.xml
+ GoldShit.App
+ true
+ true
+ true
+ 4.0.30816.0
+
+
+ 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
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GoldShit/GoldShit/GoldShit.csproj.user b/GoldShit/GoldShit/GoldShit.csproj.user
new file mode 100644
index 0000000..0140cb8
--- /dev/null
+++ b/GoldShit/GoldShit/GoldShit.csproj.user
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ False
+
+
+
+
+
\ No newline at end of file
diff --git a/GoldShit/GoldShit/Icon_large.png b/GoldShit/GoldShit/Icon_large.png
new file mode 100644
index 0000000..f84e907
Binary files /dev/null and b/GoldShit/GoldShit/Icon_large.png differ
diff --git a/GoldShit/GoldShit/Icon_small.png b/GoldShit/GoldShit/Icon_small.png
new file mode 100644
index 0000000..dd7cec5
Binary files /dev/null and b/GoldShit/GoldShit/Icon_small.png differ
diff --git a/GoldShit/GoldShit/MainPage.xaml b/GoldShit/GoldShit/MainPage.xaml
new file mode 100644
index 0000000..5490ca9
--- /dev/null
+++ b/GoldShit/GoldShit/MainPage.xaml
@@ -0,0 +1,110 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/GoldShit/GoldShit/MainPage.xaml.cs b/GoldShit/GoldShit/MainPage.xaml.cs
new file mode 100644
index 0000000..4186796
--- /dev/null
+++ b/GoldShit/GoldShit/MainPage.xaml.cs
@@ -0,0 +1,234 @@
+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;
+using System.Data.Linq;
+using System.Data.Linq.Mapping;
+using System.ComponentModel;
+using System.Collections.ObjectModel;
+using System.Threading;
+using System.Globalization;
+
+namespace GoldShit
+{
+ public partial class MainPage : PhoneApplicationPage, INotifyPropertyChanged
+ {
+ private DateTime starttime;
+ private Thread thread;
+ private bool _stop = false;
+ private double moneypersecond;
+ private AppSettings settings = new AppSettings();
+ private PoopDataContext PoopDB;
+ private ObservableCollection _poopItems;
+ public ObservableCollection PoopItems
+ {
+ get
+ {
+ return _poopItems;
+ }
+ set
+ {
+ if (_poopItems != value)
+ {
+ _poopItems = value;
+ NotifyPropertyChanged("PoopItems");
+ }
+ }
+ }
+ // Konstruktor
+ public MainPage()
+ {
+ InitializeComponent();
+ PoopDB = new PoopDataContext(PoopDataContext.DBConnectionString);
+ this.DataContext = this;
+ Init();
+ }
+ protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
+ {
+ var poopItemsInDB = from PoopItem poop in PoopDB.PoopItems select poop;
+ PoopItems = new ObservableCollection(poopItemsInDB);
+ base.OnNavigatedTo(e);
+ LoadStatistics();
+ }
+ protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e)
+ {
+ base.OnNavigatedFrom(e);
+ PoopDB.SubmitChanges();
+ }
+
+ #region INotifyPropertyChanged Members
+ public event PropertyChangedEventHandler PropertyChanged;
+ private void NotifyPropertyChanged(string propertyName)
+ {
+ if (PropertyChanged != null)
+ {
+ PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ #endregion
+
+ private void Init()
+ {
+ GetMoneyPerSecond();
+ }
+
+ private void LoadStatistics()
+ {
+ this.bstatsall.Items.Clear();
+ double totmoney = 0;
+ TimeSpan tottime = new TimeSpan();
+ foreach (PoopItem p in PoopItems)
+ {
+ Grid g = new Grid();
+ g.Margin = new Thickness(0);
+
+ ColumnDefinition cd = new ColumnDefinition();
+ cd.Width = new GridLength(140);
+ g.ColumnDefinitions.Add(cd);
+
+ cd = new ColumnDefinition();
+ cd.Width = new GridLength(152);
+ g.ColumnDefinitions.Add(cd);
+
+ cd = new ColumnDefinition();
+ cd.Width = new GridLength(140);
+ g.ColumnDefinitions.Add(cd);
+
+ ListBoxItem i = new ListBoxItem();
+ i.Content = p.Start.ToShortDateString();
+ i.Margin = new Thickness(4, 0, 13, 0);
+ Grid.SetColumn(i, 0);
+ g.Children.Add(i);
+
+ i = new ListBoxItem();
+ i.Content = Convert.ToInt32(Math.Floor(p.Stop.Subtract(p.Start).TotalMinutes)).ToString().PadLeft(2, '0') + ":" + p.Stop.Subtract(p.Start).Seconds.ToString().PadLeft(2, '0');
+ tottime = tottime.Add(p.Stop.Subtract(p.Start));
+ i.Margin = new Thickness(13, 0, 13, 0);
+ Grid.SetColumn(i, 1);
+ g.Children.Add(i);
+
+ i = new ListBoxItem();
+ i.Content = "$" + Math.Round(p.Stop.Subtract(p.Start).TotalSeconds * this.moneypersecond, 2).ToString();
+ totmoney += p.Stop.Subtract(p.Start).TotalSeconds * this.moneypersecond;
+ i.Margin = new Thickness(13, 0, 4, 0);
+ Grid.SetColumn(i, 2);
+ g.Children.Add(i);
+
+ this.bstatsall.Items.Add(g);
+ }
+ this.tstattotalmoney.Text = "$" + Math.Round(totmoney, 2).ToString();
+ this.tstattotaltime.Text = Convert.ToInt32(Math.Floor(tottime.TotalMinutes)).ToString().PadLeft(2, '0') + ":" + tottime.Seconds.ToString().PadLeft(2, '0');
+ }
+
+ private void GetMoneyPerSecond()
+ {
+ double m = 0;
+ if (settings.SettingsHourly)
+ {
+ m = settings.SettingsWage / 3600;
+ }
+ else if (settings.SettingsSalary)
+ {
+ m = settings.SettingsWage / 31556925.261;
+ }
+ this.moneypersecond = m;
+ this.tsettingswage.Text = this.settings.SettingsWage.ToString();
+ this.tsettingshourly.IsChecked = this.settings.SettingsHourly;
+ this.tsettingssalary.IsChecked = this.settings.SettingsSalary;
+ }
+
+ private void ApplicationBarIconButton_Click(object sender, EventArgs e)
+ {
+ this.bsettings.Visibility = System.Windows.Visibility.Visible;
+ }
+
+ private void tsettingssave_Click(object sender, RoutedEventArgs e)
+ {
+ double m = 0;
+ try
+ {
+ this.tsettingswage.Text = this.tsettingswage.Text.Replace(',', '.');
+ m = Convert.ToDouble(this.tsettingswage.Text, new CultureInfo("en-US"));
+ } catch(Exception) {
+ MessageBox.Show("Invaild input");
+ return;
+ }
+ this.settings.SettingsWage = m;
+ this.settings.SettingsHourly = this.tsettingshourly.IsChecked.Value;
+ this.settings.SettingsSalary = this.tsettingssalary.IsChecked.Value;
+ GetMoneyPerSecond();
+ LoadStatistics();
+ this.bsettings.Visibility = System.Windows.Visibility.Collapsed;
+ Canvas.SetZIndex(this.bsettings, 0);
+ }
+
+ private void ApplicationBarIconButton_Click_1(object sender, EventArgs e)
+ {
+ this.bstat.Visibility = System.Windows.Visibility.Visible;
+ }
+
+ private void tstatclose_Click(object sender, RoutedEventArgs e)
+ {
+ this.bstat.Visibility = System.Windows.Visibility.Collapsed;
+ }
+
+ private void bstart_Click(object sender, RoutedEventArgs e)
+ {
+ starttime = DateTime.Now;
+ bstop.IsEnabled = true;
+ bstart.IsEnabled = false;
+ this.thread = new Thread(this.TimeRunner);
+ this._stop = false;
+ this.thread.Start();
+ while (!this.thread.IsAlive) ;
+ }
+ private void TimeRunner()
+ {
+ while (!_stop)
+ {
+ DateTime now = DateTime.Now;
+ TimeSpan d = now.Subtract(starttime);
+ Deployment.Current.Dispatcher.BeginInvoke(() =>
+ {
+ this.ttime.Text = Convert.ToInt32(Math.Floor(d.TotalMinutes)).ToString().PadLeft(2, '0') + ":" + d.Seconds.ToString().PadLeft(2, '0');
+ this.tmoney.Text = "$" + Math.Round(d.TotalSeconds * this.moneypersecond, 2).ToString();
+ });
+ Thread.Sleep(50);
+ }
+ }
+
+ private void bstop_Click(object sender, RoutedEventArgs e)
+ {
+ this._stop = true;
+ bstop.IsEnabled = false;
+ bstart.IsEnabled = true;
+ PoopItem newPoop = new PoopItem { Start = starttime, Stop = DateTime.Now };
+ PoopItems.Add(newPoop);
+ PoopDB.PoopItems.InsertOnSubmit(newPoop);
+ LoadStatistics();
+ }
+
+ private void tstatreset_Click(object sender, RoutedEventArgs e)
+ {
+ PoopItems.Clear();
+ var poopItemsInDB = from PoopItem poop in PoopDB.PoopItems select poop;
+ PoopDB.PoopItems.DeleteAllOnSubmit(poopItemsInDB);
+ PoopDB.SubmitChanges();
+ LoadStatistics();
+ }
+ }
+ public class PoopDataContext : DataContext
+ {
+ public static string DBConnectionString = "Data Source=isostore:/Poop.sdf";
+ public PoopDataContext(string connectionString) : base(connectionString) { }
+ public Table PoopItems;
+ }
+}
\ No newline at end of file
diff --git a/GoldShit/GoldShit/PoopItem.cs b/GoldShit/GoldShit/PoopItem.cs
new file mode 100644
index 0000000..7eb9a41
--- /dev/null
+++ b/GoldShit/GoldShit/PoopItem.cs
@@ -0,0 +1,98 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Data.Linq;
+using System.Data.Linq.Mapping;
+using System.ComponentModel;
+using System.Collections.ObjectModel;
+
+namespace GoldShit
+{
+ [Table]
+ public class PoopItem : INotifyPropertyChanged, INotifyPropertyChanging
+ {
+ private int _PoopItemId;
+ [Column(IsPrimaryKey = true, IsDbGenerated = true, DbType = "INT NOT NULL Identity", CanBeNull = false, AutoSync = AutoSync.OnInsert)]
+ public int PoopItemId
+ {
+ get
+ {
+ return _PoopItemId;
+ }
+ set
+ {
+ if (_PoopItemId != value)
+ {
+ NotifyPropertyChanging("PoopItemId");
+ _PoopItemId = value;
+ NotifyPropertyChanged("PoopItemId");
+ }
+ }
+ }
+ private DateTime _start;
+ [Column]
+ public DateTime Start
+ {
+ get
+ {
+ return _start;
+ }
+ set
+ {
+ if (_start != value)
+ {
+ NotifyPropertyChanging("Start");
+ _start = value;
+ NotifyPropertyChanged("Start");
+ }
+ }
+ }
+ private DateTime _stop;
+ [Column]
+ public DateTime Stop
+ {
+ get
+ {
+ return _stop;
+ }
+ set
+ {
+ if (_stop != value)
+ {
+ NotifyPropertyChanging("Stop");
+ _stop = value;
+ NotifyPropertyChanged("Stop");
+ }
+ }
+ }
+ [Column(IsVersion = true)]
+ private Binary _version;
+ #region INotifyPropertyChanged Members
+ public event PropertyChangedEventHandler PropertyChanged;
+ private void NotifyPropertyChanged(string propertyName)
+ {
+ if (PropertyChanged != null)
+ {
+ PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ #endregion
+ #region INotifyPropertyChanging Members
+ public event PropertyChangingEventHandler PropertyChanging;
+ private void NotifyPropertyChanging(string propertyName)
+ {
+ if (PropertyChanging != null)
+ {
+ PropertyChanging(this, new PropertyChangingEventArgs(propertyName));
+ }
+ }
+ #endregion
+ }
+}
diff --git a/GoldShit/GoldShit/Properties/AppManifest.xml b/GoldShit/GoldShit/Properties/AppManifest.xml
new file mode 100644
index 0000000..a955232
--- /dev/null
+++ b/GoldShit/GoldShit/Properties/AppManifest.xml
@@ -0,0 +1,6 @@
+
+
+
+
diff --git a/GoldShit/GoldShit/Properties/AssemblyInfo.cs b/GoldShit/GoldShit/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..05b95a5
--- /dev/null
+++ b/GoldShit/GoldShit/Properties/AssemblyInfo.cs
@@ -0,0 +1,37 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Resources;
+
+// 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("GoldShit")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("GoldShit")]
+[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("76a5aed7-0463-48ac-aa3f-7e1bd08cd011")]
+
+// 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")]
+[assembly: NeutralResourcesLanguageAttribute("de-DE")]
diff --git a/GoldShit/GoldShit/Properties/WMAppManifest.xml b/GoldShit/GoldShit/Properties/WMAppManifest.xml
new file mode 100644
index 0000000..e734e9d
--- /dev/null
+++ b/GoldShit/GoldShit/Properties/WMAppManifest.xml
@@ -0,0 +1,35 @@
+
+
+
+
+ ApplicationIcon.png
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Background.png
+ 0
+ GoldShit
+
+
+
+
+
diff --git a/GoldShit/GoldShit/SplashScreenImage.jpg b/GoldShit/GoldShit/SplashScreenImage.jpg
new file mode 100644
index 0000000..b23248c
Binary files /dev/null and b/GoldShit/GoldShit/SplashScreenImage.jpg differ
diff --git a/GoldShit/GoldShit/SplashScreenImage.png b/GoldShit/GoldShit/SplashScreenImage.png
new file mode 100644
index 0000000..5d24c62
Binary files /dev/null and b/GoldShit/GoldShit/SplashScreenImage.png differ
diff --git a/GoldShit/GoldShit/icons/appbar.back.rest.png b/GoldShit/GoldShit/icons/appbar.back.rest.png
new file mode 100644
index 0000000..4bc2b92
Binary files /dev/null and b/GoldShit/GoldShit/icons/appbar.back.rest.png differ
diff --git a/GoldShit/GoldShit/icons/appbar.favs.rest.png b/GoldShit/GoldShit/icons/appbar.favs.rest.png
new file mode 100644
index 0000000..fec3c2b
Binary files /dev/null and b/GoldShit/GoldShit/icons/appbar.favs.rest.png differ
diff --git a/GoldShit/GoldShit/icons/appbar.feature.settings.rest.png b/GoldShit/GoldShit/icons/appbar.feature.settings.rest.png
new file mode 100644
index 0000000..899b983
Binary files /dev/null and b/GoldShit/GoldShit/icons/appbar.feature.settings.rest.png differ
diff --git a/GoldShit/GoldShit/icons/appbar.stat.rest.png b/GoldShit/GoldShit/icons/appbar.stat.rest.png
new file mode 100644
index 0000000..326f28a
Binary files /dev/null and b/GoldShit/GoldShit/icons/appbar.stat.rest.png differ