root/trunk/BazaZamowien/Classes/BoundItem.cs @ 991

Wersja 710, 1.4 KB (wprowadzona przez dorota, 18 years temu)

baza zamowien i premii 1.0.0.1

Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace BazaZamowien.Classes
6{
7      class BoundItem
8        {
9
10                #region Fields (3) 
11
12            string displayMember;
13          int IDEvalue;
14            string stringValue;
15
16                #endregion Fields 
17
18                #region Constructors (2) 
19
20          public BoundItem(int IDE, string displayValue)
21          {
22              this.displayMember = displayValue;
23              this.IDEvalue = IDE;
24          }
25
26          public BoundItem(string stringValue, string displayValue)
27          {
28              this.displayMember = displayValue;
29              this.stringValue = stringValue;
30          }
31
32                #endregion Constructors 
33
34                #region Properties (3) 
35
36            public string DisplayMember
37            {
38                get { return displayMember; }
39                set { displayMember = value; }
40            }
41
42            public int IDEvalue1
43            {
44                get { return IDEvalue; }
45                set { IDEvalue = value; }
46            }
47
48            public string StringValue
49            {
50                get { return stringValue; }
51                set { stringValue = value; }
52            }
53
54                #endregion Properties 
55
56                #region Methods (1) 
57
58
59                // Public Methods (1) 
60
61          public override string ToString()
62          {
63              return displayMember;
64          }
65
66
67                #endregion Methods 
68
69        }
70}
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.