Beispiel #1
0
 /// <summary>
 /// Method handling the string page input
 /// </summary>
 /// <param name="newPageString">New page number in string</param>
 public void OnPageInputChange(string newPageString)
 {
     pageNumberInput.SetTextWithoutNotify((variants.CurrentPage + 1).ToString());
     if (int.TryParse(newPageString, out var newPage))
     {
         variants.ChangePage(newPage - 1);
     }
 }