C# Класс EliteUi.MainPage

The non-generated part of the main application.
Наследование: Windows.UI.Xaml.Controls.Page
Показать файл Открыть проект

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

Метод Описание
MainPage ( ) : Windows.UI.Xaml.Controls

Initializes a new instance of the MainPage class.

aux1_button_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the aux1_button control.

aux2_button_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the aux2_button control.

aux3_button_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the aux3_button control.

aux4_button_Click ( object sender, RoutedEventArgs e ) : void

Handles the Click event of the aux4_button control.

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

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

Raised from the the E:KeyDown event.

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

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

Clears assignment variables after an assignment or canceled assignment.

DisableButtonsExcept ( Button button ) : void

Disables the UI buttons except the specified button.

EnableButtons ( ) : void

Enables the UI buttons.

EnsureServiceInitialized ( ) : void

Ensures the service is initialized

Initialize ( ) : void

Initializes the application.

InitializeEvents ( ) : void

Initializes any events being used that aren't implicitly initialized.

InitializeTimer ( ) : void

Initializes the timer for polling.

InitializeWindow ( ) : void

Initializes the application window.

OnKeyDown ( VirtualKey key ) : void

Called when [key down].

OnKeyDown ( VirtualKey key, bool reset ) : void

Called when [key down].

ProcessButtonClick ( Button button, GamepadButtons gamepadButton ) : void

Processes a button click.

ProcessGamepadReadings ( GamepadReading reading ) : void

Processes the gamepad readings for sending the assigned key.

SendKeyDown ( VirtualKey key ) : void

Sends a key down signal.

SendKeyUp ( VirtualKey key ) : void

Sends a key up signal.

SetAssignmentVariables ( Button button, GamepadButtons gamepadButton ) : void

Sets the assignment variables to begin button assignment.

ShouldSkipGamepadProcessing ( GamepadReading reading ) : bool

Whether gamepad processing should be skipped due to the current and previous reading being the same.

TimerCallback ( object state ) : void

The function to do processing for the timer

WriteGamepadReadings ( GamepadReading reading ) : void

Prints the gamepad readings to the UI

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

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

Initializes a new instance of the MainPage class.
public MainPage ( ) : Windows.UI.Xaml.Controls
Результат Windows.UI.Xaml.Controls

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

Raised from the the E:KeyDown event.
protected OnKeyDown ( KeyRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.KeyRoutedEventArgs The instance containing the event data.
Результат void

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

Handles the Click event of the aux1_button control.
public aux1_button_Click ( object sender, RoutedEventArgs e ) : void
sender object The source of the event.
e Windows.UI.Xaml.RoutedEventArgs The instance containing the event data.
Результат void

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

Handles the Click event of the aux2_button control.
public aux2_button_Click ( object sender, RoutedEventArgs e ) : void
sender object The source of the event.
e Windows.UI.Xaml.RoutedEventArgs The instance containing the event data.
Результат void

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

Handles the Click event of the aux3_button control.
public aux3_button_Click ( object sender, RoutedEventArgs e ) : void
sender object The source of the event.
e Windows.UI.Xaml.RoutedEventArgs The instance containing the event data.
Результат void

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

Handles the Click event of the aux4_button control.
public aux4_button_Click ( object sender, RoutedEventArgs e ) : void
sender object The source of the event.
e Windows.UI.Xaml.RoutedEventArgs The instance containing the event data.
Результат void