using System; using System.Collections; using BP.Difference; namespace BP.WF.HttpHandler { /// /// 页面功能实体 /// public class WF_Admin_Multilingual : DirectoryPageBase { /// /// 构造函数 /// public WF_Admin_Multilingual() { } /// /// 获得使用的语言. /// /// 使用的语言 public string GetLangue() { Hashtable ht = new Hashtable(); if (BP.Difference.SystemConfig.isMultilingual == true) ht.Add("IsMultilingual", "1"); else ht.Add("IsMultilingual", "0"); ht.Add("Langue", BP.Difference.SystemConfig.Langue); return BP.Tools.Json.ToJson(ht); } #region 执行父类的重写方法. /// /// 默认执行的方法 /// /// protected override string DoDefaultMethod() { switch (this.DoType) { case "DtlFieldUp": //字段上移 return "执行成功."; default: break; } //找不不到标记就抛出异常. throw new Exception("@标记[" + this.DoType + "],没有找到. @RowURL:" + HttpContextHelper.RequestRawUrl); } #endregion 执行父类的重写方法. #region ccform /// /// 表单的配置 /// /// public string CCForm_Init() { return ""; } #endregion xxx 界面方法. } }