private void Supplier_submit_Click(object sender, EventArgs e) { Supplier s = new Supplier(supnamebox.Text, supcontactbox.Text, supaddressbox.Text); crud.AddSupplier(s); }