C# Class NaturalGroundingPlayer.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window, ILayerContainer
Show file Open project: mysteryx93/NaturalGroundingPlayer Class Usage Examples

Public Properties

Property Type Description
DefaultHeight double
settings DataAccess.SearchSettings

Public Methods

Method Description
AdjustHeight ( double height ) : void
AttachControls ( ) : void
DetachControls ( ) : void
InitializationCompleted ( ) : Task
MainWindow ( ) : System

Initializes a new instance of the MainWindow class.

ResetHeight ( ) : void
business_PlaylistChanged ( object sender, EventArgs e ) : void

Private Methods

Method Description
AttachBusinessEvents ( PlayerBusiness business ) : void
DetachBusinessEvents ( PlayerBusiness business ) : void
DisplayConditionsText ( ) : void

Updates the conditions text.

ElementRangeSlider_ValueChanged ( object sender, RoutedEventArgs e ) : void
NextVideosCombo_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
RatioSlider_ValueChanged ( object sender, RoutedPropertyChangedEventArgs e ) : void
Settings_Changed ( object sender, RoutedEventArgs e ) : void

Update the display of conditions and notify the business layer of changes.

SkipNextVideo_Click ( object sender, RoutedEventArgs e ) : void
SkipVideo_Click ( object sender, RoutedEventArgs e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void

Initialize the window when loaded.

business_DisplayPlayTime ( object sender, EventArgs e ) : void
business_GetConditions ( object sender, GetConditionsEventArgs e ) : void
business_IncreaseConditions ( object sender, EventArgs e ) : void
business_NowPlaying ( object sender, EventArgs e ) : void
window_Closed ( object sender, EventArgs e ) : void

Method Details

AdjustHeight() public method

public AdjustHeight ( double height ) : void
height double
return void

AttachControls() public method

public AttachControls ( ) : void
return void

DetachControls() public method

public DetachControls ( ) : void
return void

InitializationCompleted() public method

public InitializationCompleted ( ) : Task
return Task

MainWindow() public method

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

ResetHeight() public method

public ResetHeight ( ) : void
return void

business_PlaylistChanged() public method

public business_PlaylistChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

DefaultHeight public property

public double DefaultHeight
return double

settings public property

public SearchSettings,DataAccess settings
return DataAccess.SearchSettings