C# Class Mistilteinn.MainWindow

MainWindow.xaml 的交互逻辑
Inheritance: System.Windows.Window
Show file Open project: RuriJudgement/Mistilteinn Class Usage Examples

Public Methods

Method Description
AddNameTable ( int index, System.Windows.Input.KeyEventArgs e ) : void
GetTextIndex ( int &fileIndex, int &textIndex ) : void
MainWindow ( ) : System
SetProject ( Project project ) : void
SetTextIndex ( int fileIndex, int textIndex ) : void

Protected Methods

Method Description
OnClosing ( CancelEventArgs e ) : void

Private Methods

Method Description
CheckCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
CheckCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ClassicViewCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ClassicViewCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CloseMusicCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
CloseMusicCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CloseVoiceCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
CloseVoiceCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
CommandBinding_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
DataGrid_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
DataGrid_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void
DataGrid_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
EditInfoCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
EditInfoCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
EditRawCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
EditRawCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ExitCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
FastFindCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
FastFindCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
FileList_SelectionChanged_1 ( object sender, System e ) : void
FindInOriginalCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
FindInOriginalCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
FindInTranslatedCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
FindInTranslatedCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
GamePreview_KeyPressed ( object sender, System e ) : void
GotoNextText ( bool>.Func filter ) : bool
GotoPreviousText ( bool>.Func filter ) : bool
MuteCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
MuteCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NameTableCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
NameTableCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NewProjectCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NextCommentTextCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
NextCommentTextCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NextErrorTextCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
NextErrorTextCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NextInfomationTextCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
NextInfomationTextCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
NextText ( ) : bool
NextTextFile ( ) : bool
NextWarnningTextCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
NextWarnningTextCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
OpenProjectCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
PreviousCommentTextCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
PreviousCommentTextCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
PreviousErrorTextCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
PreviousErrorTextCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
PreviousInfomationTextCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
PreviousInfomationTextCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
PreviousText ( ) : bool
PreviousTextFile ( ) : bool
PreviousWarnningTextCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
PreviousWarnningTextCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ProjectSettingCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ProjectSettingCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
ReplayVoiceCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
ReplayVoiceCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SaveAsProjectCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
SaveAsProjectCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
SaveProjectCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
SaveProjectCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void

Method Details

AddNameTable() public method

public AddNameTable ( int index, System.Windows.Input.KeyEventArgs e ) : void
index int
e System.Windows.Input.KeyEventArgs
return void

GetTextIndex() public method

public GetTextIndex ( int &fileIndex, int &textIndex ) : void
fileIndex int
textIndex int
return void

MainWindow() public method

public MainWindow ( ) : System
return System

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

SetProject() public method

public SetProject ( Project project ) : void
project Project
return void

SetTextIndex() public method

public SetTextIndex ( int fileIndex, int textIndex ) : void
fileIndex int
textIndex int
return void