private void TextBox_Dialog_Console_Press(object sender, KeyEventArgs e)
 {
     if (e.Alt == true && e.KeyCode == Keys.C)
     {
         textBox_Dialog_Console.Clear();
         StringHolder.Clear();
     }
 }
Esempio n. 2
0
        public static void MonolithConsole(string Input)
        {
            if (StringHolder.Count > 2000)
            {
                StringHolder.Clear();
            }

            StringHolder.Add(Input);
            dialog_console.textBox_Dialog_Console.Clear();

            for (int x = 0; x < StringHolder.Count; x++)
            {
                dialog_console.textBox_Dialog_Console.AppendText(StringHolder[x] + Environment.NewLine);
            }
        }