コード例 #1
0
        protected void PrepareViewItems()
        {
            PaginaBase page = this.Page as PaginaBase;

            this.loggedBlock.Visible    = !string.IsNullOrEmpty(page.RecuperarLoginUsuarioLogado());
            this.notLoggedBlock.Visible = !this.loggedBlock.Visible;
        }
コード例 #2
0
 protected void PrepareGridAccounts()
 {
     if (this.activeControl.Visible)
     {
         PaginaBase page = this.Page as PaginaBase;
         this.gridAccounts.DataSource = ControladorShardAccount.GetAccounts(page.RecuperarLoginUsuarioLogado()).GetDataSet();
         this.gridAccounts.DataBind();
     }
 }
コード例 #3
0
        protected void PrepareViewItems()
        {
            PaginaBase page = this.Page as PaginaBase;

            this.activeControl.Visible = !string.IsNullOrEmpty(page.RecuperarLoginUsuarioLogado());
        }