Beispiel #1
0
 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;
 }
Beispiel #2
0
 public v_Pendencias()
 {
     InitializeComponent();
     this.c_pendencias  = new c_Pendencias();
     this.m_pendencias  = new m_Pendencias();
     this.c_emailConfig = new c_EmailConfig();
     this.m_emailConfig = new m_EmailConfig();
     this.c_corretor    = new c_Corretor();
     this.m_corretor    = new m_Corretor();
 }
Beispiel #3
0
 public v_Pendencias(string Usuario, int Permissao)
 {
     InitializeComponent();
     this.c_pendencias  = new c_Pendencias();
     this.m_pendencias  = new m_Pendencias();
     this.c_emailConfig = new c_EmailConfig();
     this.m_emailConfig = new m_EmailConfig();
     this.c_corretor    = new c_Corretor();
     this.m_corretor    = new m_Corretor();
     _usuariocad        = Usuario;
     _permissao         = Permissao;
 }
Beispiel #4
0
 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();
 }
Beispiel #5
0
 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;
 }