From 6bcca7f204309d28bca96aec1a516a38eb5d5da3 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Fri, 26 Sep 2025 17:00:43 +0800 Subject: [PATCH] s --- Wpf_AiSportsMicrospace/Home.xaml.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Wpf_AiSportsMicrospace/Home.xaml.cs b/Wpf_AiSportsMicrospace/Home.xaml.cs index c8461d8..ed91641 100644 --- a/Wpf_AiSportsMicrospace/Home.xaml.cs +++ b/Wpf_AiSportsMicrospace/Home.xaml.cs @@ -80,6 +80,7 @@ namespace Wpf_AiSportsMicrospace _webcamClient.StartExtract(); StartFrameProcessing(); + coverFlow.ProgressCompleted += CoverFlow_ProgressCompleted; } @@ -105,11 +106,11 @@ namespace Wpf_AiSportsMicrospace string uri = item.ImageUri.ToString(); Window newWindow = null; - if (uri.EndsWith("1.jpg")) + if (uri.EndsWith("home_test.png")) newWindow = new GroupJumpRope(); - else if (uri.EndsWith("2.jpg")) + else if (uri.EndsWith("home_play.png")) newWindow = new GroupJumpRope(); - else if (uri.EndsWith("3.jpg")) + else if (uri.EndsWith("home_history.png")) newWindow = new GroupJumpRope(); if (newWindow != null)