예제 #1
0
 private void ButtonFindTextEndClick(object sender, EventArgs e)
 {
     using (var findSubtitle = new FindSubtitleLine())
     {
         findSubtitle.Initialize(_subtitle.Paragraphs, string.Empty);
         findSubtitle.ShowDialog();
         if (findSubtitle.SelectedIndex >= 0)
         {
             subtitleListView1.SelectIndexAndEnsureVisible(findSubtitle.SelectedIndex);
         }
     }
 }
예제 #2
0
 private void ButtonFindTextEndClick(object sender, EventArgs e)
 {
     using (var findSubtitle = new FindSubtitleLine())
     {
         findSubtitle.Initialize(_paragraphs, " " + "(" + _language.EndScene.ToLower() + ")");
         findSubtitle.ShowDialog();
         if (findSubtitle.SelectedIndex >= 0)
         {
             comboBoxEndTexts.SelectedIndex = findSubtitle.SelectedIndex;
         }
     }
 }
예제 #3
0
        private void ButtonFindTextStartClick(object sender, EventArgs e)
        {
            var findSubtitle = new FindSubtitleLine();

            findSubtitle.Initialize(_paragraphs, " " + "(" + _language.StartScene.ToLower() + ")");
            findSubtitle.ShowDialog();
            if (findSubtitle.SelectedIndex >= 0)
            {
                comboBoxStartTexts.SelectedIndex = findSubtitle.SelectedIndex;
            }
            findSubtitle.Dispose();
        }
예제 #4
0
 private void ButtonFindTextOtherClick(object sender, EventArgs e)
 {
     using (var findSubtitle = new FindSubtitleLine())
     {
         findSubtitle.Initialize(_otherSubtitle.Paragraphs, string.Empty);
         findSubtitle.ShowDialog();
         if (findSubtitle.SelectedIndex >= 0)
             subtitleListView2.SelectIndexAndEnsureVisible(findSubtitle.SelectedIndex);
     }
 }
예제 #5
0
 private void ButtonFindTextEndClick(object sender, EventArgs e)
 {
     var findSubtitle = new FindSubtitleLine();
     findSubtitle.Initialize(_paragraphs, " " + "(" + _language.EndScene.ToLower() + ")");
     findSubtitle.ShowDialog();
     if (findSubtitle.SelectedIndex >= 0)
     {
         comboBoxEndTexts.SelectedIndex = findSubtitle.SelectedIndex;
     }
     findSubtitle.Dispose();
 }
예제 #6
0
 private void ButtonFindTextStartClick(object sender, EventArgs e)
 {
     using (var findSubtitle = new FindSubtitleLine())
     {
         findSubtitle.Initialize(_paragraphs, " " + "(" + _language.StartScene.ToLower() + ")");
         findSubtitle.ShowDialog();
         if (findSubtitle.SelectedIndex >= 0)
         {
             comboBoxStartTexts.SelectedIndex = findSubtitle.SelectedIndex;
         }
     }
 }
예제 #7
0
 private void ButtonFindTextClick(object sender, EventArgs e)
 {
     var findSubtitle = new FindSubtitleLine();
     findSubtitle.Initialize(_subtitle.Paragraphs, string.Empty);
     findSubtitle.ShowDialog();
     if (findSubtitle.SelectedIndex >= 0)
         SubtitleListview1.SelectIndexAndEnsureVisible(findSubtitle.SelectedIndex);
 }