예제 #1
0
        public static void StartLayout(ConsoleScreenLayout layout)
        {
            Console.TreatControlCAsInput = true;
            layout.RunScreen();

            while (screenQueue.Count > 0)
            {
                var next = screenQueue.First.Value;
                screenQueue.RemoveFirst();
                next.RunScreen();
            }
        }
예제 #2
0
 public static void QueueNextLayout(ConsoleScreenLayout layout)
 {
     screenQueue.AddFirst(layout);
 }
예제 #3
0
 public static void QueueLayout(ConsoleScreenLayout layout)
 {
     screenQueue.AddLast(layout);
 }