private void btnOpenNew_Click(object sender, EventArgs e) { CustomerForm cf = new CustomerForm(null); cf.loadFromCnpj(((customer)bdgCustomer.Current), ((address)bdgAddress.Current)); desk.AddTabAndCloseCurrent(cf, "Novo cliente", true); }