C# Class ConfigurationSetupUtility.ScreenManager

Manages the screens displayed to the user in the Configuration Setup Utility.
Exibir arquivo Open project: GridProtectionAlliance/SIEGate Class Usage Examples

Public Methods

Method Description
Activate ( ) : void

Attempts to bring main window into focus.

GoToNextScreen ( ) : void

Advances the setup window to the next screen, storing the current screen in the history.

GoToNextScreen ( bool storeHistory ) : void

Advances the setup window to the next screen.

GoToPreviousScreen ( ) : void

Returns the setup window to the previous screen.

PerformShutdownOperations ( ) : bool

Returns true if final shut-down operations (via user input validation) succeeded.

ScreenManager ( Window mainWindow, IScreen startScreen ) : System

Creates a new instance of the ScreenManager class.

UpdateNavigation ( ) : void

Updates the navigation buttons on the main window based on the navigation settings of the current screen.

UpdateScreenPanel ( ) : void

Updates the screen panel to display the current page.

Method Details

Activate() public method

Attempts to bring main window into focus.
public Activate ( ) : void
return void

GoToNextScreen() public method

Advances the setup window to the next screen, storing the current screen in the history.
public GoToNextScreen ( ) : void
return void

GoToNextScreen() public method

Advances the setup window to the next screen.
public GoToNextScreen ( bool storeHistory ) : void
storeHistory bool Determines whether the should store the current screen in history.
return void

GoToPreviousScreen() public method

Returns the setup window to the previous screen.
public GoToPreviousScreen ( ) : void
return void

PerformShutdownOperations() public method

Returns true if final shut-down operations (via user input validation) succeeded.
public PerformShutdownOperations ( ) : bool
return bool

ScreenManager() public method

Creates a new instance of the ScreenManager class.
public ScreenManager ( Window mainWindow, IScreen startScreen ) : System
mainWindow System.Windows.Window
startScreen IScreen
return System

UpdateNavigation() public method

Updates the navigation buttons on the main window based on the navigation settings of the current screen.
public UpdateNavigation ( ) : void
return void

UpdateScreenPanel() public method

Updates the screen panel to display the current page.
public UpdateScreenPanel ( ) : void
return void