?? parentsection.cs
字號:
namespace ASPNET.StarterKit.Communities.ParentSection {
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNET.StarterKit.Communities;
//*********************************************************************
//
// ParentSection Class
//
// Represents the default page for the Parent section. This class
// displays a list of child sections.
//
// _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 ParentSection : ContentListPage {
string _skinFileName = "ParentSection_ParentSection.ascx";
GetContentItemsDelegate _getContentItems = new GetContentItemsDelegate(ParentSectionUtility.GetChildSections);
//*********************************************************************
//
// ParentSection Constructor
//
// Assigns skin and contentItems method to base ContentListPage class
//
//*********************************************************************
public ParentSection() : base() {
SkinFileName = _skinFileName;
GetContentItems = _getContentItems;
TotalRecords = ParentSectionUtility.GetTotalRecords(objUserInfo.Username, objSectionInfo.ID);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -