コード例 #1
0
ファイル: Submenu.cs プロジェクト: jy4618272/Common
 /// <summary>
 /// Initializes a new instance of the Submenu control as left submenu.
 /// </summary>
 public Submenu(Micajah.Common.Pages.MasterPage masterPage, IList actionIdList, bool isFrameworkAdmin, bool isAuthenticated)
 {
     m_MasterPage       = masterPage;
     m_ActionIdList     = actionIdList;
     m_IsFrameworkAdmin = isFrameworkAdmin;
     m_IsAuthenticated  = isAuthenticated;
     m_Position         = SubmenuPosition.Left;
     m_ModernTheme      = (FrameworkConfiguration.Current.WebApplication.MasterPage.Theme == MasterPageTheme.Modern);
 }
コード例 #2
0
ファイル: Submenu.cs プロジェクト: jy4618272/Common
 /// <summary>
 /// Initializes a new instance of the Submenu control with specified type.
 /// </summary>
 /// <param name="position">Specifies the position of the submenu on the page. One of the SubmenuPosition enumerations.</param>
 public Submenu(Micajah.Common.Pages.MasterPage masterPage, IList actionIdList, bool isFrameworkAdmin, bool isAuthenticated, SubmenuPosition position)
     : this(masterPage, actionIdList, isFrameworkAdmin, isAuthenticated)
 {
     m_Position = position;
 }