private void inicializaObjetos() { string nomeFuncao = "geraBoletos.Boletos.inicializaObjetos"; try { if (debitos == null) { debitos = new CarSystem.Debitos.Debito(CarSystem.Tipos.tipoEmissao.Producao, dados); } if (cliente == null) { cliente = new CarSystem.Cliente(dados); } if (boletos == null) { boletos = new CarSystem.Boletos.Boleto(dados); } } catch (Exception ex) { MessageBox.Show("(" + nomeFuncao + ")" + ex.Message); } }
public Parcelas(string pedido, CarSystem.BancoDados.Dados dados, CarSystem.Debitos.Debito debito) { InitializeComponent(); //CarSystem.Debitos.Grid.carregaParcelas(pedido, CarSystem.Tipos.statusDebito.naoPagos); }