private static void TwoFingerGesture_AddMethod(E_2FINGERSCOMMON type, GestureDelegate method)
    {
        if (GestureTwoFingersCommon._instance == null)
        {
            GestureTwoFingersCommon gesture2Fingers = new GestureTwoFingersCommon();
            SimpleGesture.Instance.twoFingerGestures.Add(gesture2Fingers);
        }

        GestureTwoFingersCommon._instance.SetType(type);
        GestureTwoFingersCommon._instance.AddDelegate(method);
    }
    private static void TwoFingerGesture_SubsMethod(E_2FINGERSCOMMON type, GestureDelegate <GestureInfoTwist> method)
    {
        GestureTwoFingersCommon._instance.SetType(type);
        GestureTwoFingersCommon._instance.RemoveDelegate(method);

        if (!GestureTwoFingersCommon._instance.HasDelegates())
        {
            SimpleGesture.Instance.twoFingerGestures.Remove(GestureTwoFingersCommon._instance);
            GestureTwoFingersCommon._instance = null;
        }
    }