private void LoadOlderLogAction() { for (int i = 0; i < TRIES; i++) { bool s = CurrentTab.LoadOlderLogEntry(); if (s) { break; } } }
private void LoadOlderLogArrayAction() { Log9KUtil.ExecuteCommand(StartRemovingFromBottomCommand); int pageUpDownToLoad; bool success = int.TryParse(PageUpDownToLoad, out pageUpDownToLoad); if (!success) { pageUpDownToLoad = 10; } for (int i = 0; i < pageUpDownToLoad; i++) { CurrentTab.LoadOlderLogEntry(); } SelectedEntry = CurrentTab.LogEntryCollection[0]; }