private void formatBox_SelectedIndexChanged(object sender, EventArgs e) { forwardToolStripMenuItem.Enabled = formatBox.SelectedIndex > -1; saveToFileToolStripMenuItem.Enabled = !FormatFactory.PatternRequired(FormatFactory.FormatsDictionary[formatBox.Text]); }