Esempio n. 1
0
        private void buttonHistorial_Click(object sender, EventArgs e)
        {
            //TOMO VALORES DE LA FILA SELECCIONADA
            if (Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["Id"].Value) == 0)
            {
            }
            else
            {
                int IdCliente = Convert.ToInt32(dataGridView1.SelectedRows[0].Cells["Id"].Value);

                ServicioGrilla servicioGrilla = new ServicioGrilla();

                servicioGrilla.Filtro    = true;
                servicioGrilla.IdCliente = IdCliente;
                servicioGrilla.ShowDialog();
            }
        }
Esempio n. 2
0
        private void verTodosToolStripMenuItem3_Click(object sender, EventArgs e)
        {
            ServicioGrilla servicioGrilla = new ServicioGrilla();

            servicioGrilla.ShowDialog();
        }