Example #1
0
        public static void ChoseLoginLogo(System.Web.UI.HtmlControls.HtmlImage logo)
        {
            String maDonViSuDung = QuickHelper.DocMaDonViSuDung();

            if (maDonViSuDung == "IUH")
            {
                logo.Src = "~/Images/logo_UIH.png";
            }
            else if (maDonViSuDung == "LUH")
            {
                logo.Src = "~/Images/logo_LUH.png";
            }
            else if (maDonViSuDung == "UTE")
            {
                logo.Src = "~/Images/logo_UTE.png";
            }
        }
Example #2
0
        public static void ChoseMasterPage(System.Web.UI.Page page)
        {
            String maDonViSuDung = QuickHelper.DocMaDonViSuDung();

            if (maDonViSuDung == "IUH")
            {
                page.MasterPageFile = "~/MasterPage.Master";
            }
            else if (maDonViSuDung == "LUH")
            {
                page.MasterPageFile = "~/MasterLUH.Master";
            }
            else if (maDonViSuDung == "UTE")
            {
                page.MasterPageFile = "~/MasterUTE.Master";
            }
        }