C# Класс NaturalGroundingPlayer.MainWindow

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

Открытые свойства

Свойство Тип Описание
DefaultHeight double
settings DataAccess.SearchSettings

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

Метод Описание
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

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

Метод Описание
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

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

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

public AdjustHeight ( double height ) : void
height double
Результат void

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

public AttachControls ( ) : void
Результат void

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

public DetachControls ( ) : void
Результат void

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

public InitializationCompleted ( ) : Task
Результат Task

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

Initializes a new instance of the MainWindow class.
public MainWindow ( ) : System
Результат System

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

public ResetHeight ( ) : void
Результат void

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

public business_PlaylistChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Описание свойств

DefaultHeight публичное свойство

public double DefaultHeight
Результат double

settings публичное свойство

public SearchSettings,DataAccess settings
Результат DataAccess.SearchSettings