?? post.cs
字號:
namespace ASPNET.StarterKit.Communities.Discuss {
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNET.StarterKit.Communities;
//*********************************************************************
//
// Post Class
//
// Represents the default page for the Articles section. This class
// displays a list of article listings.
//
// _skinFileName = the name of the skin to use for this section
//
// _getContentItem = the name of the method that retrieves the content item
//
//*********************************************************************
public class Post : ContentItemPage {
string _skinFileName = "Discuss_Post.ascx";
GetContentItemDelegate _getContentItem = new GetContentItemDelegate(DiscussUtility.GetPostInfo);
//*********************************************************************
//
// Post Constructor
//
// Assigns skin and contentItems method to base ContentItemPage class
//
//*********************************************************************
public Post() : base() {
SkinFileName = _skinFileName;
GetContentItem = _getContentItem;
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -