private void textAno_KeyPress(object sender, KeyPressEventArgs e) { e.Handled = !(Char.IsNumber(e.KeyChar) || Char.IsControl(e.KeyChar));}