📄 banner.cs
字号:
//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
// Copyright (c) Telligent Systems Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System;
using System.Drawing;
using System.Collections;
using System.Collections.Specialized;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CommunityServer;
using CommunityServer.Components;
using System.ComponentModel;
using System.IO;
namespace CommunityServer.Controls
{
// *********************************************************************
// DisplayTitle
//
/// <summary>
/// This server control is used to display the common banner for all pages.
/// </summary>
// ***********************************************************************/
public class Banner : SkinnedWebControl {
#region member varaibles
CSContext csContext = CSContext.Current;
string skinFilename = "Skin-Banner.ascx";
// *********************************************************************
// DisplayTitle
//
/// <summary>
/// Constructor
/// </summary>
// ***********************************************************************/
public Banner() : base() {
if (SkinFilename == null)
SkinFilename = skinFilename;
}
#endregion
#region skin init
// *********************************************************************
// InitializeSkin
//
/// <summary>
/// Initialize the control template and populate the control with values
/// </summary>
// ***********************************************************************/
override protected void InitializeSkin(Control skin) {
// add attribute settings here as needed.
//
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -