Added Ribbon, function to save detail view as screenshot
This commit is contained in:
@@ -237,7 +237,7 @@ namespace DebtMgr.ViewModel.Dialogs
|
||||
Type = DialogMode,
|
||||
Description = DescriptionTextBoxText,
|
||||
PersonId = person.Id,
|
||||
Time = DatePickerSelectedDate.Value
|
||||
Time = DatePickerSelectedDate.Value.AddHours(12)
|
||||
});
|
||||
|
||||
App.Database.InsertOrReplaceWithChildren(person);
|
||||
|
||||
@@ -112,7 +112,7 @@ namespace DebtMgr.ViewModel.Dialogs
|
||||
var saveFileDialog = new SaveFileDialog
|
||||
{
|
||||
Filter = "Debt Manager Database|*.dmdb|Standard database|*.db",
|
||||
CreatePrompt = true
|
||||
OverwritePrompt = true
|
||||
};
|
||||
|
||||
if (saveFileDialog.ShowDialog() == true)
|
||||
@@ -126,7 +126,5 @@ namespace DebtMgr.ViewModel.Dialogs
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -205,7 +205,7 @@ namespace DebtMgr.ViewModel.Dialogs
|
||||
{
|
||||
transaction.Amount = AmountTextBoxTextNumberRepresentation;
|
||||
transaction.Description = DescriptionTextBoxText;
|
||||
transaction.Time = DatePickerSelectedDate.Value;
|
||||
transaction.Time = DatePickerSelectedDate.Value.AddHours(12);
|
||||
}
|
||||
|
||||
App.Database.InsertOrReplace(transaction);
|
||||
|
||||
Reference in New Issue
Block a user