C# Класс AniDBmini.MainWindow

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

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

Свойство Тип Описание
m_AppName string

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

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

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

Метод Описание
AddToMPCHC_Click ( object sender, RoutedEventArgs e ) : void
AddToPlaylist ( List fPaths, bool clearPlay ) : void

Adds a list of files to mpc-hc's playlist. Optionally clears the current playlist, and starts playback.

AnimeURLClick ( object sender, RoutedEventArgs e ) : void
EntryViewDetails_Click ( object sender, RoutedEventArgs e ) : void
FetchEntryInfo_Click ( object sender, RoutedEventArgs e ) : void
FinishHash ( HashItem item ) : void

Adds completed hash item to mylist.

GetFilePathList ( object sender ) : List
ImportList_Click ( object sender, RoutedEventArgs e ) : void
InitializeConfig ( ) : void

Load current config file settings.

InitializeNotifyIcon ( ) : void

Initializes the tray icon.

InitializeStats ( ) : void

Retrieves and formats mylist stats.

LocateFiles_Click ( object sender, RoutedEventArgs e ) : void

This is not completely foolproof, but it works most of the time. NOT recursive. Will NOT add OP's ED's or Specials.

MarkUnwatched_Click ( object sender, RoutedEventArgs e ) : void
MarkWatched_Click ( object sender, RoutedEventArgs e ) : void
OnAnimeTabFetched ( AnimeTab aTab ) : void
OnClose ( object sender, System e ) : void
OnFileHashingProgress ( object sender, FileHashingProgressArgs e ) : void
OnFileInfoFetched ( FileInfoFetchedArgs e ) : void
OnFileWatched ( object sender, FileWatchedArgs e ) : void
OnHashWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
OnHashWorkerDoWork ( object sender, DoWorkEventArgs e ) : void
OnInitialized ( object sender, EventArgs e ) : void
OnIsVisibleChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnMPCStarted ( System obj ) : void
OnStateChanged ( object sender, EventArgs args ) : void
OnTabCloseClick ( object sender, RoutedEventArgs e ) : void
OpenADBPage_Click ( object sender, RoutedEventArgs e ) : void
PlayWithMPCHC_Click ( object sender, RoutedEventArgs e ) : void
RemoveFromList_Click ( object sender, RoutedEventArgs e ) : void
SetFileLocation ( FileEntry entry ) : bool
SetMPCHCLocation ( ) : bool
SetMylistVisibility ( ) : void

Sets mylist visibility based on sql connection.

ShowOpionsWindow ( object sender, RoutedEventArgs e ) : void
addFilesButton_Click ( object sender, RoutedEventArgs e ) : void
addFoldersButton_Click ( object sender, RoutedEventArgs e ) : void
addRowToHashTable ( HashItem item ) : void

Adds a hashItem to the hash list.

addRowToHashTable ( string path ) : void

Creates a entry and adds it to the hash list.

animeTabList_OnCountChanged ( object sender, CountChangedArgs e ) : void
beginHashing ( ) : void

Initializes the hashing background worker.

clearDebugLog ( object sender, RoutedEventArgs e ) : void
clearHashItems ( object sender, RoutedEventArgs e ) : void
debugListBox_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
hashingListBox_Drop ( object sender, DragEventArgs e ) : void
hashingListBox_KeyUp ( object sender, KeyEventArgs e ) : void
hashingStopButton_Click ( object sender, RoutedEventArgs e ) : void
mainTabControl_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
mpchcLaunch ( object sender, RoutedEventArgs e ) : void

Launches or focuses MPC-HC.

randomAnimeButton_Click ( object sender, RoutedEventArgs e ) : void
randomAnimeLabelContextMenuItem_Click ( object sender, RoutedEventArgs e ) : void
refreshStatsButton_Click ( object sender, RoutedEventArgs e ) : void
removeRowFromHashTable ( HashItem item, bool userRemoved = false ) : void

Removes a hash entry from the list.

removeSelectedHashItems ( object sender, RoutedEventArgs e ) : void
startHashingButton_Click ( object sender, RoutedEventArgs e ) : void

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

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

public MainWindow ( AniDBAPI api ) : System
api AniDBAPI
Результат System

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

m_AppName публичное статическое свойство

public static string m_AppName
Результат string