コード例 #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if ((Session["Language"] != null) && (Session["Language"].ToString().Equals("en-US")))
     {
         rm = _pageHelper.SetCulture("en-US");
     }
     else
     {
         rm = _pageHelper.SetCulture("vi-VN");
     }
     btSignIn.Text = rm.GetString("mnSignIn");
 }
コード例 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if ((Session["Language"] != null) && (Session["Language"].ToString().Equals("en-US")))
            {
                imgButtonEN.Enabled = false;
                rm = _pageHelper.SetCulture("en-US");
            }

            else
            {
                imgButtonVN.Enabled = false;
                rm = _pageHelper.SetCulture("vi-VN");
            }
        }