private void compareBtnClick(object sender, RoutedEventArgs e)
        {
            ScoreUC scoreUC = new ScoreUC(poseName, classRoom, type, motion);

            comparePanel.Children.Clear();
            comparePanel.Children.Add(scoreUC);
        }
        private void compareBtnClick(object sender, RoutedEventArgs e)
        {
            //ScoreUC scoreUC = new ScoreUC(score, poseName, classRoom, type, path, motion);
            ScoreUC scoreUC = new ScoreUC(poseName, classRoom, type, motion);

            comparePanel.Children.Clear();
            comparePanel.Children.Add(scoreUC);
            //if (compareBtn.Content.ToString() == "Compare")
            //{
            //    compareBtn.Content = "Comapring...";

            //    position.saveMotionTraineePoint(motion, classRoom);

            //    double score = 0;
            //    List<Tuple<int, int, double, int>> path = new List<Tuple<int, int, double, int>>();

            //    if (type == "Pose")
            //    {
            //        score = comparison.calScore(skel, poseName, classRoom, 1);
            //    }
            //    else
            //    {
            //        Tuple<double[,], double[,]> table = dtw.modifiedDTW(motion, poseName, classRoom);
            //        int rows = motion.Count;
            //        int columns = position.lenghtFrame(poseName, classRoom);
            //        path = dtw.wrapPath(table.Item1, table.Item2, rows, columns);
            //        foreach (Tuple<int, int, double, int> i in path)
            //        {
            //            score += i.Item3;
            //        }
            //        score /= path.Count;



            //        foreach (Tuple<int, int, double, int> i in path)
            //        {
            //            Console.WriteLine(i.Item1 + " " + i.Item2 + " " + i.Item3);
            //        }

            //        Console.WriteLine("Score : " + score);

            //    }

            //    ScoreUC scoreUC = new ScoreUC(score, poseName, classRoom, type, path, motion);
            //    comparePanel.Children.Clear();
            //    comparePanel.Children.Add(scoreUC);
            //}
        }