public v_NovaEmpresaCorretor(string UsuarioCad) { InitializeComponent(); this.c_empresaCorretor = new c_EmpresaCorretor(); this.m_empresaCorretor = new m_EmpresaCorretor(); _UsuarioCad = UsuarioCad; }
public v_Corretor() { InitializeComponent(); this.c_corretor = new c_Corretor(); this.m_corretor = new m_Corretor(); this.c_empresaCorretor = new c_EmpresaCorretor(); }
public v_Corretor(string UsuarioCad, int Permissao) { InitializeComponent(); this.c_corretor = new c_Corretor(); this.m_corretor = new m_Corretor(); this.c_empresaCorretor = new c_EmpresaCorretor(); _usuariocad = UsuarioCad; _permissao = Permissao; }
public v_NovaEmpresaCorretor(string UsuarioCad, m_EmpresaCorretor EmpresaCorretor, bool AltearCad) { InitializeComponent(); this.c_empresaCorretor = new c_EmpresaCorretor(); this.m_empresaCorretor = new m_EmpresaCorretor(); m_empresaCorretor.idempresacorretor = EmpresaCorretor.idempresacorretor; _UsuarioCad = UsuarioCad; txtNomeEmpresa.Text = EmpresaCorretor.nomeempresa; txtCNPJ.Text = EmpresaCorretor.cnpj; txtCreciJuridico.Text = EmpresaCorretor.crecijuridico; if (EmpresaCorretor.status == 0) { rbtInativo.Checked = true; } else if (EmpresaCorretor.status == 1) { rbtAtivo.Checked = true; } this.Text = "Alterar Empresa Corretor"; _AlterarCad = AltearCad; }