C# Класс IndexViewer.MainForm

The main form holds all other controls and is responsible for the context and the selection of this
Наследование: System.Web.UI.Page, Sitecore.Shell.Framework.Commands.IHasCommandContext
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
AjaxScriptManager1 global::Sitecore.Web.UI.WebControls.AjaxScriptManager
ContinuationManager1 global::Sitecore.Web.UI.WebControls.ContinuationManager
DocumentsButton global::System.Web.UI.WebControls.Button
DocumentsOverviewControl global::IndexViewer.sitecore_modules.Shell.IndexViewer.DocumentsOverview
DocumentsTab global::System.Web.UI.WebControls.View
DynamicLinq global::IndexViewer.sitecore_modules.Shell.IndexViewer.DynamicLinq
ErrorInfo global::System.Web.UI.HtmlControls.HtmlGenericControl
IndexOverview global::IndexViewer.IndexOverview
IndexTab global::System.Web.UI.WebControls.View
IndexTabs global::System.Web.UI.WebControls.MultiView
LinqButton global::System.Web.UI.WebControls.Button
LinqTab global::System.Web.UI.WebControls.View
LuceneSearchButton global::System.Web.UI.WebControls.Button
LuceneSearchControl global::IndexViewer.LuceneSearch
LuceneSearchTab global::System.Web.UI.WebControls.View
OverviewButton global::System.Web.UI.WebControls.Button
Ribbon global::Sitecore.Web.UI.WebControls.Ribbons.Ribbon
SitecoreSearchButton global::System.Web.UI.WebControls.Button
SitecoreSearchControl global::IndexViewer.SitecoreSearch
SitecoreSearchTab global::System.Web.UI.WebControls.View
WelcomeTab global::System.Web.UI.WebControls.View
form1 global::System.Web.UI.HtmlControls.HtmlForm

Защищенные методы

Метод Описание
AjaxScriptManager_OnExecute ( object sender, AjaxCommandEventArgs args ) : void
CustomControl_Error ( object sender, EventArgs e ) : void
DocumentsButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the DocumentsButton control.

LinqButton_Click ( object sender, EventArgs e ) : void
LuceneSearchButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the SearchButton control.

OverviewButton_Click ( object sender, EventArgs e ) : void

Handles the Click event of the OverviewButton control.

Page_Error ( object sender, EventArgs e ) : void
Page_Init ( object sender, EventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void

Handles the Load event of the Page control.

Page_PreRender ( object sender, EventArgs e ) : void
SitecoreSearchButton_Click ( object sender, EventArgs e ) : void

Приватные методы

Метод Описание
CheckUser ( ) : void
IHasCommandContext ( ) : CommandContext
RefreshIndexInformation ( ) : void

Refreshes the index information.

SetViewButtonActive ( bool value ) : void

Sets the view buttons to be either active or inactive.

ShowDocumentsOverview ( ) : void

Shows the documents overview.

ShowIndexOverview ( ) : void

Shows the index overview.

ShowLINQ ( ) : void
ShowLuceneSearch ( ) : void

Shows the search.

ShowSitecoreSearch ( ) : void

Описание методов

AjaxScriptManager_OnExecute() защищенный Метод

protected AjaxScriptManager_OnExecute ( object sender, AjaxCommandEventArgs args ) : void
sender object
args AjaxCommandEventArgs
Результат void

CustomControl_Error() защищенный Метод

protected CustomControl_Error ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

DocumentsButton_Click() защищенный Метод

Handles the Click event of the DocumentsButton control.
protected DocumentsButton_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

LinqButton_Click() защищенный Метод

protected LinqButton_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

LuceneSearchButton_Click() защищенный Метод

Handles the Click event of the SearchButton control.
protected LuceneSearchButton_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

OverviewButton_Click() защищенный Метод

Handles the Click event of the OverviewButton control.
protected OverviewButton_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

Page_Error() защищенный Метод

protected Page_Error ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Page_Init() защищенный Метод

protected Page_Init ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Page_Load() защищенный Метод

Handles the Load event of the Page control.
protected Page_Load ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Результат void

Page_PreRender() защищенный Метод

protected Page_PreRender ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

SitecoreSearchButton_Click() защищенный Метод

protected SitecoreSearchButton_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Описание свойств

AjaxScriptManager1 защищенное свойство

AjaxScriptManager1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Sitecore.Web.UI.WebControls.AjaxScriptManager AjaxScriptManager1
Результат global::Sitecore.Web.UI.WebControls.AjaxScriptManager

ContinuationManager1 защищенное свойство

ContinuationManager1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Sitecore.Web.UI.WebControls.ContinuationManager ContinuationManager1
Результат global::Sitecore.Web.UI.WebControls.ContinuationManager

DocumentsButton защищенное свойство

DocumentsButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button DocumentsButton
Результат global::System.Web.UI.WebControls.Button

DocumentsOverviewControl защищенное свойство

DocumentsOverviewControl control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.sitecore_modules.Shell.IndexViewer.DocumentsOverview DocumentsOverviewControl
Результат global::IndexViewer.sitecore_modules.Shell.IndexViewer.DocumentsOverview

DocumentsTab защищенное свойство

DocumentsTab control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View DocumentsTab
Результат global::System.Web.UI.WebControls.View

DynamicLinq защищенное свойство

DynamicLinq control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.sitecore_modules.Shell.IndexViewer.DynamicLinq DynamicLinq
Результат global::IndexViewer.sitecore_modules.Shell.IndexViewer.DynamicLinq

ErrorInfo защищенное свойство

ErrorInfo control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlGenericControl ErrorInfo
Результат global::System.Web.UI.HtmlControls.HtmlGenericControl

IndexOverview защищенное свойство

IndexOverview control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.IndexOverview IndexOverview
Результат global::IndexViewer.IndexOverview

IndexTab защищенное свойство

IndexTab control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View IndexTab
Результат global::System.Web.UI.WebControls.View

IndexTabs защищенное свойство

IndexTabs control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.MultiView IndexTabs
Результат global::System.Web.UI.WebControls.MultiView

LinqButton защищенное свойство

LinqButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button LinqButton
Результат global::System.Web.UI.WebControls.Button

LinqTab защищенное свойство

LinqTab control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View LinqTab
Результат global::System.Web.UI.WebControls.View

LuceneSearchButton защищенное свойство

LuceneSearchButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button LuceneSearchButton
Результат global::System.Web.UI.WebControls.Button

LuceneSearchControl защищенное свойство

LuceneSearchControl control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.LuceneSearch LuceneSearchControl
Результат global::IndexViewer.LuceneSearch

LuceneSearchTab защищенное свойство

LuceneSearchTab control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View LuceneSearchTab
Результат global::System.Web.UI.WebControls.View

OverviewButton защищенное свойство

OverviewButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button OverviewButton
Результат global::System.Web.UI.WebControls.Button

Ribbon защищенное свойство

Ribbon control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::Sitecore.Web.UI.WebControls.Ribbons.Ribbon Ribbon
Результат global::Sitecore.Web.UI.WebControls.Ribbons.Ribbon

SitecoreSearchButton защищенное свойство

SitecoreSearchButton control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.Button SitecoreSearchButton
Результат global::System.Web.UI.WebControls.Button

SitecoreSearchControl защищенное свойство

SitecoreSearchControl control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.SitecoreSearch SitecoreSearchControl
Результат global::IndexViewer.SitecoreSearch

SitecoreSearchTab защищенное свойство

SitecoreSearchTab control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View SitecoreSearchTab
Результат global::System.Web.UI.WebControls.View

WelcomeTab защищенное свойство

WelcomeTab control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.WebControls.View WelcomeTab
Результат global::System.Web.UI.WebControls.View

form1 защищенное свойство

form1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm form1
Результат global::System.Web.UI.HtmlControls.HtmlForm