WizardFramework Class

Definition

Provides the framework for a wizard.

public ref class WizardFramework : System::Windows::Forms::Form
public class WizardFramework : System.Windows.Forms.Form
type WizardFramework = class
    inherit Form
Public Class WizardFramework
Inherits Form
Inheritance
WizardFramework
Derived

Properties

ButtonsPanel

Gets the WizardButtonsPanel object that represents the button panel.

CancelCaption

Gets or sets the title for the cancel message.

CancelMessage

The message that appears when the wizard is canceled.

ConfirmOnCancel

Gets or sets a value that indicates whether to confirm when the Cancel button is clicked.

CurrentPage

Gets the current page.

CurrentPageId

Gets the ID of the current page.

FrameworkName

Gets or sets the name of the wizard.

HeaderImage

Gets or sets the image that is displayed on the header panel.

HeaderPanel

Gets a WizardHeaderPanel object that represents the header panel.

HeaderTitle

Gets or sets the title of the header panel.

HelpKey

Gets or sets the help key for the WizardFramework object. This help key is used if a page does not have a help key associated with it.

HelpPanel

Gets a WizardHeaderPanel object that represents the help panel.

LastPage

Gets the last page.

NavigationPanel

Gets a WizardNavigationPanel object that represents the navigation panel.

PagePanel

Gets a WizardPagePanel object that represents the page panel.

Pages

Gets the list of pages in to the WizardFramework object.

ResizeState

Gets or sets the resize state.

SqlWizardTelemetryProperty
StartPage

Gets or sets the start page.

Methods

AddPage(Page)

Adds the specified page to the wizard.

AddPage(Page, Page)

Adds a subpage to the wizard.

AddPage(String)

Adds all the pages that are defined in the specified assembly to the wizard.

AddPage(String, Type)

Searches the specified assembly for pages whose type matches the specified type, and adds them to the wizard.

AddPageRange(Page[])

Adds the pages in the specified array to the wizard.

Dispose(Boolean)

Cleans up any resources that are being used.

EnableButton(FrameworkButton, Boolean)

Enables or disables the specified button.

GetService(Type)

Gets the specified service. This method can be called by a child window to get console services.

IsCurrentPage(Page)

Checks whether the specified page is the current page.

IsLastPage(Page)

Checks whether the specified page is the last page.

IsStartPage(Page)

Checks whether the specified page is the first page.

OnClosing(CancelEventArgs)

Called when the wizard is closing.

OnHelpRequested(HelpEventArgs)

Called when help is requested.

OnLoad(EventArgs)

Called when the wizard is initialized.

OnValidityChanged(Int32)

Confirms that the page that has the specified ID has changed, and then refreshes the navigation panel and notifies the other pages.

OnValidityChanged(Page)

Confirms that the specified page has changed, and then refreshes the navigation panel and notifies the other pages.

RefreshNavigationPanel()

Refreshes the navigation panel.

RemoveAllPages()

Removes all the pages from the wizard.

RemoveHelpKey(Control)

Removes the help key for the specified control. Help will no longer be available for the specified control.

RemovePage(Int32)

Removes the page that has the specified ID from the wizard.

RemovePage(Page)

Removes the specified page from the wizard.

RemovePageRange(Page[])

Removes the specified pages from the wizard.

SetButtonText(FrameworkButton, String)

Sets the text for the specified button.

SetHelpKey(Control, String)

Sets the help key for the specified control.

ShowBooksOnlineHelp()

Shows the SQL Server Books Online help.

ShowBooksOnlineHelp(String)

Shows the SQL Server Books Online help.

ShowButton(FrameworkButton, Boolean)

Shows or hides the specified button.

Events

PageFrameworkAction

Occurs when the wizard is completed.

Applies to