ButtonEx.cs 917 B

123456789101112131415161718192021222324252627282930313233343536
  1. using Caliburn.Micro;
  2. using MECF.Framework.Common.DataCenter;
  3. using MECF.Framework.UI.Client.CenterViews.Dialogs;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows;
  10. using System.Windows.Controls;
  11. using System.Windows.Input;
  12. namespace MECF.Framework.UI.Client.Themes.OceanBlue
  13. {
  14. public partial class ButtonEx : ResourceDictionary
  15. {
  16. //public void PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e)
  17. //{
  18. // if (e.StylusDevice != null)
  19. // {
  20. // e.Handled = true;
  21. // }
  22. // else
  23. // {
  24. // // ((Button)sender). PreviewTouchUp(sender,null);
  25. // }
  26. //}
  27. //public void PreviewTouchUp(object sender, TouchEventArgs e)
  28. //{
  29. //}
  30. }
  31. }