Пример #1
0
        public static void Display(IntPtr sctp, string message)
        {
            Size Size = ScpCommands.InitDisplay(sctp);

            string[] Strings = (message + new string('\n', Size.Height)).Split('\n');
            ScpCommands.HideCursor(sctp);

            for (byte RowIndex = 0; RowIndex < Size.Height; RowIndex++)
            {
                string Message = Strings[RowIndex];
                Message.PadRight(Size.Width, ' ');

                ScpCommands.Display(sctp, RowIndex, Message);
            }
        }
Пример #2
0
 public static void ClearDisplay(IntPtr sctp)
 {
     ScpCommands.HideCursor(sctp);
 }