📄 displaylegendforum.cs
字号:
//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
// Copyright (c) Telligent Systems Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System;
using System.Web.UI;using CommunityServer.Components;using CommunityServer.Controls;namespace CommunityServer.Discussions.Controls
{
// *********************************************************************
// DisplayLegendForum
//
/// <summary>
/// This server control is used to display the Forum Legend
/// </summary>
// ***********************************************************************/
public class DisplayLegendForum : TemplatedWebControl
{
#region Member vars
CSContext csContext = CSContext.Current;
#endregion
protected override void OnInit(EventArgs e)
{
if (SkinName == null)
ExternalSkinFileName = "Skin-DisplayLegendForum.ascx";
else
ExternalSkinFileName = SkinName;
base.OnInit(e);
}
protected override void OnLoad(EventArgs e)
{
if (!Page.IsPostBack)
DataBind();
base.OnLoad(e);
}
#region DataBind
public override void DataBind()
{
base.DataBind();
// Bind data
//
}
#endregion
#region Skin
protected override void AttachChildControls()
{
// Bind controls
//
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -