private void DataToControls() { if (contact != null) { edtEmail.Value = contact.email; edtName.Value = contact.name; edtPhone.Value = contact.phoneNumber; } }