From fc8fd43196e20b8677fad7efe715c1789e7848e5 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Thu, 25 Sep 2025 17:37:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=83=E5=90=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Wpf_AiSportsMicrospace/Home.xaml.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Wpf_AiSportsMicrospace/Home.xaml.cs b/Wpf_AiSportsMicrospace/Home.xaml.cs index 96fcee9..25e5f12 100644 --- a/Wpf_AiSportsMicrospace/Home.xaml.cs +++ b/Wpf_AiSportsMicrospace/Home.xaml.cs @@ -79,7 +79,7 @@ namespace Wpf_AiSportsMicrospace { _sportOperate = new SportOperate(); _webcamClient = _sportOperate.CreateRTSP(); - + _webcamClient.OnExtractFrame += frame => { if (frame != null) @@ -96,17 +96,14 @@ namespace Wpf_AiSportsMicrospace if (item.ImageUri.ToString().EndsWith("1.jpg")) { // 跳转到页面1 - MessageBox.Show("1.jpg"); } else if (item.ImageUri.ToString().EndsWith("2.jpg")) { // 跳转到页面2 - MessageBox.Show("2.jpg"); } else if (item.ImageUri.ToString().EndsWith("3.jpg")) { // 跳转到页面3 - MessageBox.Show("3.jpg"); } }