public PrestamosPendientesForm() : base() { service = ODataServiceContext.Instance; string serviceURL = ReadSetting("webServiceURL"); if (string.IsNullOrEmpty(serviceURL)) { // TODO: fix this serviceURL = "http://192.168.1.174:8080/odataexample/odata/appexample.svc/"; } //com.carione bool rst = service.Connect <com.cairone.odataexample.ODataExample>(serviceURL); if (!rst) { return; } this.SetGridColumns(this.GenerateGridColumns()); this.SetGridItems(this.LoadAllPrestamos()); this.SetDefaultSkin(DEFAULT_SKIN); }
public Paises() : base() { service = ODataServiceContext.Instance; //com.carione bool rst = service.Connect <com.cairone.odataexample.ODataExample>(ODATA_SERVICE_URL_JAVA); if (!rst) { return; } this.SetGridColumns(this.GenerateGridColumns()); this.SetGridItems(this.LoadAllPaises()); }
public LocalidadesForm() : base() { service = ODataServiceContext.Instance; bool rst = service.Connect <com.cairone.odataexample.ODataExample>(WEB_SERVICE_URL); if (!rst) { return; } this.SetGridColumns(this.GenerateGridColumns()); this.SetGridItems(this.LoadAllLocalidades()); this.SetDefaultSkin(DEFAULT_SKIN); }