Пример #1
0
 private void 触摸按钮_TouchEnter(object sender, TouchEventArgs e)
 {
     if (!Current.Option.IsPad)
     {
         return;                         //运行在平板时触发
     }
     MouseOrTouchDownOrUp.MouseOrTouchDown(sender);
 }
Пример #2
0
 private void 触摸按钮_MouseDown(object sender, MouseButtonEventArgs e)
 {
     if (Current.Option.IsPad)
     {
         return;                         //运行在平板时不触发
     }
     MouseOrTouchDownOrUp.MouseOrTouchDown(sender);
 }