Files
Jorge Luis caudillo esparza 83acc6b4f1 Version OScar
2026-04-24 07:54:31 -07:00

64 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Security;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Microsoft.VisualBasic;
namespace ADSUtileriasWF.Data.Externa.PV
{
public class ClsEmpresas : CLSExternoBase
{
#region propiedades
public int CveCategoria { get; set; }
public string Categoria { get; set; }
public string Estado { get; set; }
#endregion
public ClsEmpresas() { }
public bool GetEmpresas()
{
bool Retorno = false;
try
{
datos = proxy.GetEmpresas();
Retorno = true;
}
catch (Exception ex)
{
OnError("Ocurrió un error al consultar Las Empresas.", "Error", ex, MessageBoxIcon.Error);
}
return Retorno;
}
public bool GetReporteInfo()
{
bool Retorno = false;
try
{
datos = proxy.GetReporteInfo();
Retorno = true;
}
catch (Exception ex)
{
OnError("Ocurrió un error al consultar El reporte de Informacion en el Servidor.", "Error", ex, MessageBoxIcon.Error);
}
return Retorno;
}
}
}