示例#1
0
        private void button2_Click(object sender, EventArgs e)
        {
            LogicaGo logica = new LogicaGo();
            double   valor  = 0;

            if (!txtValor.Text.Equals(""))
            {
                valor = double.Parse(txtValor.Text, NumberStyles.Currency);
            }
            dgvMovimientos.DataSource = logica.obtenerMovimientos(dpFecha.Text, txtConcepto.Text, cbTipo.Text, valor);
        }