private void CadastrarTaxa() { WTaxaCadastro taxaCadastro = new WTaxaCadastro(); taxaCadastro.Owner = this; taxaCadastro.ShowDialog(); if (!taxaCadastro.Cancelou) ListarTaxas(); }
private void EditarTaxa(Contrato.Taxa taxa) { WTaxaCadastro taxaCadastro = new WTaxaCadastro(); taxaCadastro.Taxa = taxa; taxaCadastro.ShowDialog(); if (!taxaCadastro.Cancelou) ListarTaxas(); }