private void SearchClick(object sender, EventArgs e) { List <Domain.Contact> results = Data.ContactDataFunctions.Search(SearchTextbox.Text); MyContacts form = new MyContacts(); form.searched_contacts(results); form.ShowDialog(); }
private void MyContacts_Click(object sender, EventArgs e) { MyContacts form = new MyContacts(); form.ShowDialog(); }