internal static void MoveOtherLogRecordBack(object JumpLevelObj) { int JumpLevel = (int)JumpLevelObj; List <LogRow> Records = GetPreviousOtherLogRecords(JumpLevel); if (Records.Count == 0) { return; } List <object[]> Rows = new List <object[]>(); foreach (LogRow Record in Records) { Rows.Add(Record.ToShellGridRowObjectArray()); } IronUI.SetOtherSourceGridRows(Rows, IronLog.SelectedOtherSource); }
internal static void ShowOtherSourceRecords() { IronUI.ShowLogBottomStatus("Loading...", false); List <LogRow> Records = IronDB.GetRecordsFromOtherSourceLog(0, IronLog.MaxRowCount, IronLog.SelectedOtherSource); if (Records.Count == 0) { return; } List <object[]> Rows = new List <object[]>(); foreach (LogRow Record in Records) { Rows.Add(Record.ToShellGridRowObjectArray()); } IronUI.SetOtherSourceGridRows(Rows, IronLog.SelectedOtherSource); }
internal static void MoveOtherLogRecordForward(object JumpLevelObj) { int JumpLevel = (int)JumpLevelObj; List <LogRow> Records = GetNextOtherLogRecords(JumpLevel); if (Records.Count == 0) { IronUI.ShowLogBottomStatus("Reached end of logs", true); return; } List <object[]> Rows = new List <object[]>(); foreach (LogRow Record in Records) { Rows.Add(Record.ToShellGridRowObjectArray()); } IronUI.SetOtherSourceGridRows(Rows, IronLog.SelectedOtherSource); }