You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
562 B

1 year ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace GMCabsDriverAssistantSolution.CustomControls
  7. {
  8. public class OtpEntry : Entry
  9. {
  10. public delegate void BackspaceEventHandler(object sender, EventArgs e);
  11. public event BackspaceEventHandler OnBackspace;
  12. public OtpEntry() { }
  13. public void OnBackspacePressed()
  14. {
  15. if (OnBackspace != null)
  16. {
  17. OnBackspace(null, null);
  18. }
  19. }
  20. }
  21. }