示例#1
0
 protected void InitializePage()
 {
     ApplicationFrame.GetInstance().SetAjaxRequestMode(false);            
     AppManifestManager.AddAndriodManifestLink();
     CSSStyleManager.IncludeStandardStyleSheet();
     JavaScriptManager.IncludeStandardJavaScript();
     CSSStyleManager.InsertEmbeddedFontStyle(ApplicationFrame.GetInstance().GetEmbeddedFontList());
 }
示例#2
0
        public WidControlPOSGeneralSetting()
        {
            AppManifestRow lcAppManifestRow;

            clLanguageManager = ApplicationFrame.GetInstance().ActiveSubscription.ActiveLanguage;
            clSettingManager  = ApplicationFrame.GetInstance().ActiveSubscription.ActiveSetting;

            if ((lcAppManifestRow = AppManifestManager.GetAppManifestRow()) != null)
            {
                clAppManifestDictionary = lcAppManifestRow.Row.Table.Columns.Cast <DataColumn>().ToDictionary(c => c.ColumnName.ToLower(), c => lcAppManifestRow.Row[c].ToString());
            }
            else
            {
                clAppManifestDictionary = new Dictionary <string, string>();
            }
        }
示例#3
0
 private void PerformSystemRequestAction(HttpContext paHttpContext, String paRequest)
 {
     switch(paRequest)
     {
         case "manifest.ios"                 : AppManifestManager.ResponseiOSManifest(paHttpContext); break;
         case "manifest.iosfrontend"         : AppManifestManager.ResponseiOSManifest(paHttpContext, AppManifestManager.Mode.FrontEnd); break;
         case "manifest.iosbackend"          : AppManifestManager.ResponseiOSManifest(paHttpContext, AppManifestManager.Mode.BackEnd); break;
         case "manifest.andriod"             : AppManifestManager.ResponseAndriodManifest(paHttpContext); break;
         case "manifest.andriodfrontend"     : AppManifestManager.ResponseAndriodManifest(paHttpContext, AppManifestManager.Mode.FrontEnd); break;
         case "manifest.andriodbackend"      : AppManifestManager.ResponseAndriodManifest(paHttpContext, AppManifestManager.Mode.BackEnd); break;                
         case "qrcode.andriodfrontend"       : DynamicQRCode.ResponseAndriodFrontEndQRCode(paHttpContext); break;
         case "qrcode.andriodbackend"        : DynamicQRCode.ResponseAndriodBackEndQRCode(paHttpContext); break;
         case "qrcode.iosfrontend"           : DynamicQRCode.ResponseIOSFrontEndQRCode(paHttpContext); break;
         case "qrcode.iosbackend"            : DynamicQRCode.ResponseIOSBackEndQRCode(paHttpContext); break;
         default                             : paHttpContext.Response.Write(ctSysRequestError); break;
     }
 }