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)