Esempio n. 1
0
        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);
        }