Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ComboBoxItem()
- {
- string displayValue;
- string hiddenValue;
- //Constructor
- public ComboBoxItem (string d, string h)
- {
- displayValue = d;
- hiddenValue = h;
- }
- //Accessor
- public string HiddenValue
- {
- get
- {
- return hiddenValue;
- }
- }
- //Override ToString method
- public override string ToString()
- {
- return displayValue;
- }
- }
Add Comment
Please, Sign In to add comment