Example #1
0
        private void btLocalizar_Click(object sender, EventArgs e)
        {
            frmContasPagar f = new frmContasPagar();
            f.ShowDialog();
            f.Dispose();

               /*     if (f.codigo != 0)
            {
                DALConexao cx = new DALConexao(DadosConexao.StringDeConexao);
                BLLContasPagar bll = new BLLContasPagar(cx);
                ModeloContasPagar modelo = bll.CarregaModeloContasPagar(f.codigo);

                //txtCodigo.Text = modelo.CPCod.ToString();
                txtDescricao.Text = modelo.CPDescricao;

                this.alteraBotoes(3);
            }
            else
            {
                this.LimpaTela();
                this.alteraBotoes(1);
            }*/
            f.Dispose();
        }
Example #2
0
 private void contasAPagarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmContasPagar f = new frmContasPagar();
     f.ShowDialog();
     f.Dispose();
 }