diff --git a/Converters/BoolToVisibilityConverter.cs b/Converters/BoolToVisibilityConverter.cs
new file mode 100644
index 0000000..8f57f87
--- /dev/null
+++ b/Converters/BoolToVisibilityConverter.cs
@@ -0,0 +1,31 @@
+using System;
+using System.Globalization;
+using System.Windows;
+using System.Windows.Data;
+
+namespace DebtMgr.Converters
+{
+ [ValueConversion(typeof(bool), typeof(Visibility))]
+ public class BoolToVisibilityConverter : IValueConverter
+ {
+ public Visibility TrueValue { get; set; }
+ public Visibility FalseValue { get; set; }
+
+ public BoolToVisibilityConverter()
+ {
+ // set defaults
+ FalseValue = Visibility.Hidden;
+ TrueValue = Visibility.Visible;
+ }
+
+ public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
+ {
+ return (bool)value ? TrueValue : FalseValue;
+ }
+
+ public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
diff --git a/DebtMgr.csproj b/DebtMgr.csproj
index eff0344..3b6e629 100644
--- a/DebtMgr.csproj
+++ b/DebtMgr.csproj
@@ -56,6 +56,15 @@
.\CurrencyTextBoxControl.dll
+
+ packages\DeltaCompressionDotNet.1.1.0\lib\net20\DeltaCompressionDotNet.dll
+
+
+ packages\DeltaCompressionDotNet.1.1.0\lib\net20\DeltaCompressionDotNet.MsDelta.dll
+
+
+ packages\DeltaCompressionDotNet.1.1.0\lib\net20\DeltaCompressionDotNet.PatchApi.dll
+
packages\MvvmLightLibs.5.3.0.0\lib\net45\GalaSoft.MvvmLight.dll
@@ -68,9 +77,30 @@
packages\CommonServiceLocator.1.3\lib\portable-net4+sl5+netcore45+wpa81+wp8\Microsoft.Practices.ServiceLocation.dll
+
+ packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.dll
+
+
+ packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Mdb.dll
+
+
+ packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Pdb.dll
+
+
+ packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Rocks.dll
+
packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll
+
+ packages\squirrel.windows.1.9.0\lib\Net45\NuGet.Squirrel.dll
+
+
+ packages\SharpCompress.0.17.1\lib\net45\SharpCompress.dll
+
+
+ packages\Splat.1.6.2\lib\Net45\Splat.dll
+
packages\SQLite.Net-PCL.3.0.5\lib\net40\SQLite.Net.dll
@@ -83,6 +113,9 @@
packages\SQLiteNetExtensions.1.3.0\lib\portable-net45+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1\SQLiteNetExtensions.dll
+
+ packages\squirrel.windows.1.9.0\lib\Net45\Squirrel.dll
+
@@ -108,7 +141,9 @@
Designer
+
+
@@ -176,19 +211,12 @@
True
Resources.resx
-
- True
- Settings.settings
- True
-
ResXFileCodeGenerator
Resources.Designer.cs
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
+
+ Designer
@@ -240,6 +268,14 @@
+
+
+ Designer
+
+
+
+
+
@@ -250,4 +286,26 @@
+
+
+
+
+
+
+
+
+
+
+ $(PostBuildEventDependsOn);
+ PostBuildMacros;
+
+ set releaseDir="C:\Squirrel\eJay"
+set longVersion=@(VersionNumber)
+set version=%25longVersion:~0,5%25
+echo %25version%25
+cd ..\..\nuget
+nuget pack ..\nuspec\ejay.nuspec
+Squirrel --releasify ..\nuget\eJay.%25version%25.nupkg --releaseDir %25releaseDir%25
+echo RELEASED IN %25releaseDir%25
+
\ No newline at end of file
diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs
deleted file mode 100644
index 60ae7c6..0000000
--- a/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,50 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// Dieser Code wurde von einem Tool generiert.
-// Laufzeitversion:4.0.30319.42000
-//
-// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
-// der Code erneut generiert wird.
-//
-//------------------------------------------------------------------------------
-
-namespace DebtMgr.Properties {
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.1.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default {
- get {
- return defaultInstance;
- }
- }
-
- [global::System.Configuration.UserScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("")]
- public string Database {
- get {
- return ((string)(this["Database"]));
- }
- set {
- this["Database"] = value;
- }
- }
-
- [global::System.Configuration.UserScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("")]
- public string TelegramPath {
- get {
- return ((string)(this["TelegramPath"]));
- }
- set {
- this["TelegramPath"] = value;
- }
- }
- }
-}
diff --git a/Properties/Settings.settings b/Properties/Settings.settings
deleted file mode 100644
index f3e5fb3..0000000
--- a/Properties/Settings.settings
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/View/MainView.xaml b/View/MainView.xaml
index b9ceaf4..99d279e 100644
--- a/View/MainView.xaml
+++ b/View/MainView.xaml
@@ -10,6 +10,7 @@
Title="eJay" Height="600" MinHeight="600" Width="900" MinWidth="900"
Background="White">
+