Ejemplo n.º 1
0
 public void AddOutput(string type, OutputWord word)
 {
     if (!_words.ContainsKey(type)) _words.Add(type, new List<OutputWord>());
     _words[type].Add(word);
     if (type == _currentType)
     {
         OutputBox.Select(OutputBox.TextLength, 0);
         OutputBox.SelectionColor = word.GetColour();
         OutputBox.AppendText(word.Text);
         OutputBox.ScrollToCaret();
     }
 }
Ejemplo n.º 2
0
 public void AddOutput(string type, OutputWord word)
 {
     if (!_words.ContainsKey(type))
     {
         _words.Add(type, new List <OutputWord>());
     }
     _words[type].Add(word);
     if (type == _currentType)
     {
         OutputBox.Select(OutputBox.TextLength, 0);
         OutputBox.SelectionColor = word.GetColour();
         OutputBox.AppendText(word.Text);
         OutputBox.ScrollToCaret();
     }
 }
Ejemplo n.º 3
0
 private void OutputMessage(string type, OutputWord word)
 {
     AddOutput(type, word);
 }
Ejemplo n.º 4
0
 private void OutputMessage(string type, OutputWord word)
 {
     AddOutput(type, word);
 }