Ejemplo n.º 1
0
 private void Success(AutomatMP at)
 {
     if (at.confirmation)
     {
         InputText.Background = Brushes.LightGreen;
     }
     else
     {
         InputText.Background = Brushes.Red;
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Запуск автомата в режиме "непрерывно".
        /// </summary>
        private void Permanent(AutomatMP at)
        {
            string tape = InputText.Text;

            at.Run(tape);
        }