private void surnameTextBox_Leave(object sender, EventArgs e) { client.Surname = surnameTextBox.Text; }