コード例 #1
0
ファイル: v_DistFolhaAvulso.cs プロジェクト: netopvh/SGS-2.0
 public v_DistFolhaAvulso(int Permissao, string UsuarioCad)
 {
     InitializeComponent();
     _UsuarioCad = UsuarioCad;
     this.c_distFolhasAvulsas = new c_DistribuicaoFolhasAvulsas();
     this.m_distFolhasAvulsas = new m_DistribuicaoFolhasAvulsas();
 }
コード例 #2
0
 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";
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 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();
 }
コード例 #5
0
ファイル: v_DistFolhaAvulso.cs プロジェクト: netopvh/SGS-2.0
 public v_DistFolhaAvulso()
 {
     InitializeComponent();
     this.c_distFolhasAvulsas = new c_DistribuicaoFolhasAvulsas();
     this.m_distFolhasAvulsas = new m_DistribuicaoFolhasAvulsas();
 }