?? book.cs
字號:
namespace ASPNET.StarterKit.Communities.Books {
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNET.StarterKit.Communities;
//*********************************************************************
//
// Book Class
//
// Represents an individual book.
//
// _skinFileName = the name of the skin to use for this section
//
// _getContentItem = the name of the method that retrieves the content item
//
//*********************************************************************
public class Book : ContentItemPage {
string _skinFileName = "Books_Book.ascx";
GetContentItemDelegate _getContentItem = new GetContentItemDelegate(BookUtility.GetBookInfo);
//*********************************************************************
//
// Article Constructor
//
// Assigns skin and contentItems method to base ContentItemPage class
//
//*********************************************************************
public Book() : base() {
SkinFileName = _skinFileName;
GetContentItem = _getContentItem;
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -