From c30007c15f21b558585aa29e3abe7136be92cd47 Mon Sep 17 00:00:00 2001 From: Nguyen Dinh Thuan Date: Sat, 21 Sep 2024 06:44:26 +0700 Subject: [PATCH] move Converter to Converters folder --- .../LastItemIndexConverter.cs | 2 +- DepositSMUC.xaml | 3 ++- DepositSMUCv2.xaml | 3 ++- DepositUC.xaml | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) rename LastItemIndexConverter.cs => Converters/LastItemIndexConverter.cs (96%) diff --git a/LastItemIndexConverter.cs b/Converters/LastItemIndexConverter.cs similarity index 96% rename from LastItemIndexConverter.cs rename to Converters/LastItemIndexConverter.cs index e3f3ce9..a6b22f2 100644 --- a/LastItemIndexConverter.cs +++ b/Converters/LastItemIndexConverter.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Data; -namespace SafeBagDE70 +namespace SafeBagDE70.Converters { public class LastItemIndexConverter : IMultiValueConverter { diff --git a/DepositSMUC.xaml b/DepositSMUC.xaml index c29ae7c..35a7748 100644 --- a/DepositSMUC.xaml +++ b/DepositSMUC.xaml @@ -4,6 +4,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:SafeBagDE70" + xmlns:conv="clr-namespace:SafeBagDE70.Converters" mc:Ignorable="d" Width="1280" Height="1024" @@ -11,7 +12,7 @@ Loaded="UserControl_Loaded" Unloaded="UserControl_Unloaded"> - + diff --git a/DepositSMUCv2.xaml b/DepositSMUCv2.xaml index d20c9a4..959ca02 100644 --- a/DepositSMUCv2.xaml +++ b/DepositSMUCv2.xaml @@ -4,6 +4,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:SafeBagDE70" + xmlns:conv="clr-namespace:SafeBagDE70.Converters" mc:Ignorable="d" Width="1280" Height="1024" @@ -11,7 +12,7 @@ Loaded="UserControl_Loaded" Unloaded="UserControl_Unloaded"> - + diff --git a/DepositUC.xaml b/DepositUC.xaml index 18bb5df..8e1f403 100644 --- a/DepositUC.xaml +++ b/DepositUC.xaml @@ -4,6 +4,7 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:SafeBagDE70" + xmlns:converter="clr-namespace:SafeBagDE70.Converters" mc:Ignorable="d" Width="1280" Height="1024" @@ -11,7 +12,7 @@ Loaded="UserControl_Loaded" Unloaded="UserControl_Unloaded"> - +