C# 클래스 wpf_player.MainWindow

Interaction logic for MainWindow.xaml
상속: System.Windows.Window
파일 보기 프로젝트 열기: zencoders/sambatyon

공개 메소드들

메소드 설명
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