private void buttonOK_Click(object sender, EventArgs e)
{
if(this.listBoxFrequencies.SelectedItem != null)
{
if (this.channel != null)
{
string frequency = this.listBoxFrequencies.SelectedItem as string;
TransponderReader.PopulateChannelWithTransponderSettings(ref this.channel, frequency);
}
}
}