Exemple #1
0
 public Message(String text, MessageColor color)
 {
     MessageText = text;
     ForeColor = color.ForeColor;
     BackColor = color.BackColor;
 }
Exemple #2
0
        public void SendMessage(String text, MessageColor color)
        {
            if (color != Message.MESSAGE_DEBUG)
            {
                log.Add(new Message(text, color));
                return;
            }

            System.Console.WriteLine(text);
        }