Ejemplo n.º 1
0
        /// <summary>
        /// Applies security, culture and theming to the page.
        /// </summary>
        /// <param name="e"></param>
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            if (Usuario == null)
            {
                return;
            }

            Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture = Usuario.Culture;

            ThemeManager.ApplyLogo(this, Usuario.Logo);
        }