C# Класс P02Project.TopWindow

Interaction logic for TopWindow.xaml
Наследование: SurfaceWindow
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ResetTimer ( ) : void

Helper method to reset the timer

StartTimer ( ) : void

Helper method to start the timer

StopTimer ( ) : void

Helper method to stop the timer

TopWindow ( ) : System

Default constructor.

popAll ( ) : void

pop all the screen on the stack => show the Home Screen

popScreen ( ) : void

pop a screen

pushScreen ( Screen screen ) : void

push the given screen into the stack

pushScreenOnStack ( TopLevelPage nextScreen, String buttons, Color colour, System.Windows.Controls.UserControl content, String Subtitle ) : void

push the given screen into the screen stack

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

Метод Описание
OnClosed ( EventArgs e ) : void

Occurs when the window is about to close.

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

Метод Описание
AddWindowAvailabilityHandlers ( ) : void

Adds handlers for window availability events.

OnWindowInteractive ( object sender, EventArgs e ) : void

This is called when the user can interact with the application's window.

OnWindowNoninteractive ( object sender, EventArgs e ) : void

This is called when the user can see but not interact with the application's window.

OnWindowUnavailable ( object sender, EventArgs e ) : void

This is called when the application's window is not visible or interactive.

RemoveWindowAvailabilityHandlers ( ) : void

Removes handlers for window availability events.

inavtiveTimer_Tick ( object sender, EventArgs e ) : void

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

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

Occurs when the window is about to close.
protected OnClosed ( EventArgs e ) : void
e System.EventArgs
Результат void

ResetTimer() публичный Метод

Helper method to reset the timer
public ResetTimer ( ) : void
Результат void

StartTimer() публичный Метод

Helper method to start the timer
public StartTimer ( ) : void
Результат void

StopTimer() публичный Метод

Helper method to stop the timer
public StopTimer ( ) : void
Результат void

TopWindow() публичный Метод

Default constructor.
public TopWindow ( ) : System
Результат System

popAll() публичный Метод

pop all the screen on the stack => show the Home Screen
public popAll ( ) : void
Результат void

popScreen() публичный Метод

pop a screen
public popScreen ( ) : void
Результат void

pushScreen() публичный Метод

push the given screen into the stack
public pushScreen ( Screen screen ) : void
screen Screen
Результат void

pushScreenOnStack() публичный Метод

push the given screen into the screen stack
public pushScreenOnStack ( TopLevelPage nextScreen, String buttons, Color colour, System.Windows.Controls.UserControl content, String Subtitle ) : void
nextScreen P02Project.Screens.TopLevelPage
buttons String
colour Color
content System.Windows.Controls.UserControl
Subtitle String
Результат void