This is a fantastic solution that uses a generics. We use it all over our codebase.
Generic TryParse Extension methodGeneric TryParse Extension method
once you have that, then you can do...
this.GetProducts(this.CategoryComboBox.SelectedValue.TryParse<int>());