private void consultarToolStripMenuItem_Click(object sender, EventArgs e)
        {
            try
            {
                frmFa_Clientes_consul frm = new frmFa_Clientes_consul();
                frm.llamadoFuera = true;

                frm.ShowDialog();
            }
            catch (Exception ex)
            {
                string NameMetodo = System.Reflection.MethodBase.GetCurrentMethod().Name;
                MessageBox.Show(NameMetodo + " - " + ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                Log_Error_bus.Log_Error(NameMetodo + " - " + ex.ToString());
            }
        }
Example #2
0
        private void txtBusqueda_Click(object sender, EventArgs e)
        {
            try
            {
                frmFa_Clientes_consul frm = new frmFa_Clientes_consul();
                frm.llamadoFuera = true;

                frm.ShowDialog();

                //InfoClientes = frm.info_otroLLamado;
                cmb_cliente.EditValue = InfoClientes.IdPersona;
                txt_Telefonos.Text    = InfoClientes.Persona_Info.pe_telefonoOfic;
                txt_Direccion.Text    = InfoClientes.Persona_Info.pe_direccion;

                txt_Ruc.Text = InfoClientes.Persona_Info.pe_cedulaRuc;
            }
            catch (Exception ex)
            {
                string NameMetodo = System.Reflection.MethodBase.GetCurrentMethod().Name;
                MessageBox.Show(NameMetodo + " - " + ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                Log_Error_bus.Log_Error(NameMetodo + " - " + ex.ToString());
            }
        }