示例#1
0
 public v_NovaEmpresaCorretor(string UsuarioCad)
 {
     InitializeComponent();
     this.c_empresaCorretor = new c_EmpresaCorretor();
     this.m_empresaCorretor = new m_EmpresaCorretor();
     _UsuarioCad            = UsuarioCad;
 }
示例#2
0
        public v_Corretor()
        {
            InitializeComponent();

            this.c_corretor        = new c_Corretor();
            this.m_corretor        = new m_Corretor();
            this.c_empresaCorretor = new c_EmpresaCorretor();
        }
示例#3
0
        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;
        }
示例#4
0
 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;
 }