diff --git a/Source/NETworkManager/StatusWindow.xaml b/Source/NETworkManager/StatusWindow.xaml index 743ccd9187..eae2a831c0 100644 --- a/Source/NETworkManager/StatusWindow.xaml +++ b/Source/NETworkManager/StatusWindow.xaml @@ -60,21 +60,7 @@ - - + + diff --git a/Source/NETworkManager/Views/IPApiDNSResolverWidgetView.xaml.cs b/Source/NETworkManager/Views/IPApiDNSResolverWidgetView.xaml.cs index 3f6965507d..ed93bf424d 100644 --- a/Source/NETworkManager/Views/IPApiDNSResolverWidgetView.xaml.cs +++ b/Source/NETworkManager/Views/IPApiDNSResolverWidgetView.xaml.cs @@ -1,3 +1,4 @@ + using NETworkManager.ViewModels; namespace NETworkManager.Views; @@ -12,8 +13,4 @@ public IPApiDNSResolverWidgetView() DataContext = _viewModel; } - public void Check() - { - _viewModel.Check(); - } } \ No newline at end of file diff --git a/Source/NETworkManager/Views/IPApiIPGeolocationWidgetView.xaml b/Source/NETworkManager/Views/IPApiIPGeolocationWidgetView.xaml index 86173f75d7..342b6370a9 100644 --- a/Source/NETworkManager/Views/IPApiIPGeolocationWidgetView.xaml +++ b/Source/NETworkManager/Views/IPApiIPGeolocationWidgetView.xaml @@ -10,10 +10,11 @@ xmlns:viewModels="clr-namespace:NETworkManager.ViewModels" xmlns:settings="clr-namespace:NETworkManager.Settings;assembly=NETworkManager.Settings" xmlns:system="clr-namespace:System;assembly=mscorlib" + xmlns:wpfHelpers="clr-namespace:NETworkManager.Utilities.WPF;assembly=NETworkManager.Utilities.WPF" mc:Ignorable="d" MinHeight="200" d:DataContext="{d:DesignInstance viewModels:IPApiIPGeolocationWidgetViewModel}"> - + @@ -40,15 +41,43 @@ - - - - - - - - + + + + + + + + + + + + + + + + diff --git a/Source/NETworkManager/Views/IPApiIPGeolocationWidgetView.xaml.cs b/Source/NETworkManager/Views/IPApiIPGeolocationWidgetView.xaml.cs index 54e004404a..2e6224f830 100644 --- a/Source/NETworkManager/Views/IPApiIPGeolocationWidgetView.xaml.cs +++ b/Source/NETworkManager/Views/IPApiIPGeolocationWidgetView.xaml.cs @@ -12,8 +12,4 @@ public IPApiIPGeolocationWidgetView() DataContext = _viewModel; } - public void Check() - { - _viewModel.Check(); - } } \ No newline at end of file diff --git a/Source/NETworkManager/Views/ListenersView.xaml b/Source/NETworkManager/Views/ListenersView.xaml index e78ab668e2..d23d72d268 100644 --- a/Source/NETworkManager/Views/ListenersView.xaml +++ b/Source/NETworkManager/Views/ListenersView.xaml @@ -66,6 +66,7 @@ + diff --git a/Source/NETworkManager/Views/NetworkInterfaceView.xaml b/Source/NETworkManager/Views/NetworkInterfaceView.xaml index 2230bcfebb..dac367acaa 100644 --- a/Source/NETworkManager/Views/NetworkInterfaceView.xaml +++ b/Source/NETworkManager/Views/NetworkInterfaceView.xaml @@ -161,6 +161,7 @@ Height="{Binding ElementName=ComboBoxNetworkInterfaceProfiles, Path=ActualHeight}" Command="{Binding ReloadNetworkInterfacesCommand}" Style="{StaticResource CleanButton}" + ToolTip="{x:Static localization:Strings.Refresh}" IsEnabled="{Binding IsNetworkInterfaceLoading, Converter={StaticResource BooleanReverseConverter}}" Margin="10,0,0,0"> @@ -241,8 +242,9 @@