Drag drop finally works

WIP item background
New Donate page stub
Renamed some classes as services
This commit is contained in:
BONNEVILLE Geoffroy
2017-11-29 19:13:38 +01:00
parent 227bc30dde
commit f2731c49dd
28 changed files with 304 additions and 112 deletions

View File

@@ -11,6 +11,7 @@ using Windows.UI.Xaml.Navigation;
using ModernKeePass.Common;
using ModernKeePass.Exceptions;
using ModernKeePass.Interfaces;
using ModernKeePass.Services;
// The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227
@@ -21,7 +22,7 @@ namespace ModernKeePass
/// </summary>
sealed partial class App
{
public DatabaseHelper Database { get; set; } = new DatabaseHelper();
public DatabaseService Database { get; set; } = new DatabaseService();
/// <summary>
/// Initializes the singleton application object. This is the first line of authored code
@@ -48,7 +49,7 @@ namespace ModernKeePass
if (!(realException is SaveException)) return;
unhandledExceptionEventArgs.Handled = true;
MessageDialogHelper.SaveErrorDialog(realException as SaveException, Database);
MessageDialogService.SaveErrorDialog(realException as SaveException, Database);
}
/// <summary>