CodeTV.FrequencyEditorForm.buttonOK_Click C# (CSharp) Method

buttonOK_Click() private method

private buttonOK_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        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);
                }
            }
        }