private void _ViewStyleset_P_HeadUp(object sender, EventArgs e) { KinectController.RemoveGestureEventHandler(); SaleCuponControl = new SaleCupon(ViewStylesetControl.SelectedStyleset); _SaleCupon_Initialize(); _Global_C_AddControl(SaleCuponControl); }
private void _SaleCupon_P_RightHandUp(object sender, EventArgs e) { MainPageControl = new MainPageComponent(); _Main_Initialize(); _Global_C_AddControl(MainPageControl); _Global_C_RemoveControl(SaleCuponControl); SaleCuponControl.Dispose(); SaleCuponControl = null; }
private void _SaleCupon_P_LeftHandUp(object sender, EventArgs e) { _Global_C_RemoveControl(SaleCuponControl); SaleCuponControl.Dispose(); SaleCuponControl = null; Action <string> RightSwipeGestureHandler = _ViewStyleset_SwipeGestureRight; Action <string> LeftSwipeGestureHandler = _ViewStyleset_SwipeGestureLeft; KinectController.ChangeGestureEventHandler(RightSwipeGestureHandler, "R"); KinectController.ChangeGestureEventHandler(LeftSwipeGestureHandler, "L"); }
private void _SaleCupon_P_LeftHandUp(object sender, EventArgs e) { _Global_C_RemoveControl(SaleCuponControl); SaleCuponControl.Dispose(); SaleCuponControl = null; Action<string> RightSwipeGestureHandler = _ViewStyleset_SwipeGestureRight; Action<string> LeftSwipeGestureHandler = _ViewStyleset_SwipeGestureLeft; KinectController.ChangeGestureEventHandler(RightSwipeGestureHandler, "R"); KinectController.ChangeGestureEventHandler(LeftSwipeGestureHandler, "L"); }