Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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);
        }