groupmanager.aspx.cs

来自「community server 源码」· CS 代码 · 共 45 行

CS
45
字号
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 + =
减小字号Ctrl + -
显示快捷键?