protected override bool checkValid(object[] senders, My_Point[] myPoints)
        {
            Card          c     = senders[0] as Card;
            Menu_Sort_Box b     = senders[1] as Menu_Sort_Box;
            bool          crit1 = c.Contain(b.CurrentPosition);
            bool          crit2 = !Group_List.ContainCard(b, c);

            return(crit1 && crit2);
        }
        public static Gesture_Event_Sorting Detect(List <My_Point> points, Gesture_Controler controler)
        {
            List <My_Point>       result    = new List <My_Point>();
            Gesture_Event_Sorting sortEvent = null;

            foreach (My_Point p in points)
            {
                if (!result.Contains(p) && p.Sender is Card && Calculator.CalDistance(p.StartPoint, p.CurrentPoint) >= STATICS.MIN_DISTANCE_FOR_MOVE)
                {
                    Card c = p.Sender as Card;
                    foreach (Menu_Sort_Box box in Group_List.GroupBox)
                    {
                        if (c.Contain(box.CurrentPosition))
                        {
                            foreach (My_Point p2 in points)
                            {
                                if (p.Sender == p2.Sender && !result.Contains(p2))
                                {
                                    result.Add(p2);
                                }
                            }
                            My_Point[] argPoints = result.ToArray();
                            object[]   objects   = new object[2];
                            objects[0]       = c;
                            objects[1]       = box;
                            sortEvent        = new Gesture_Event_Sorting();
                            sortEvent.Points = argPoints;
                            Gesture_List.addGesture(sortEvent);
                            Gesture_Sorting_Listener gestureListener = new Gesture_Sorting_Listener(controler, sortEvent);
                            sortEvent.Register(objects, argPoints);
                        }
                    }
                }
            }
            foreach (My_Point p in result)
            {
                points.Remove(p);
            }
            return(sortEvent);
        }