C# Class wpf_player.PeerSettingsDialog

Logica di interazione per PeerSettingsDialog.xaml
Inheritance: System.Windows.Window
Exibir arquivo Open project: zencoders/sambatyon Class Usage Examples

Public Methods

Method Description
PeerSettingsDialog ( ) : System

Default constructor

Private Methods

Method Description
IsValid ( DependencyObject node ) : bool

Checks if the forms data is valid

cancelButton_Click ( object sender, RoutedEventArgs e ) : void

Cancel button click handler. This method close the dialog and set the result to false

okButton_Click ( object sender, RoutedEventArgs e ) : void

Ok button click handler. This method check if the form data are valid : if they are the result is true and the dialog will be closed else an alert box will be showed

Method Details

PeerSettingsDialog() public method

Default constructor
public PeerSettingsDialog ( ) : System
return System