private void btnIn_Click(object sender, RoutedEventArgs e) { array[c] = TxtTe.Text; c++; TxtTe.Clear(); TxtTe.Focus(); if (c >= 5) { btnSt.IsEnabled = true; btnPu.IsEnabled = true; btnIn.IsEnabled = false; } }