private void StartAnimation(double down, double up)
        {
            // Right to Left
            if (down - up > 50)
            {
                /// isNextFramePage가 false 이면 애니매이션 동작 안함
                if (!isNextFramePage("RightToLeft"))
                {
                    return;
                }

                LFPView newPage = new LFPView();
                ShowPage(newPage, "RightToLeft");
                PageCheckEllipse();
                EFPManager.Instance.MouseEventType = MouseEventType.PreviewMouseUp_MouseMove;
                return;
            }
            /// Left to Right
            else if (down - up < -50)
            {
                /// isNextFramePage가 false 이면 애니매이션 동작 안함
                if (!isNextFramePage("LeftToRight"))
                {
                    return;
                }


                LFPView newPage = new LFPView();
                ShowPage(newPage, "LeftToRight");

                PageCheckEllipse();

                EFPManager.Instance.MouseEventType = MouseEventType.PreviewMouseUp_MouseMove;
                return;
            }
            //else
            //{
            //    EFPManager.Instance.MouseEventType = MouseEventType.PreviewMouseUp;
            //    return;
            //}
        }
        private void TFV_SaveButton()
        {
            List <int> removeID = new List <int>();

            foreach (var item in Entity.TotalDatas)
            {
                if (item.IsCheckBox)
                {
                    //Entity.TotalDatas.RemoveAt(item.ID);
                    removeID.Add(item.ID);
                }
            }

            /// 삭제
            foreach (var item in removeID)
            {
                Entity.TotalDatas.RemoveAt(item);
            }

            // 정렬
            for (int i = 0; i < Entity.TotalDatas.Count; i++)
            {
                Entity.TotalDatas[i].ID = i;
                Entity.TotalDatas[i]    = Entity.TotalDatas[i];
            }

            // 모자란 부분 추가
            //int addNewFrameCount = 32 - Entity.TotalDatas.Count;

            for (int i = Entity.TotalDatas.Count; i < 32; i++)
            {
                Entity.TotalDatas.Add(new TotalData
                                      (
                                          "T I T L E",
                                          "/Resources/EmptyFrame.png",
                                          new FrameModel(PropertyState.AUTO, "LENGTH FRONT", "", "length_front"),
                                          new FrameModel(PropertyState.AUTO, "LENGTH REAR", "", "length_rear"),
                                          new FrameModel(PropertyState.AUTO, "HEIGHT FRONT FIRST", "", "height_front_first"),
                                          new FrameModel(PropertyState.AUTO, "HEIGHT FRONT SECOND", "", "height_front_second"),
                                          new FrameModel(PropertyState.AUTO, "HEIGHT REAR", "", "height_rear"),
                                          new FrameModel(PropertyState.HAND, "WIDTH", "", "width"),
                                          new FrameModel(PropertyState.HAND, "HANDLE", "", "handle"),
                                          new FrameModel(PropertyState.HAND, "PEDAL", "", "pedal"),
                                          new FrameModel(PropertyState.HAND, "SEAT X", "", "seat_x"),
                                          new FrameModel(PropertyState.HAND, "SEAT Y", "", "seat_y"),

                                          new FrameModel(PropertyState.TOTAL, "WIDTH", "", null),      // Width와 동일
                                          new FrameModel(PropertyState.TOTAL, "LENGTH", "", null),     // Lenght front + lenght rear
                                          new FrameModel(PropertyState.TOTAL, "HEIGHT", "1515", null), // height rear
                                          i
                                      ));
            }

            /// 페이지 체인지
            ///

            ObservableCollection <FramePropertyViewModel> fpVM = new ObservableCollection <FramePropertyViewModel>();

            switch (Entity.PageType)
            {
            case PageType.Page1:

                for (int i = 0; i < 8; i++)
                {
                    fpVM.Add(new FramePropertyViewModel(null, new FramePropertyModel(Entity.TotalDatas[i].FrameName, Entity.TotalDatas[i].FrameImage, Entity.TotalDatas[i].ID, EFPManager.Instance.GetFrameData(i))));
                }
                break;

            case PageType.Page2:
                for (int i = 7; i < 16; i++)
                {
                    fpVM.Add(new FramePropertyViewModel(null, new FramePropertyModel(Entity.TotalDatas[i].FrameName, Entity.TotalDatas[i].FrameImage, Entity.TotalDatas[i].ID, EFPManager.Instance.GetFrameData(i))));
                }
                break;

            case PageType.Page3:
                for (int i = 15; i < 24; i++)
                {
                    fpVM.Add(new FramePropertyViewModel(null, new FramePropertyModel(Entity.TotalDatas[i].FrameName, Entity.TotalDatas[i].FrameImage, Entity.TotalDatas[i].ID, EFPManager.Instance.GetFrameData(i))));
                }
                break;

            case PageType.Page4:
                for (int i = 23; i < 32; i++)
                {
                    fpVM.Add(new FramePropertyViewModel(null, new FramePropertyModel(Entity.TotalDatas[i].FrameName, Entity.TotalDatas[i].FrameImage, Entity.TotalDatas[i].ID, EFPManager.Instance.GetFrameData(i))));
                }
                break;
            }

            LFPView lfpv = (LFPView)FindUserControl("ListFPView");

            lfpv.TFV_listView.ItemsSource  = fpVM;
            tfvUC.contentPresenter.Content = lfpv;

            tfvUC.SaveButton.Visibility = Visibility.Hidden;

            _isShowing = true;
            EFPManager.Instance.IsTouch = false;
            EFPManager.Instance.Serialize();
        }