/// <summary>
        /// Get the entries of the calling class
        /// </summary>
        /// <param name="category"></param>
        public static void GetEntries(string category)
        {
            if (!initialized)
            {
                init();
            }
            // Save current console state
            AB.PushContents();
            // Write the entries
            int  max      = Console.WindowHeight - 4;
            int  found    = 0;
            bool finished = false;

            while (!finished)
            {
                if (found < cc.Count)
                {
                    for (int i = found; i < cc.Count; i++)
                    {
                        if (category == category[i].ToString())
                        {
                            AConsole.WriteLine(ds[i].ToString());
                        }
                    }
                }
            }
            AConsole.WriteLine("Press any key to continue...");
            AConsole.ReadKey(true);
            AB.PopContents();
        }
Exemple #2
0
 public static void RestoreBuffer()
 {
     AR.PopContents();
 }
Exemple #3
0
 public static void ChangeScreen(int screen)
 {
     AR.Switch(CurrentScreen, screen);
     CurrentScreen = screen;
 }
Exemple #4
0
 public static void SaveBuffer()
 {
     AR.PushContents();
 }