private void btnEnvIconFileLocation_Clicked(object sender, EventArgs e) { if (lstEnvAllEnvironments.SelectedIndex == -1) { return; } OpenFileDialogUtils.FindFile(txtEnvIconFileLocation, Constants.FileDialogFilters.IconFilesOnly); }
private void toolsDirectoryButton_Click(object sender, EventArgs e) { if (lstToolAllTools.SelectedIndex == -1) { return; } OpenFileDialogUtils.FindFile(txtToolFileLocation, Constants.FileDialogFilters.ExecutableFilesOnly); }