/// <summary> /// Initializes a new instance of the <see cref="RadioWebStreamChannel"/> class. /// </summary> public RadioWebStreamChannel() { CountryCollection collection = new CountryCollection(); _country = collection.GetTunerCountryFromID(31); Name = String.Empty; Url = String.Empty; }
/// <summary> /// Initializes a new instance of the <see cref="AnalogChannel"/> class. /// </summary> public AnalogChannel() { CountryCollection collection = new CountryCollection(); _country = collection.GetTunerCountryFromID(31); TunerSource = TunerInputType.Cable; _videoInputType = VideoInputType.Tuner; _audioInputType = AudioInputType.Automatic; _channelNumber = 4; _isRadio = false; _vcrSginal = false; Name = String.Empty; }
public FormAnalogChannel() { _channel.Country = countries.GetTunerCountryFromID(31); _channel.ChannelNumber = 25; _channel.TunerSource = TunerInputType.Antenna; InitializeComponent(); comboBoxInput.SelectedIndex = 0; for (int i = 0; i < countries.Countries.Length; ++i) { comboBoxCountry.Items.Add(countries.Countries[i].Name); } comboBoxCountry.SelectedIndex = 0; }