📄 groupmanager.aspx.cs
字号:
using System;
using System.Web;
using System.Web.UI.WebControls;
using CommunityServer.ControlPanel.Controls;
using CommunityServer.ControlPanel.UI;
using CommunityServer.Controls;
using CA = ComponentArt.Web.UI;
using Style = CommunityServer.Controls.Style;
namespace CommunityServer.ControlPanel.Forums
{
/// <summary>
/// Summary description for GroupManager.
/// </summary>
public class GroupManager : BaseForumPage
{
public string IFrameScrolling;
protected Hyperlink AddGroupButton;
protected Hyperlink AddSectionButton;
protected Hyperlink DeleteButton;
protected ForumTreeViewControl ForumTree;
override protected void OnInit(EventArgs e)
{
this.Load += new EventHandler(this.Page_Load);
base.OnInit(e);
}
private void Page_Load(object sender, EventArgs e)
{
ForumTree.AddGroupButtonClientID = AddGroupButton.ClientID;
ForumTree.AddSectionButtonClientID = AddSectionButton.ClientID;
ForumTree.DeleteButtonClientID = DeleteButton.ClientID;
HttpBrowserCapabilities br = Request.Browser;
IFrameScrolling = br.Type.IndexOf("IE") == 0 ? "auto" : "yes" ;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -