private void btnTextEditor_Click(object sender, EventArgs e) { string translatedMessage1 = _translator.GetTranslatedMessage(_AppSettings.Language, 1, "Choose a text editor"); string translatedMessage2 = _translator.GetTranslatedMessage(_AppSettings.Language, 2, "Application executable (*.exe)|*.exe"); txtTextEditor.Text = _dialogsHelpers.OpenFile(translatedMessage1, string.Empty, translatedMessage2, string.Empty, txtTextEditor.Text); }
private void btnOpenGameEXE_Click(object sender, EventArgs e) { txtDosBoxExePath.Text = _dialogsHelpers.OpenFile(_translator.GetTranslatedMessage(_AppSettings.Language, 55, "Choose DOSBox Executable"), "dosbox.exe", _translator.GetTranslatedMessage(_AppSettings.Language, 2, "Application executable (*.exe)|*.exe"), string.Empty, txtDosBoxExePath.Text); }