C# 클래스 Studyzy.LearnEnglishBySubtitle.Forms.MainForm

파일 보기 프로젝트 열기: studyzy/LearnEnglishBySubtitle

공개 메소드들

메소드 설명
MainForm ( ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
BaiduToolStripMenuItem_Click ( object sender, EventArgs e ) : void
BuildSubtitleFromGrid ( ) : Subtitle
GoogleToolStripMenuItem_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadConfig ( ) : void
MainForm_DragDrop ( object sender, DragEventArgs e ) : void
MainForm_DragEnter ( object sender, DragEventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
MicrosoftToolStripMenuItem_Click ( object sender, EventArgs e ) : void
PickNewWords ( ICollection subtitles ) : SubtitleWord>.IDictionary

找到字幕中的生词,先进行分词,然后取每个单词的原型,然后看每个单词是否认识,认识则跳过,不认识则注释。

PreviewToolStripMenuItem_Click ( object sender, EventArgs e ) : void
PronunciationSetupToolStripMenuItem_Click ( object sender, EventArgs e ) : void
ReadAndShowSubtitle ( ) : void
RemarkSubtitle ( IList words ) : void

在保存用户认识和不认识的词后将不认识的词传回来,对字幕进行注释

ReplaceSubtitleLineByVocabulary ( string line, SubtitleWord>.IDictionary words ) : string

将一个句子中的生词进行注释

SentenceTranslateToolStripMenuItem_Click ( object sender, EventArgs e ) : void
ShowMessage ( string message ) : void
ShowSubtitleText ( ICollection srts, bool withMean = false ) : void
ToolStripMenuItemAbount_Click ( object sender, EventArgs e ) : void
ToolStripMenuItemDictionaryConfig_Click ( object sender, EventArgs e ) : void
ToolStripMenuItemDonate_Click ( object sender, EventArgs e ) : void
ToolStripMenuItemFilterChinese_Click ( object sender, EventArgs e ) : void
ToolStripMenuItemHelp_Click ( object sender, EventArgs e ) : void
ToolStripMenuItemLastVersion_Click ( object sender, EventArgs e ) : void
ToolStripMenuItemMeanStyleConfig_Click ( object sender, EventArgs e ) : void
ToolStripMenuItemShortMean_Click ( object sender, EventArgs e ) : void
ToolStripMenuItemUserVocabularyConfig_Click ( object sender, EventArgs e ) : void
ToolStripMenuItemUserVocabularyMgt_Click ( object sender, EventArgs e ) : void
YoudaoToolStripMenuItem_Click ( object sender, EventArgs e ) : void
backgroundLoadDictionary_DoWork ( object sender, DoWorkEventArgs e ) : void
backgroundLoadDictionary_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
btnParse_Click ( object sender, EventArgs e ) : void
btnRemark_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
dgvSubtitleSentence_Resize ( object sender, EventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

MainForm() 공개 메소드

public MainForm ( ) : System
리턴 System