public CacheOptionsUserControl()
 {
     InitializeComponent();
     if (ControlsHelper.IsDesignMode(this))
     {
         return;
     }
     ControlsHelper.BindEnum <CacheFileFormat>(CacheAudioFormatComboBox, "{2}");
     CacheAudioChannelsComboBox.DataSource = (AudioChannel[])Enum.GetValues(typeof(AudioChannel));
     // Audio Sample Rate.
     CacheAudioSampleRateComboBox.DataSource = new int[] { 8000, 11025, 22050, 44100, 48000 };
     // Audio Bits Per Sample.
     CacheAudioBitsPerSampleComboBox.DataSource = new int[] { 8, 16, 24 };
     // 32 kbit/s – generally acceptable only for speech
     // 96 kbit/s – generally used for speech or low-quality streaming
     // 128 or 160 kbit/s – mid-range bitrate quality
     // 192 kbit/s – medium quality bitrate
     // 256 kbit/s – a commonly used high-quality bitrate
     // 320 kbit/s – highest level supported by the MP3 standard
     CacheAudioAverageBitsPerSecondComboBox.DataSource = new int[] { 32000, 64000, 96000, 128000, 192000, 256000, 320000 };
     // Block Alignment = Bytes per Sample x Number of Channels
     // For example, the block alignment value for 16-bit PCM format mono audio is 2 (2 bytes per sample x 1 channel). For 16-bit PCM format stereo audio, the block alignment value is 4.
     CacheAudioBlockAlignComboBox.DataSource = new int[] { 1, 2, 4 };
 }