예제 #1
0
        /// <summary>
        /// Write text in Rectangle
        /// </summary>
        /// <param name="message">Message to display</param>
        public static void WriteHeader(string message)
        {
            var item = new ConsoleRectangle(message, 100, 1, new Point(0, 0));

            item.Draw();
        }
예제 #2
0
        public static void WriteHeader(string message)
        {
            var item = new ConsoleRectangle(30, 1, new Point(0, 0), ConsoleColor.Magenta, message);

            item.Draw();
        }