From 99f614734a25d134aaa85684c96a0b2b20875397 Mon Sep 17 00:00:00 2001 From: Stedd Date: Tue, 26 Oct 2021 20:25:26 +0200 Subject: [PATCH] Change period to comma in amount input textbox --- MainWindow.xaml.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MainWindow.xaml.cs b/MainWindow.xaml.cs index 980432e..866e300 100644 --- a/MainWindow.xaml.cs +++ b/MainWindow.xaml.cs @@ -59,5 +59,10 @@ namespace CryptoCalc t.Comment = "Test"; return t; } + + private void inputAmount_LostFocus(object sender, RoutedEventArgs e) + { + inputAmount.Text = inputAmount.Text.Replace(".", ","); + } } }