public v_NovaPendencia(int CodigoPendencia, int CodigoLoteamento, int CodigoCorretor, string Quadra, string Lote, string Cliente, string Venda, string NumeroContrato, string Pendencia, DateTime DataVenda, DateTime DataCadVenda, DateTime DataCadPendencia, string UsuarioCad, bool AlterarCad) { InitializeComponent(); this.c_loteamento = new c_Loteamento(); this.m_loteamento = new m_Loteamento(); this.c_corretor = new c_Corretor(); this.m_corretor = new m_Corretor(); this.c_pendencias = new c_Pendencias(); this.m_pendencias = new m_Pendencias(); this.c_emailConfig = new c_EmailConfig(); this.m_emailConfig = new m_EmailConfig(); m_pendencias.idpendencias = CodigoPendencia; m_pendencias.usuariocad = UsuarioCad; LookUpEditLoteamento.EditValue = CodigoLoteamento; LookUpEditCorretor.EditValue = CodigoCorretor; txtQuadra.Text = Quadra; txtLote.Text = Lote; txtCliente.Text = Cliente; txtVenda.Text = Venda; txtNumeroContrato.Text = NumeroContrato; txtPendencia.Text = Pendencia; dtpDataVenda.Value = DataVenda; dtpDataCad.Value = DataCadVenda; dteDataCadPendencia.EditValue = DataCadPendencia; this.Text = "Alterar Pendência"; _alterarCad = AlterarCad; cbxAvisarCorretorPendencia.Checked = false; }
public v_NovaComissao(string UsuarioCad) { InitializeComponent(); this.m_comissoes = new m_Comissoes(); this.c_Comissoes = new c_Comissoes(); this.c_corretor = new c_Corretor(); this.c_loteamento = new c_Loteamento(); this.m_loteamento = new m_Loteamento(); _UsuarioCad = UsuarioCad; }
public v_NovaDistribuicaoFolhaAvulso() { InitializeComponent(); this.c_DistFolhasAvulsas = new c_DistribuicaoFolhasAvulsas(); this.m_DistFolhasAvulsas = new m_DistribuicaoFolhasAvulsas(); this.c_corretor = new c_Corretor(); this.c_Empreendimento = new c_Loteamento(); this.c_emailConfig = new c_EmailConfig(); this.m_emailConfig = new m_EmailConfig(); this.m_corretor = new m_Corretor(); }
public v_NovaPendencia() { InitializeComponent(); this.c_loteamento = new c_Loteamento(); this.m_loteamento = new m_Loteamento(); this.c_corretor = new c_Corretor(); this.m_corretor = new m_Corretor(); this.c_pendencias = new c_Pendencias(); this.m_pendencias = new m_Pendencias(); this.c_emailConfig = new c_EmailConfig(); this.m_emailConfig = new m_EmailConfig(); }
public v_NovaComissao(int CodigoComissao, string UsuarioCad, string Corretor_PF, DateTime DataVenda, DateTime DataCadVenda, string Quadra, string Lote, string NomeCLiente, string StatusVenda, string TipoParcela, decimal ValorVenda, decimal ValorParcela, string Venda, string Empresa, string Obra, int ParcelaComissao, int TotalParcelaComissao, DateTime VencimentoParcela)// ALterar Cad { InitializeComponent(); this.m_comissoes = new m_Comissoes(); this.c_Comissoes = new c_Comissoes(); this.c_corretor = new c_Corretor(); this.c_loteamento = new c_Loteamento(); this.m_loteamento = new m_Loteamento(); _UsuarioCad = UsuarioCad; }
public v_NovaDistribuicaoContrato(string UsuarioCad) { InitializeComponent(); this.c_distribuicaoContratos = new c_Distribuicaocontratos(); this.m_distribuicaoContratos = new m_Distribuicaocontratos(); this.c_corretor = new c_Corretor(); this.m_corretor = new m_Corretor(); this.c_loteamento = new c_Loteamento(); this.m_loteamento = new m_Loteamento(); this.c_emailConfig = new c_EmailConfig(); this.m_emailConfig = new m_EmailConfig(); _usuarioCad = UsuarioCad; }
public v_NovaPendencia(string UsuarioCad, bool AlterarCad) { InitializeComponent(); this.c_loteamento = new c_Loteamento(); this.m_loteamento = new m_Loteamento(); this.c_corretor = new c_Corretor(); this.m_corretor = new m_Corretor(); this.c_pendencias = new c_Pendencias(); this.m_pendencias = new m_Pendencias(); this.c_emailConfig = new c_EmailConfig(); this.m_emailConfig = new m_EmailConfig(); dteDataCadPendencia.Text = DateTime.Now.ToShortDateString(); m_pendencias.usuariocad = UsuarioCad; _alterarCad = AlterarCad; }
public v_NovaDistribuicaoContrato(string UsuarioCad, bool Alterar, int CodigoDistribuicao, string Empreendimento, string Corretor, int NumeroContrato, DateTime DataDistribuicao)//Atualizar//Editar Distribuição { this.c_distribuicaoContratos = new c_Distribuicaocontratos(); this.m_distribuicaoContratos = new m_Distribuicaocontratos(); this.c_corretor = new c_Corretor(); this.m_corretor = new m_Corretor(); this.c_loteamento = new c_Loteamento(); this.m_loteamento = new m_Loteamento(); this.c_emailConfig = new c_EmailConfig(); this.m_emailConfig = new m_EmailConfig(); InitializeComponent(); btnSalvar.Text = "Alterar"; this.Text = "Alterar distribuição de Contrato"; m_distribuicaoContratos.iddistribuicaocontratos = CodigoDistribuicao; _usuarioCad = UsuarioCad; lookUpEditCorretor.EditValue = Corretor; lookUpEditEmpreendimento.EditValue = Empreendimento; txtSqcInicial.Value = NumeroContrato; dtpDataDistribuicao.Value = DataDistribuicao; txtSqcFinal.Value = txtSqcInicial.Value; _Alterar = Alterar; txtSqcFinal.Enabled = false; cbxAvisarPorEmail.Checked = false; }