calendarview.cs
来自「community server 源码」· CS 代码 · 共 72 行
CS
72 行
//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
// Copyright (c) Telligent Systems Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
// TODO: Remove code that display help...
using System;
using System.Web.UI;using CommunityServer.Components;using CommunityServer.Controls;namespace CommunityServer.Discussions.Controls
{
// *********************************************************************
// CalendarView
//
/// <summary>
/// </summary>
///
// ********************************************************************/
public class CalendarView : TemplatedWebControl
{
#region Member variables
//CSContext csContext = CSContext.Current;
#endregion
protected override void OnInit(EventArgs e)
{
if (SkinName == null)
ExternalSkinFileName = "View-Calendar.ascx";
else
ExternalSkinFileName = SkinName;
base.OnInit(e);
}
protected override void OnLoad(EventArgs e)
{
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 + =
减小字号Ctrl + -
显示快捷键?