protected override void OnContactTapGesture(ContactEventArgs e)
{
PlaySound(Properties.Resources.Tap);
if (!CurrentState.Equals(States.StateRotation) && CardOut)
{
if (CurrentState.Equals(States.StateUnlocked) && CardOut)
{
RemoveCurrentAnimation();
CardOut = false;
CurrentState = States.StateRotation;
ModelManager.Instance.SelectedCustomer = null;
OneCardOut = false;
OnTapAnimationIn();
}
else
e.Handled = true;
}
if (!CardOut && !OneCardOut)
{
ModelManager.Instance.SelectedCustomer = DataContext as Customer;
OneCardOut = true;
}
else
{
e.Handled = true;
return;
}
}