Beispiel #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            frmagClientecs ventana = new frmagClientecs();

            ventana.ShowDialog();
            cargarGrilla();
        }
Beispiel #2
0
 private void btnModificar_Click(object sender, EventArgs e)
 {
     try
     {
         frmagClientecs modificar = new frmagClientecs((Cliente)dgvClientes.CurrentRow.DataBoundItem);
         modificar.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }