public v_DistFolhaAvulso(int Permissao, string UsuarioCad) { InitializeComponent(); _UsuarioCad = UsuarioCad; this.c_distFolhasAvulsas = new c_DistribuicaoFolhasAvulsas(); this.m_distFolhasAvulsas = new m_DistribuicaoFolhasAvulsas(); }
public v_NovaDistribuicaoFolhaAvulso(int CodigoDist, int Corretor, int Empreendimento, DateTime DataDist, string Folha, decimal ValorFolha, string FormaPagamento, string UsuarioCad, bool AlterarCad)//Alterar Dist { 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(); m_DistFolhasAvulsas.iddistribuicaofolhasavulsas = CodigoDist; cbxCorretor.EditValue = Corretor; cbxEmpreendimento.EditValue = Empreendimento; dtpDataDistribuicao.Value = DataDist; cbxFolha.EditValue = Folha; txtValorFolha.Text = Convert.ToString(ValorFolha); if (FormaPagamento == "Á Vista") { rbtPGAvista.Checked = true; } else if (FormaPagamento == "Á Prazo") { rbtPGAprazo.Checked = true; } _UsuarioCad = UsuarioCad; _AlterarCad = AlterarCad; cbxNotificarCorretorEmail.Checked = false; this.Text = "Alterar Distribuição de Folha Avulso"; btnSalvar.Text = "Alterar"; }
public v_StatusFolhaAvulso(int CodigoDistribuicaoFolha, string UsuarioCad) { InitializeComponent(); this.c_DistFolhaAvulsas = new c_DistribuicaoFolhasAvulsas(); this.m_DistFlhasAvulsas = new m_DistribuicaoFolhasAvulsas(); _UsuarioCad = UsuarioCad; m_DistFlhasAvulsas.iddistribuicaofolhasavulsas = CodigoDistribuicaoFolha; }
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_DistFolhaAvulso() { InitializeComponent(); this.c_distFolhasAvulsas = new c_DistribuicaoFolhasAvulsas(); this.m_distFolhasAvulsas = new m_DistribuicaoFolhasAvulsas(); }