using System;
|
using System.Collections.Generic;
|
using System.Text;
|
|
namespace HotelPms.Share.Windows.Component
|
{
|
public class ComboBoxItem
|
{
|
private string m_Key = string.Empty;
|
|
public string Key
|
{
|
get { return m_Key; }
|
set { m_Key = value; }
|
}
|
|
private string m_Text = string.Empty;
|
|
public string Text
|
{
|
get { return m_Text; }
|
set { m_Text = value; }
|
}
|
|
private object m_Tag = null;
|
|
public object Tag
|
{
|
get { return m_Tag; }
|
set { m_Tag = value; }
|
}
|
|
public ComboBoxItem(string key, string text)
|
{
|
this.m_Key = key;
|
this.m_Text = text;
|
}
|
|
public override string ToString()
|
{
|
return m_Text;
|
}
|
}
|
}
|