delete redundant codes

This commit is contained in:
NaBian committed 2020-12-15 12:37:25 +08:00
1 parent e64362bdcd
commit c17e86ca55
13 files changed
+191 -538

No files matched your search

@@ -1,11 +1,12 @@
using System.Windows;
using System.Windows.Input;
using HandyControl.Tools.Helper;
using System.Windows.Input;
using HandyControl.Tools;
namespace HandyControlDemo.Window
{
public partial class TouchDragMoveWindow
{
private int _currentTouchCount;
public TouchDragMoveWindow()
{
InitializeComponent();
@@ -23,14 +24,9 @@ namespace HandyControlDemo.Window
{
CaptureTouch(e.TouchDevice);
if (_currentTouchCount == 0)
{
TouchDragMoveWindowHelper.DragMove(this);
}
if (_currentTouchCount == 0) this.TouchDragMove();
_currentTouchCount++;
}
private uint _currentTouchCount;
}
}
}