Added charge and deposit buttons
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:c="clr-namespace:CurrencyTextBoxControl;assembly=CurrencyTextBoxControl"
|
||||
mc:Ignorable="d"
|
||||
Icon="../../Content/moneybag.ico"
|
||||
Icon="{Binding WindowIcon}"
|
||||
Name="AddTransactionViewWindow"
|
||||
Title="{Binding WindowTitle}" Height="300" Width="300"
|
||||
KeyUp="Window_OnKeyUp">
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using DebtMgr.Extensions;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using DebtMgr.Model;
|
||||
|
||||
@@ -25,6 +24,10 @@ namespace DebtMgr.View.Dialogs
|
||||
App.Locator.AddTransactionView.RequestClose += (s, e) => Close();
|
||||
|
||||
DataContext = App.Locator.AddTransactionView;
|
||||
|
||||
//Uri iconUri = new Uri("pack://application:,,,/Content/money_red.ico", UriKind.RelativeOrAbsolute);
|
||||
|
||||
//this.Icon = BitmapFrame.Create(iconUri);
|
||||
}
|
||||
|
||||
#region TextBox_OnKeyUp()
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
xmlns:local="clr-namespace:DebtMgr.View.Dialogs"
|
||||
xmlns:currencyTextBoxControl="clr-namespace:CurrencyTextBoxControl;assembly=CurrencyTextBoxControl"
|
||||
mc:Ignorable="d"
|
||||
Icon="../../Content/moneybag.ico"
|
||||
Icon="{Binding WindowIcon}"
|
||||
Name="EditTransactionViewWindow"
|
||||
Title="{Binding WindowTitle}" Height="300" Width="300"
|
||||
KeyUp="Window_KeyUp">
|
||||
|
||||
Reference in New Issue
Block a user