public bool ObtenCubo(int idtipo, int appid, int usuarioid, int procesoid)
        {
            bool exito = false;

            try {
                Aplicacion appobj = new Aplicacion();
                if (appobj.ObtenIndicaores(usuarioid, appid, procesoid, idtipo))
                {
                    procesaid = appobj.procesoID;
                    lcub.Clear();
                    XmlNode select = appobj.AplicaionXML.DocumentElement.SelectSingleNode("Indicadores");
                    foreach (XmlNode area in select.SelectNodes("row"))
                    {
                        if (lcub.Count < 6)
                        {
                            lcub.Add(new Utilerias.ItemsCubo(area.Attributes["Registros"].Value.ToString(), "CuboCara('" + area.Attributes["TipoObjeto"].Value.ToString() + "'," + idtipo + "," + appid + ")", area.Attributes["TipoObjeto"].Value.ToString()));
                        }
                    }

                    for (int i = lcub.Count; i < 6; i++)
                    {
                        lcub.Add(new Utilerias.ItemsCubo("", "", ""));
                    }
                }
            }
            catch (Exception) {
            }
            return(exito);
        }