Example #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _redirector = new Redirector();
            _presenter = new MXH1MasterPresenter();

            _usersession = new UserSession();
            _webContext = new WebContext();
        }
Example #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     _redirector = new Redirector();
     _presenter = new MXH1MasterPresenter();
     _presenter.Init(this);
     _usersession = new UserSession();
     _webContext = new WebContext();
     img_av.ImageUrl = "~/Image/ProfileAvatar.aspx";
 }
Example #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _redirector = new Redirector();
<<<<<<< HEAD
=======
            _presenter = new MXH1MasterPresenter();
            _presenter.Init(this);
>>>>>>> 74349b0b329f92be16c92eafca08b233a2499789
        }
Example #4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _redirector = new Redirector();
            _presenter = new MXH1MasterPresenter();

            _usersession = new UserSession();
            _webContext = new WebContext();
            lb_dangky.Visible = false;
            lb_dangnhap.Visible = false;
        }
Example #5
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _redirector = new Redirector();
            _presenter = new MXH1MasterPresenter();
            _presenter.Init(this);
            _usersession = new UserSession();
            _webContext = new WebContext();
            _as = new AccountService();
            img_av.ImageUrl = "~/Image/ProfileAvatar.aspx";
            if (_usersession != null)
            {
                lb_dangky.Visible = false;
                lb_dangnhap.Visible = false;

            }
            else
            {
                lb_dangky.Visible = true;
                lb_dangnhap.Visible = true;

            }
            lblUserName.ForeColor = System.Drawing.Color.White;
        }