📄 downloadssection.cs
字号:
namespace ASPNET.StarterKit.Communities.Downloads {
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNET.StarterKit.Communities;
//*********************************************************************
//
// DownloadsSection Class
//
// Represents the default page for the Downloads section. This class
// displays a list of download 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 DownloadsSection : ContentListPage {
string _skinFileName = "Downloads_DownloadsSection.ascx";
GetContentItemsDelegate _getContentItems = new GetContentItemsDelegate(DownloadsUtility.GetDownloads);
//*********************************************************************
//
// DownloadsSection Constructor
//
// Assigns skin and contentItems method to base ContentListPage class
//
//*********************************************************************
public DownloadsSection() : base() {
SkinFileName = _skinFileName;
GetContentItems = _getContentItems;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -