Status.xaml.cs 595 B

1234567891011121314151617181920212223242526272829303132
  1. namespace HistoryUI.Views;
  2. /// <summary>
  3. /// Interaction logic for Status.xaml
  4. /// </summary>
  5. public partial class Status : UserControl
  6. {
  7. public Status()
  8. {
  9. InitializeComponent();
  10. }
  11. volatile int touchCounter = 0;
  12. private void ContentControl_TouchEnter(object sender, TouchEventArgs e)
  13. {
  14. if (++touchCounter == 2)
  15. {
  16. }
  17. }
  18. private void ContentControl_TouchLeave(object sender, TouchEventArgs e)
  19. {
  20. touchCounter--;
  21. }
  22. private void ContentControl_TouchMove(object sender, TouchEventArgs e)
  23. {
  24. }
  25. }