private void buttonLoadSecondAction_Click(object sender, RoutedEventArgs e)
        {
            OpenFileDialog openXml = new OpenFileDialog();
            openXml.ShowDialog();

            try
            {
                ImportSkeleton importSkeletonManager = new ImportSkeleton();
                importSkeletonManager.ImportAction(openXml.FileName);

                mSecondAction = importSkeletonManager.SkeletonCollection;
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }
        private void buttonLoadXml_Click(object sender, RoutedEventArgs e)
        {
            OpenFileDialog openXml = new OpenFileDialog();
            openXml.ShowDialog();

            ImportSkeleton importSkeletonManager = new ImportSkeleton();
            importSkeletonManager.ImportAction(openXml.FileName);

            mSkeletonCollection = importSkeletonManager.SkeletonCollection;
        }
        private void buttonLoadActionSet_Click(object sender, RoutedEventArgs e)
        {
            OpenFileDialog openFile = new OpenFileDialog();

            openFile.ShowDialog();

            List<Activity> tempActivities = new List<Activity>();

            using (var streamReader = new StreamReader(openFile.FileName))
            {
                string line = "";

                while ((line = streamReader.ReadLine()) != null)
                {
                    ImportSkeleton action = new ImportSkeleton();
                    action.ImportAction(line);
                    List<ImportedSkeleton> skeleton = action.SkeletonCollection;

                    Activity currentActivity = new Activity(Path.GetFileNameWithoutExtension(line));
                    currentActivity.Recordings.Add(new ActivityRecord(action.SkeletonCollection));

                    tempActivities.Add(currentActivity);
                }

                if (line != "")
                {
                    Activities = tempActivities;

                }
            }
        }