C# Класс wpf_player.MainWindow

Interaction logic for MainWindow.xaml
Наследование: System.Windows.Window
Показать файл Открыть проект

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

Метод Описание
MainWindow ( ) : System

Default constructor. This constructor starts the splash in a different thread and the try to run the Peer. If the peer port is already in use a Peer Configuration dialog will be shown. If everything goes well the the model will be instantiated and the data context will be set. The splash screen will disappear when all GUI element have been loaded.

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

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

Method called on closing of the windows. This methods disposes the peer.

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

Метод Описание
Window_ContentRendered ( object sender, EventArgs e ) : void

Method called when all the GUI elements have been loaded. This methods close the splash screen.

about_item_Click ( object sender, RoutedEventArgs e ) : void

Handler for about menu item. This method shows the dialog.

exit_item_Click ( object sender, System e ) : void

Handler for the exit menu item. This methods close the windows

local_store_Click ( object sender, RoutedEventArgs e ) : void

Handler for local store menu item click. This methods show the local store dialog.

peer_config_item_Click ( object sender, RoutedEventArgs e ) : void

Handler for the peer configuration menu item. This method shows the Peer configuration dialog.

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

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

Default constructor. This constructor starts the splash in a different thread and the try to run the Peer. If the peer port is already in use a Peer Configuration dialog will be shown. If everything goes well the the model will be instantiated and the data context will be set. The splash screen will disappear when all GUI element have been loaded.
public MainWindow ( ) : System
Результат System

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

Method called on closing of the windows. This methods disposes the peer.
protected OnClosing ( System e ) : void
e System
Результат void