public v_VisitasStand(int Permissao, string UsuarioCad) { InitializeComponent(); this.m_atendimento = new m_Atendimento(); this.c_atendimento = new c_Atendimento(); _Permissao = Permissao; _UsuarioCad = UsuarioCad; }
public v_InformarData(int CodigoAtendimento, string UsuarioCad)//Para informar Data da compra { InitializeComponent(); this.c_atendimento = new c_Atendimento(); this.m_atendimento = new m_Atendimento(); m_atendimento.idatendimento = CodigoAtendimento; m_atendimento.usuariocad = UsuarioCad; }
//Construtor para registrar novo Atendimento. public v_NovoAtendimento() { this.m_atendimento = new m_Atendimento(); this.c_atendimento = new c_Atendimento(); this.c_loteamento = new c_Loteamento(); this.c_corretor = new c_Corretor(); this.c_cidadeEstado = new c_CidadeEstado(); InitializeComponent(); }
public v_NovoAtendimento(string UsuarioCad) { this.m_atendimento = new m_Atendimento(); this.c_atendimento = new c_Atendimento(); this.c_loteamento = new c_Loteamento(); this.c_corretor = new c_Corretor(); this.c_cidadeEstado = new c_CidadeEstado(); InitializeComponent(); _usuarioCad = UsuarioCad; }
//Construtor para alterar Atendimento public v_NovoAtendimento(int CodigoAtendimento, string NomeCliente, string Telefone, string CidadeEstado, string CorretorAtual, string CorretorAtdAnterior, string Empreendimento, string Identificador, string Localizou, DateTime DataCadastroAtend, string UsuarioCad, bool Alterar) { this.m_atendimento = new m_Atendimento(); this.c_atendimento = new c_Atendimento(); this.c_loteamento = new c_Loteamento(); this.c_corretor = new c_Corretor(); this.c_cidadeEstado = new c_CidadeEstado(); InitializeComponent(); _usuarioCad = UsuarioCad; //Montar alteração... m_atendimento.idatendimento = CodigoAtendimento; txtNomeCliente.Text = NomeCliente; txtTelefoneCliente.Text = Telefone; if (Identificador != string.Empty) { txtQD.Text = Identificador.Substring(3, 3); txtLT.Text = Identificador.Substring(10, 3); } else { txtQD.Text = string.Empty; txtLT.Text = string.Empty; } lookUpEditCorretorAtual.EditValue = CorretorAtual; lookUpEditCorretorAnterior.EditValue = CorretorAtdAnterior; lookUpEditEmpreendimento.EditValue = Empreendimento; if (CidadeEstado == null) { lookUpEditCiddeUF.EditValue = ""; } else { lookUpEditCiddeUF.EditValue = CidadeEstado; } m_atendimento.cidadeUF = CidadeEstado; if (Localizou == "Televisão") { rbtTelevisao.Checked = true; } else if (Localizou == "Rádio") { rbtRadio.Checked = true; } else if (Localizou == "Internet") { rbtInternet.Checked = true; } else if (Localizou == "Carro Som") { rbtCarroSom.Checked = true; } else if (Localizou == "Fôlder") { rbtFolder.Checked = true; } else if (Localizou == "Outdoor") { rbtOutdoor.Checked = true; } else if (Localizou == "Indicação") { rbtIndicacao.Checked = true; } else { txtOutros.Text = Localizou; } dtpDataCadastro.Value = DataCadastroAtend; AlterarAtend = Alterar; }
public v_VisitasStand() { InitializeComponent(); this.m_atendimento = new m_Atendimento(); this.c_atendimento = new c_Atendimento(); }
public v_InformarData() { InitializeComponent(); this.c_atendimento = new c_Atendimento(); this.m_atendimento = new m_Atendimento(); }