Example #1
0
 //****************************************************************************************************
 //Обработчик ввода команды
 private void consoleBox1_GetCommand(object sender, ConsoleBoxGetCommandEventArgs e)
 {
     //Если введена не пустая строка
     if (e.Command.Length > 0)
         m_fasade.ExecuteCommand(e.Command);
     else
         consoleBox.Prompt();
 }
Example #2
0
 private void consoleBox1_GetCommand(object sender, ConsoleBoxGetCommandEventArgs e)
 {
     if (e.Command.Length > 0)
         m_fasade.ExecuteCommand(e.Command);
     else
         consoleBox1.Prompt();
 }