diff --git a/wpf_ax_utility/MainWindow.xaml b/wpf_ax_utility/MainWindow.xaml index aeb832c..1c424d2 100644 --- a/wpf_ax_utility/MainWindow.xaml +++ b/wpf_ax_utility/MainWindow.xaml @@ -3,9 +3,10 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:converters="http://sharpvectors.codeplex.com/svgc/" mc:Ignorable="d" MouseLeftButtonDown="MouseLeftDrag" - Height="260" Width="400" + Height="300" Width="400" ResizeMode="NoResize" WindowStyle="None" WindowStartupLocation="CenterScreen" @@ -24,18 +25,19 @@ + + + - - - + @@ -58,7 +60,7 @@ - + + + + + + + + + + + + + diff --git a/wpf_ax_utility/MainWindow.xaml.cs b/wpf_ax_utility/MainWindow.xaml.cs index 4852ee4..0d029a2 100644 --- a/wpf_ax_utility/MainWindow.xaml.cs +++ b/wpf_ax_utility/MainWindow.xaml.cs @@ -24,6 +24,22 @@ namespace wpf_ax_utility Close(); } + private void AucCleanerButton(object sender, RoutedEventArgs e) + { + Utility.AucCleaner(); + + const string message = "I file .auc sono stati cancellati!"; + const string caption = "Informazioni"; + MessageBox.Show(message, caption, MessageBoxButton.OK, MessageBoxImage.Information); + } + + private void InfoButtonButton(object sender, RoutedEventArgs e) + { + const string message = "Durante il normale utilizzo del software Microsoft Dynamics Ax 2012, potrebbero generarsi dei conflitti nelle impostazioni utente, che bloccano l'apertura del programma.\r\n\r\nĂˆ possibile tentare di sbloccare la situazione eliminando i file AUC dalla cache locale dell'utente."; + const string caption = "Informazioni"; + MessageBox.Show(message, caption, MessageBoxButton.OK, MessageBoxImage.Information); + } + private void ButtonClicked(object sender, RoutedEventArgs e) { Utility.AucCleaner(); diff --git a/wpf_ax_utility/wpf_ax_utility.csproj b/wpf_ax_utility/wpf_ax_utility.csproj index b14286c..a03d1ac 100644 --- a/wpf_ax_utility/wpf_ax_utility.csproj +++ b/wpf_ax_utility/wpf_ax_utility.csproj @@ -21,7 +21,7 @@ - +