示例#1
0
        void VerificaClnica()
        {
            int HayClinica = ClClinica.TieneClinica(Convert.ToInt32(Session["ClienteId"]));

            if (HayClinica == 0)
            {
                BgDoctor.Visible   = false;
                BgUsuarios.Visible = false;
                BgPaciente.Visible = false;
                BgCita.Visible     = false;
            }
        }
示例#2
0
        void VerificaClnica()
        {
            int HayClinica = ClClinica.TieneClinica(Convert.ToInt32(Session["ClienteId"]));

            if (HayClinica == 0)
            {
                sidebar.Visible = false;
            }
            else
            {
                sidebar.Visible = true;
            }
        }
示例#3
0
        void VerificaClnica()
        {
            int HayClinica = ClClinica.TieneClinica(Convert.ToInt32(Session["ClienteId"]));

            if (HayClinica == 0)
            {
                System.Web.UI.HtmlControls.HtmlGenericControl Menu;
                Menu         = (System.Web.UI.HtmlControls.HtmlGenericControl)Master.FindControl("sidebar");
                Menu.Visible = false;
            }
            else
            {
                System.Web.UI.HtmlControls.HtmlGenericControl Menu;
                Menu         = (System.Web.UI.HtmlControls.HtmlGenericControl)Master.FindControl("sidebar");
                Menu.Visible = true;
            }
        }