chore: rename Previous method to Prev, delete GoTo method

This commit is contained in:
NaBian committed 2021-11-15 23:14:43 +08:00
1 parent f6ff682bde
commit 14bb9e0727
1 file changed
+2 -13
@@ -186,20 +186,9 @@ namespace HandyControl.Controls
/// </summary>
public void JumpTo(int index) => _jumpToIndex = index;
public void Next()
{
PageIndex = PageIndex + 1;
}
public void Next() => PageIndex++;
public void Previous()
{
PageIndex = PageIndex - 1;
}
public void GoTo(int index)
{
PageIndex = index;
}
public void Prev() => PageIndex--;
protected override void OnMouseWheel(MouseWheelEventArgs e)
{