예제 #1
0
        private void toolStripButton1_Click_1(object sender, EventArgs e)
        {
            if (idTextBox.Text != "")
            {
                var clienteId = Convert.ToInt32(idTextBox.Text);
                _cliente.RefrescarDatos(clienteId);

                listaClientesBindingSource.ResetBindings(false);
            }
        }
예제 #2
0
        private void buttonRefrescar_Click(object sender, EventArgs e)
        {
            if (idTextBox.Text != "")
            {
                var clienteId = Convert.ToInt32(idTextBox.Text);
                _clientes.RefrescarDatos(clienteId);

                clienteBindingSource.ResetBindings(false);
            }
        }