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); } } }
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; } } }
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(); }
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); } }
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(); }
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; } } }
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); }