Beispiel #1
0
 private void btn_buscaCl_Click(object sender, EventArgs e)
 {
     buscaVentana = new Form12BuscaCliente();
     if (buscaVentana.ShowDialog() == DialogResult.OK)
     {
         textBox2.Text = buscaVentana.ObjetoSeleccionado.Id.ToString();
     }
 }
Beispiel #2
0
        private void btn_BuscaCliente_Click(object sender, EventArgs e)
        {
            var BuscaVentana = new Form12BuscaCliente();

            if (BuscaVentana.ShowDialog() == DialogResult.OK)
            {
                cliente = BuscaVentana.ObjetoSeleccionado;
                //carga el id a la ventanita
                mTB_IDCliente.Text = cliente.Id.ToString();
            }
        }
Beispiel #3
0
        private void btn_buscaCl_Click(object sender, EventArgs e)
        {
            var BuscaVentana = new Form12BuscaCliente();

            BuscaVentana.ShowDialog();
        }