diff --git a/Wpf_AiSportsMicrospace/Views/Main.xaml.cs b/Wpf_AiSportsMicrospace/Views/Main.xaml.cs index 859f306..fd0d58e 100644 --- a/Wpf_AiSportsMicrospace/Views/Main.xaml.cs +++ b/Wpf_AiSportsMicrospace/Views/Main.xaml.cs @@ -165,7 +165,6 @@ namespace Wpf_AiSportsMicrospace.Views page.Arrange(new Rect(0, 0, page.DesiredSize.Width, page.DesiredSize.Height)); } - public void SwitchPageWithMaskAnimation(UserControl newPage, bool fromRight, double durationSeconds = 1.2) { if (MainContent.Content == newPage) return; @@ -282,7 +281,7 @@ namespace Wpf_AiSportsMicrospace.Views private void Window_MouseDoubleClick(object sender, MouseButtonEventArgs e) { - // 确认是左键双击 + // 确认是右键双击 if (e.ChangedButton == MouseButton.Right) { Application.Current.Shutdown();