D
Daniel Mihaita
Hello there,
I need to code an object with two properties that binds dynamicaly,
something like bind comboboxes on web pages.
So my object needs to gave two properties Prop1 and Prop2. I need
Prop1 to take values from an enum (let's say value1 and value2), and
also Prop2 , depending on the enum selected (at DESIGN TIME) in Prop1,
to take values from two different enums. So if value1 is selected in
Prop1, Prop2 to have a combobox with values (1, 2, 3).But if value2 is
selected in Prop1, then you'll have to choose for Prop2 from values (4,
5, 6).
I'm kind a new with C#, so I'll just want some directions, please.
Regards,
Daniel
I need to code an object with two properties that binds dynamicaly,
something like bind comboboxes on web pages.
So my object needs to gave two properties Prop1 and Prop2. I need
Prop1 to take values from an enum (let's say value1 and value2), and
also Prop2 , depending on the enum selected (at DESIGN TIME) in Prop1,
to take values from two different enums. So if value1 is selected in
Prop1, Prop2 to have a combobox with values (1, 2, 3).But if value2 is
selected in Prop1, then you'll have to choose for Prop2 from values (4,
5, 6).
I'm kind a new with C#, so I'll just want some directions, please.
Regards,
Daniel