Exemple #1
0
        private void btnModificar_Click(object sender, EventArgs e)
        {
            if (dataGridClientes.SelectedRows.Count != 1)
            {
                return;
            }

            int id_usuario = Convert.ToInt32(this.dataGridClientes.SelectedRows[0].Cells[0].Value);

            Abm_Cliente.AMCliente fCli = new AMCliente();
            fCli.idusuario = id_usuario;
            fCli.ShowDialog();
            this.btnBuscar.PerformClick();
        }
Exemple #2
0
        private void btnModificar_Click(object sender, EventArgs e)
        {
            if (dataGridClientes.SelectedRows.Count != 1) return;

            int id_usuario = Convert.ToInt32(this.dataGridClientes.SelectedRows[0].Cells[0].Value);

            Abm_Cliente.AMCliente fCli = new AMCliente();
            fCli.idusuario = id_usuario;
            fCli.ShowDialog();
            this.btnBuscar.PerformClick();
        }
Exemple #3
0
 private void btnCrear_Click(object sender, EventArgs e)
 {
     Abm_Cliente.AMCliente fCli = new AMCliente();
     fCli.ShowDialog();
     this.btnBuscar.PerformClick();
 }
Exemple #4
0
 private void btnCrear_Click(object sender, EventArgs e)
 {
     Abm_Cliente.AMCliente fCli = new AMCliente();
     fCli.ShowDialog();
     this.btnBuscar.PerformClick();
 }