diff --git a/v2rayN/v2rayN/Resx/ResUI.Designer.cs b/v2rayN/v2rayN/Resx/ResUI.Designer.cs index 576ff1a3..5fdeaee7 100644 --- a/v2rayN/v2rayN/Resx/ResUI.Designer.cs +++ b/v2rayN/v2rayN/Resx/ResUI.Designer.cs @@ -672,15 +672,6 @@ namespace v2rayN.Resx { } } - /// - /// 查找类似 Close 的本地化字符串。 - /// - public static string menuClose { - get { - return ResourceManager.GetString("menuClose", resourceCulture); - } - } - /// /// 查找类似 Clone selected server 的本地化字符串。 /// diff --git a/v2rayN/v2rayN/Resx/ResUI.fa-Ir.resx b/v2rayN/v2rayN/Resx/ResUI.fa-Ir.resx index 85d8648e..278c790d 100644 --- a/v2rayN/v2rayN/Resx/ResUI.fa-Ir.resx +++ b/v2rayN/v2rayN/Resx/ResUI.fa-Ir.resx @@ -436,9 +436,6 @@ بررسی بروزرسانی - - بستن - خروج diff --git a/v2rayN/v2rayN/Resx/ResUI.resx b/v2rayN/v2rayN/Resx/ResUI.resx index 0f500264..2de8bc65 100644 --- a/v2rayN/v2rayN/Resx/ResUI.resx +++ b/v2rayN/v2rayN/Resx/ResUI.resx @@ -436,9 +436,6 @@ Check Update - - Close - Exit diff --git a/v2rayN/v2rayN/Resx/ResUI.ru.resx b/v2rayN/v2rayN/Resx/ResUI.ru.resx index e1a6518d..888f32cf 100644 --- a/v2rayN/v2rayN/Resx/ResUI.ru.resx +++ b/v2rayN/v2rayN/Resx/ResUI.ru.resx @@ -436,9 +436,6 @@ Проверить обновления - - Закрыть - Выход diff --git a/v2rayN/v2rayN/Resx/ResUI.zh-Hans.resx b/v2rayN/v2rayN/Resx/ResUI.zh-Hans.resx index 787d3023..3e29fc60 100644 --- a/v2rayN/v2rayN/Resx/ResUI.zh-Hans.resx +++ b/v2rayN/v2rayN/Resx/ResUI.zh-Hans.resx @@ -436,9 +436,6 @@ 检查更新 - - 关闭 - 退出 diff --git a/v2rayN/v2rayN/Resx/ResUI.zh-Hant.resx b/v2rayN/v2rayN/Resx/ResUI.zh-Hant.resx index ee8d8eb8..eb1d9e02 100644 --- a/v2rayN/v2rayN/Resx/ResUI.zh-Hant.resx +++ b/v2rayN/v2rayN/Resx/ResUI.zh-Hant.resx @@ -435,9 +435,6 @@ 檢查更新 - - 關閉 - 退出 diff --git a/v2rayN/v2rayN/Views/MainWindow.xaml b/v2rayN/v2rayN/Views/MainWindow.xaml index 9ae651d9..e9d094df 100644 --- a/v2rayN/v2rayN/Views/MainWindow.xaml +++ b/v2rayN/v2rayN/Views/MainWindow.xaml @@ -272,23 +272,6 @@ - - - - - - - - - - - - diff --git a/v2rayN/v2rayN/Views/SubSettingWindow.xaml.cs b/v2rayN/v2rayN/Views/SubSettingWindow.xaml.cs index 3ebf9e51..48a852d3 100644 --- a/v2rayN/v2rayN/Views/SubSettingWindow.xaml.cs +++ b/v2rayN/v2rayN/Views/SubSettingWindow.xaml.cs @@ -60,17 +60,5 @@ namespace v2rayN.Views { ViewModel.SelectedSources = lstSubscription.SelectedItems.Cast().ToList(); } - - private void menuClose_Click(object sender, System.Windows.RoutedEventArgs e) - { - if (ViewModel?.IsModified == true) - { - this.DialogResult = true; - } - else - { - this.Close(); - } - } } } \ No newline at end of file