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();
}