C# Class ReplaySync.MainWindowViewModel

ViewModel for the MainWindow, handling all application logic.
Inheritance: ReplaySync.MVVM.ObservableObject
Mostra file Open project: ascendedguard/sc2-replaysync

Public Methods

Method Description
MainWindowViewModel ( ) : System

Initializes a new instance of the MainWindowViewModel class.

Shutdown ( ) : void

Stops all running threads and stops the listening timer. Deallocates all memory.

Private Methods

Method Description
Exit ( ) : void
Listen ( ) : void

Opens a listening UDP port to broadcast timer updates.

Sync ( ) : void

Connects to an IP address and syncs the time between computers.

TimerTick ( object sender, EventArgs e ) : void

Grabs a screen capture of the game timer on every tick.

Method Details

MainWindowViewModel() public method

Initializes a new instance of the MainWindowViewModel class.
public MainWindowViewModel ( ) : System
return System

Shutdown() public method

Stops all running threads and stops the listening timer. Deallocates all memory.
public Shutdown ( ) : void
return void