ホテル管理システム
ogi
yesterday 1a1c8e71fcd14858f595029f089b2d4a00202b32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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;
        }
    }
}