/// <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(); }
public static void RestoreBuffer() { AR.PopContents(); }
public static void ChangeScreen(int screen) { AR.Switch(CurrentScreen, screen); CurrentScreen = screen; }
public static void SaveBuffer() { AR.PushContents(); }