currentsearch.cs

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

CS
37
字号
//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using System.Web.UI;
using CommunityServer.Blogs.Components;

namespace CommunityServer.Blogs.Controls
{
	/// <summary>
	/// Summary description for CurrentSearch.
	/// </summary>
	public class CurrentSearch : Control
	{
		public CurrentSearch()
		{
		}

		protected override void OnInit(EventArgs e)
		{
			base.OnInit (e);

			Weblog w = Weblogs.GetWeblog();
			if(w != null)
			{
				CommunityServer.Controls.TitleBar.AddSectionToSearch(w.SectionID,System.Web.HttpUtility.HtmlDecode(w.Name),Context);
			}
		}


		
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?