Example #1
0
        private void tipoDePagamentoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCadastroTipoPagamento f = new frmCadastroTipoPagamento();

            f.ShowDialog();
            f.Dispose();
        }
 private void tipoDePagamentotoolStripMenuItem1_Click(object sender, EventArgs e)
 {
   using(frmCadastroTipoPagamento frmTipoPagto = new frmCadastroTipoPagamento())
   {
     frmTipoPagto.ShowDialog();
   }
 }
Example #3
0
        private void mnuTipoPagamento_Click(object sender, EventArgs e)
        {
            frmCadastroTipoPagamento f = new frmCadastroTipoPagamento();

            f.ShowDialog();
            f.Dispose();
        }
 private void dgvDados_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0)
     {
         frmCadastroTipoPagamento f = new frmCadastroTipoPagamento();
         f.codigo = Convert.ToInt32(dgvDados.Rows[e.RowIndex].Cells[0].Value);
         this.Close();
         f.ShowDialog();
         f.Dispose();
     }
 }
Example #5
0
        private void btnAddTipoPag_Click(object sender, EventArgs e)
        {
            frmCadastroTipoPagamento f = new frmCadastroTipoPagamento();
            f.ShowDialog();
            f.Dispose();

            DALConexao cx = new DALConexao(DadosConexao.StringDeConexao);
            BLLTipoPagamento bll = new BLLTipoPagamento(cx);
            cbxTipoPagamento.DataSource = bll.Localizar("");
            cbxTipoPagamento.DisplayMember = "tpa_nome";
            cbxTipoPagamento.ValueMember = "tpa_cod";
        }
        private void tipoDePagamentoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCadastroTipoPagamento f = new frmCadastroTipoPagamento();

            CheckMdiChildren(f);
        }
Example #7
0
 private void tipoDePagamentoToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmCadastroTipoPagamento f = new frmCadastroTipoPagamento();
     f.ShowDialog();
     f.Dispose();
 }