public FormEdit(FormTelephones form, Telephones contact) { InitializeComponent(); EditContact += form.EditContact; textBoxName.Text = contact.Name; textBoxTelephone.Text = contact.Telephone.ToString(); _contact = contact; }
public FormAddContact(FormTelephones form) { InitializeComponent(); AddContact += form.AddContact; }