BaconBuilder.View.MediaSelectionDialog.InitBasedOnContentType C# (CSharp) Method

InitBasedOnContentType() private method

private InitBasedOnContentType ( ) : void
return void
        private void InitBasedOnContentType()
        {
            lblImageLocation.Text = _contentType + @" Location:";
            Text = @"Select " + _contentType;

            comboBox1.Items.AddRange(new[]
                                     	{
                                     		"Insert " + _contentType.ToString().ToLower() + " before selction",
                                     		"Insert " + _contentType.ToString().ToLower() + " after selction",
                                     		"Replace selection with " + _contentType.ToString().ToLower()
                                     	});

            if (_contentType == ContentType.Image)
                _filter =
                    "All Image Files|*.bmp;*.gif;*.jpe;*.jpeg;*.jpg;*.png|Bitmap|*.bmp|GIF|*.gif|JPEG|*.jpe;*.jpeg;*.jpg|PNG|*.png";
            else
                _filter = "All Audio Files|*.mp3;*.ogg|MP3|*.mp3|Ogg|*.ogg";
        }