123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace FPER
- {
-
- public class cboitem
- {
- private object cboValue = null;
- private object cboText = null;
- public cboitem(object val, object txt)
- {
-
- this.cboValue = val;
- this.cboText = txt;
- }
- public object ValueObject
- {
- get
- {
- return this.cboValue;
- }
- }
- public String value
- {
- get
- {
- return this.cboValue.ToString();
- }
- }
- public String text
- {
- get
- {
- return this.cboText.ToString();
- }
- }
- public override string ToString()
- {
- if (this.cboValue == null) return "";
- else return this.cboValue.ToString();
-
- }
- }
- }
|