C# Class IndexViewer.MainForm

The main form holds all other controls and is responsible for the context and the selection of this
Inheritance: System.Web.UI.Page, Sitecore.Shell.Framework.Commands.IHasCommandContext
Exibir arquivo Open project: JimmieOverby/IndexViewer

Protected Properties

Property Type Description
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

Protected Methods

Method Description
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

Private Methods

Method Description
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

Method Details

AjaxScriptManager_OnExecute() protected method

protected AjaxScriptManager_OnExecute ( object sender, AjaxCommandEventArgs args ) : void
sender object
args AjaxCommandEventArgs
return void

CustomControl_Error() protected method

protected CustomControl_Error ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

DocumentsButton_Click() protected method

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.
return void

LinqButton_Click() protected method

protected LinqButton_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

LuceneSearchButton_Click() protected method

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.
return void

OverviewButton_Click() protected method

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.
return void

Page_Error() protected method

protected Page_Error ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Page_Init() protected method

protected Page_Init ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Page_Load() protected method

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.
return void

Page_PreRender() protected method

protected Page_PreRender ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

SitecoreSearchButton_Click() protected method

protected SitecoreSearchButton_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

AjaxScriptManager1 protected_oe property

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
return global::Sitecore.Web.UI.WebControls.AjaxScriptManager

ContinuationManager1 protected_oe property

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
return global::Sitecore.Web.UI.WebControls.ContinuationManager

DocumentsButton protected_oe property

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
return global::System.Web.UI.WebControls.Button

DocumentsOverviewControl protected_oe property

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
return global::IndexViewer.sitecore_modules.Shell.IndexViewer.DocumentsOverview

DocumentsTab protected_oe property

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
return global::System.Web.UI.WebControls.View

DynamicLinq protected_oe property

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
return global::IndexViewer.sitecore_modules.Shell.IndexViewer.DynamicLinq

ErrorInfo protected_oe property

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
return global::System.Web.UI.HtmlControls.HtmlGenericControl

IndexOverview protected_oe property

IndexOverview control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.IndexOverview IndexOverview
return global::IndexViewer.IndexOverview

IndexTab protected_oe property

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
return global::System.Web.UI.WebControls.View

IndexTabs protected_oe property

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
return global::System.Web.UI.WebControls.MultiView

LinqButton protected_oe property

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
return global::System.Web.UI.WebControls.Button

LinqTab protected_oe property

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
return global::System.Web.UI.WebControls.View

LuceneSearchButton protected_oe property

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
return global::System.Web.UI.WebControls.Button

LuceneSearchControl protected_oe property

LuceneSearchControl control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.LuceneSearch LuceneSearchControl
return global::IndexViewer.LuceneSearch

LuceneSearchTab protected_oe property

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
return global::System.Web.UI.WebControls.View

OverviewButton protected_oe property

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
return global::System.Web.UI.WebControls.Button

Ribbon protected_oe property

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
return global::Sitecore.Web.UI.WebControls.Ribbons.Ribbon

SitecoreSearchButton protected_oe property

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
return global::System.Web.UI.WebControls.Button

SitecoreSearchControl protected_oe property

SitecoreSearchControl control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::IndexViewer.SitecoreSearch SitecoreSearchControl
return global::IndexViewer.SitecoreSearch

SitecoreSearchTab protected_oe property

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
return global::System.Web.UI.WebControls.View

WelcomeTab protected_oe property

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
return global::System.Web.UI.WebControls.View

form1 protected_oe property

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
return global::System.Web.UI.HtmlControls.HtmlForm