using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;
using QMFrameWork.Common.MLanguage;
using QMFrameWork.WebUI.Menu;
namespace QMAPP.Common.Web.Util
{
///
/// Outlook式菜单
/// 创建者:李炳海
/// 创建日期:2013.2.22
///
public class OutLookMenu
{
#region 获取菜单html
///
/// 获取菜单html
///
/// 菜单信息
/// 菜单html
public string GetMenuHtml(List menus)
{
string html = "";
StringBuilder sBuilder = new StringBuilder();
try
{
//style=\"overflow: scroll\"
sBuilder.Append(" ");
html = sBuilder.ToString();
return html;
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 获取菜单组html
private string GetSubMenu(List Menus)
{
StringBuilder sBuilder = new StringBuilder();
sBuilder.Append("");
return sBuilder.ToString();
}
#endregion
#region 获取多语言标签
private static string GetLanguageLabel(string labelID)
{
if (LanguageHelper.Instance == null)
return "";
string labelText = "";
labelText = LanguageHelper.Instance.Language.GetItem(labelID.ToUpper());
return labelText;
}
#endregion
}
}