linkssection.cs
来自「非常不错的学校在线考试分析系统」· CS 代码 · 共 48 行
CS
48 行
namespace ASPNET.StarterKit.Communities.Links {
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNET.StarterKit.Communities;
//*********************************************************************
//
// LinksSection Class
//
// Represents the default page for the Links section. This class
// displays a list of link listings.
//
// _skinFileName = the name of the skin to use for this section
//
// _getContentItems = the name of the method that retrieves the list of content items
//
//*********************************************************************
public class LinksSection : ContentListPage {
string _skinFileName = "Links_LinksSection.ascx";
GetContentItemsDelegate _getContentItems = new GetContentItemsDelegate(LinksUtility.GetLinks);
//*********************************************************************
//
// LinkSection Constructor
//
// Assigns skin and contentItems method to base ContentListPage class
//
//*********************************************************************
public LinksSection() : base() {
SkinFileName = _skinFileName;
GetContentItems = _getContentItems;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?