private void button1_Click(object sender, EventArgs e) { CustomerControl cc = new CustomerControl(); cc.addNewCustomer(name.Text, idNumber.Text, phone.Text, email.Text, password.Text); MessageBox.Show(cc.Message); }