BatchGuy.App.CreateX264BatchFileForm.HandleEncodeType C# (CSharp) Method

HandleEncodeType() private method

private HandleEncodeType ( string value ) : void
value string
return void
        private void HandleEncodeType(string value)
        {
            switch (value)
            {
                case "CRF":
                    this.EncodeType = EnumEncodeType.CRF;
                    break;
                case "2Pass":
                    this.EncodeType = EnumEncodeType.TwoPass;
                    break;
                default:
                    throw new Exception("Invalid Encode Type");
            }

            this.SetX264TemplateTextBox();
        }
CreateX264BatchFileForm