How to Programaticaly Limit the Options of an Enum in a ComboBox????

Hi Everybody

I have a Table with two columns. Both Columns are Enums. On the form when user changes selection in first column, I need to limit the no of options in second column based on user selection in first column. For example

when user selects first element in Column 1, Column 2 should allow (show) only two options i.e. Element 1 and 4

and

when user selects second element in Column 1, Column 2 should show only three options i.e. Element 1, 2 and 3

How this can be accomplished???

Thanks for the help in advance.

Take a look at the following 2 links for inspiration:

http://kashperuk.blogspot.com/2008/04/sysformenumcombobox-class-allowing-to.html

http://blogs.msdn.com/palle_agermark/archive/2005/06/30/434146.aspx