?? booksection.cs
字號(hào):
namespace ASPNET.StarterKit.Communities.Books {
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNET.StarterKit.Communities;
//*********************************************************************
//
// BookSection Class
//
// Represents the default page for the Books section. This class
// displays a list of books.
//
// _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 BookSection : ContentListPage {
string _skinFileName = "Books_BookSection.ascx";
GetContentItemsDelegate _getContentItems = new GetContentItemsDelegate(BookUtility.GetBooks);
//*********************************************************************
//
// ArticleSection Constructor
//
// Assigns skin and contentItems method to base ContentListPage class
//
//*********************************************************************
public BookSection() : base() {
SkinFileName = _skinFileName;
GetContentItems = _getContentItems;
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -