Текстове поле

textBox1.Text = "Привіт Світ!";

if (textBox1.Text.Length > 0)

{

}

richTextBox1.

Copy()

Cut()

Paste()

Undo()

Redo()

if (!char.IsDigit(e.KeyChar))

            {

                e.Handled = true;

                MessageBox.Show("Поле PІN не може містити букви");

            }