public void ShowOpenFileDialog() { if (openFileDialog.ShowDialog() == DialogResult.OK) { string filePath = openFileDialog.FileName; _presenter.OpenChosenFile(filePath); } }