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