1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ProjectBase.Controls.Others
- {
- internal class CListItem
- {
- public CListItem(string text, string value)
- {
- this.text = text;
- this.value = value;
- }
- public CListItem(string text)
- {
- this.text = text;
- this.value = text;
- }
- private string text;
- private string value;
- public string Text
- {
- get { return text; }
- set { text = value; }
- }
- public string Value
- {
- get { return this.value; }
- set { this.value = value; }
- }
- public override string ToString()
- {
- return Text.ToString();
- }
- }
- }
|