C# Class AtelierElieScripter.Dialogue.DialogueControl

Description of DialogueControl.
Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: Markliujy/AtelierElieTranslation

Public Methods

Method Description
DialogueControl ( ) : System
GetDTETable ( int>.Dictionary DTEtable, int DTELen ) : int>.Dictionary
LoadTextFileBlock ( StringReader blockStream ) : void
OutputFile ( OutFiles type, string fileName, DialogueChoices choicesControl, int>.Dictionary DTEtable ) : void
SaveTextFileBlock ( StreamWriter saveFileStream ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes resources used by the control.

Private Methods

Method Description
DisableInputs ( ) : void
GetCurrentDialogueEntry ( ) : DialogueEntry

Returns currently selected dialogue entry

InitializeComponent ( ) : void

This method is required for Windows Forms designer support. Do not change the method contents inside the source code editor. The Forms designer might not be able to load this method if it was changed manually.

InitializeMainChoices ( ) : void

Initialize Main listview values

InitializeTextBlockChoices ( int mainBlockNo ) : void

Initialize Text Block List View for specified Main Block

ListviewMainBlocksSelectedIndexChanged ( object sender, EventArgs e ) : void

Call Initialize Text Block Choices on selection of Main Block

ListviewTextBlocksSelectedIndexChanged ( object sender, EventArgs e ) : void

Load actual entry into input area on Text Block selection

PanelTextBlockPaint ( object sender, PaintEventArgs e ) : void

Paint in-game Japanese text and box if entry selected

PanelTransTextPaint ( object sender, PaintEventArgs e ) : void

Paint in-game textbox and English text if entry selected

TextboxTransNotesTextChanged ( object sender, EventArgs e ) : void

Update data on Translation Notes textbox

TextboxTransTextTextChanged ( object sender, EventArgs e ) : void

Update data on changing text in Translation textbox

UpdateMainChoiceRow ( int index, int sortedIndex ) : void

Updates Main Listview's specified row

Method Details

DialogueControl() public method

public DialogueControl ( ) : System
return System

Dispose() protected method

Disposes resources used by the control.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetDTETable() public method

public GetDTETable ( int>.Dictionary DTEtable, int DTELen ) : int>.Dictionary
DTEtable int>.Dictionary
DTELen int
return int>.Dictionary

LoadTextFileBlock() public method

public LoadTextFileBlock ( StringReader blockStream ) : void
blockStream System.IO.StringReader
return void

OutputFile() public method

public OutputFile ( OutFiles type, string fileName, DialogueChoices choicesControl, int>.Dictionary DTEtable ) : void
type OutFiles
fileName string
choicesControl DialogueChoices
DTEtable int>.Dictionary
return void

SaveTextFileBlock() public method

public SaveTextFileBlock ( StreamWriter saveFileStream ) : void
saveFileStream System.IO.StreamWriter
return void